Inside an AI-Assisted Cyber Attack: How an Attacker Used an LLM to Breach an AI Company

MOXFIVE incident responders confirmed an attacker used an LLM to speed up each step of an intrusion, abusing identities for LLMjacking.

Andrew Kopcienski
Principal Intelligence Analyst
Field Notes
December 2026

Key Findings:

  • About two weeks of active intrusion across cloud, code repositories, build pipelines, data warehouse and developer tooling
  • Retries within seconds of each block
  • At least 16 distinct identity takeover and credential harvesting methods
  • 770 credential rows published to a public repository
  • 42 AI provider keys harvested
  • No malware deployed

AI-assisted cyber attacks use large language models to speed up intrusion work such as rewriting failed code, searching for credentials, and pivoting around blocks. In a 2026 MOXFIVE incident response investigation, an attacker ran an LLM-assisted intrusion against an AI company, abusing identities to establish dozens of persistence methods, most likely to enable LLMjacking.

AI-assisted attacks have become alarmingly common. In 2026, MOXFIVE incident responders confirmed with high confidence that a sophisticated actor used an LLM to make its intrusion faster and more effective. The likely goal of the LLM-assisted intrusion was LLMjacking, a tactic in which an attacker gains illicit access to enterprise AI and sells that access on gray markets at a reduced cost.

How fast do AI-assisted attacks move?

Over roughly two weeks of active intrusion, the attacker worked across the company's cloud platform, code repositories, CI/CD build pipelines, data warehouse and developer tooling. Many of its moves finished in seconds or minutes, often right after a security control blocked it. These are the fastest techniques we documented.

  • 2.6 seconds to route around branch protection. Branch protection stopped a direct change to a code repository. The attacker created a new branch 2.6 seconds later and pushed from there instead.
  • 12 minutes to mint a cloud token out of a build workflow. From that branch, the attacker cycled through five versions of a build workflow, fixing the token configuration each time, until one minted a live cloud access token for a deployment identity. It downloaded 27 build artifacts and deleted the branch about 12 minutes after it started.
  • 30 seconds to pivot around a blocked firewall rule. Organization policy blocked three firewall rules that would have opened SSH to the internet. Within 30 seconds, the attacker opened other ports that the policy didn't cover, then added an SSH rule limited to its own address and labeled it a "security assessment."
  • 30 seconds to rewrite failed code. When an attempt to run code failed, a revised version arrived about 30 seconds later, built around the specific error. We saw that pattern repeat throughout the intrusion, and it is a large part of why we assess the intrusion as LLM-assisted.
  • 6 minutes to fill a credential search. The attacker ran pattern searches across the company's aggregated logs for API key formats from more than half a dozen providers. Six minutes in, one search for a single provider's keys hit its own 150-row limit.
  • 14 minutes to harvest secrets from every container on a node. A script-driven session in a cloud development environment queried an unauthenticated node service, read the environment variables of every container on the node, saved the keys it found, and replayed two of them against neighboring workloads. It finished in 14 minutes, then repeated the routine the next day on a fresh node.
  • 15 minutes to publish the secrets store. Fifteen minutes after its first activity in a session, the attacker wrote a 598-row dump of the company's cloud secrets store to a public code repository. Within five hours, the repository held 770 rows of credentials.
  • 32 minutes to issue and test a brand-new API key (reported). According to the AI model provider involved, a key the company created during containment was tested by the attacker's key checker 32 minutes later. It was used from attacker-linked hosting within about three and a half hours.
  • 70 minutes to tap production data. Using a hijacked service account, the attacker created 38 subscriptions on production messaging topics, giving itself a live copy of production evaluation data as it flowed.
  • 71 minutes, 106 queries, self-corrected. In its largest data-warehouse session, the attacker ran 106 query jobs, fixing its own SQL errors one by one until it pulled eight live, unrevoked API keys. Across the intrusion, it mined 5,381 rows of log data in 70 separate searches.

None of these steps is new on its own. The difference is how quickly the next attempt followed each block, and how rarely it repeated the attempt that had just failed. Defenses that rely on a person noticing the first failure have very little time to act.

How did the attacker take over identities without malware?

The attacker deployed no malware. It became a series of identities the company already trusted: human accounts, service accounts, API keys and the tokens that link cloud systems together. We documented at least 16 distinct ways it took over identities or harvested credentials.

Accounts and logins

The attacker operated at least nine developer accounts on the code platform through stolen personal access tokens. One was an admin-scoped token that had shown automated activity for months. In a single burst, it tested 10 more stolen tokens. Days into the response, the client's security team saw the same attacker network take over a newly created user account.

The attacker touched at least one super-administrator account, and that account had to be rebuilt. A production email template had been changed to send verified email addresses to an attacker-controlled endpoint. The database behind it held plaintext passwords, password-reset data and one-time sign-in links.

Weeks after the last successful activity, the attacker was still trying every day to sign in with credentials that were valid. Network controls blocked those attempts, not credential revocation.

Credentials and secrets

Direct reads from the secrets store were denied 2,669 times. One service account with access across projects still disclosed 301 secrets. The attacker pushed 770 credential rows, from the secrets store and from build and container environments, into a public code repository it controlled. Pattern searches for API keys from more than half a dozen providers covered thousands of log rows, and direct queries reached tables of stored API keys. The model provider identified 42 harvested keys. Several were replacements the company had created during rotation, and the attacker took each within about a day. A key embedded in code let the attacker call hosted AI models on another cloud provider.

‍

Tokens, service accounts and signing material

A modified workflow dumped its environment, exposing a browser-extension signing credential, a cloud service-account key and a package-registry token. The attacker hex-encoded the output so the platform's secret masking wouldn't catch it.

A change committed to one repository sent credentials to the attacker each time the build server ran, bypassing branch protection. A pull request added a script that ran during package installation and sent credentials to the attacker's repository. It authenticated with an access token encoded to slip past secret scanning.

By abusing the trust between the code platform and the cloud provider, the attacker minted a live cloud token for a deployment identity and used it to run three cloud jobs. The attacker operated about 11 cloud service accounts, from the default compute identity to evaluation and deployment accounts. Weeks into the response, it pulled a container's service-account token from the cloud metadata service. Endpoint protection blocked the attempt to send that token out, but we still had to treat it as exposed.

A missing authorization check in an internal tool registry let the attacker point a trusted server entry at its own infrastructure. For four days, the backend sent it seed data and access-token headers. The attacker also took a signing credential for the company's browser extension, but the record shows no theft of TLS or other certificates. The pressure came from tokens and keys, which are easier to use and far more numerous.

How to defend against AI-assisted attacks

Most of the cleanup was identity work, and that is where it went wrong. Rotating a secret does not revoke the tokens already issued from it. Secrets marked as remediated had never been rotated where they were issued. A replacement key was compromised within an hour. With this many machine identities in play, containment depends on knowing every identity, where each one's credentials live, and what each can mint, and on being able to revoke all of them at once.

To defend against an LLM-assisted intrusion, assume the attacker will retry within seconds of every block. Based on this investigation, defenders need to be able to:

  • Inventory every identity, human and machine, and where each credential lives.
  • Know what each identity can mint. Trust links like code platform to cloud mint tokens with no stored key.
  • Revoke issued tokens, not just rotate secrets. Rotation doesn’t invalidate tokens already issued.
  • Verify rotation where credentials are issued. Some secrets marked remediated never were.
  • Revoke everything at once. Network blocks aren’t revocation.
  • Close policy gaps. The firewall policy blocked three rules and missed the others.

Speed and identity reinforce each other. An attacker that adapts in seconds needs only one stale token, one over-permissioned service account or one unprotected branch. Defenders have to close all of them, and in the same window.

Related articles