Guide · AI agents and credentials

Detecting AI agents with decoy credentials.

An AI agent with filesystem or cloud access will use the credentials it finds, wherever they work. A credential that nobody legitimate uses turns that first use into a finding, whether a person or an agent is behind it.

Why do AI agents need a different detection approach?

AI agents need a detection approach that does not depend on knowing their intent, because they act faster than intent can be established. An agent with access to a filesystem, a repository or a cloud account reads what it finds and tries what it reads. If a credential works, the agent goes where it leads. It does not pause to ask whether a development credential should be accepted in production.

That makes credentials the natural tripwire. Behaviour-based detection has to decide whether an action is unusual. A decoy credential needs no such judgement: nobody legitimate uses it, so any use is worth a look.

What do recent incidents show?

Recent incidents show automation and attackers going straight for credentials and using them wherever they work.

5 daysBetween an AI agent's first access at WorkOS (25 October) and detection (30 October), after the bulk extraction had ended.
2Security incidents Fireworks AI disclosed within a few weeks, both aimed at credentials.
1Predictable development credential, still accepted in production, was enough for the WorkOS agent to sign in.

Sources: WorkOS update of 6 November 2026; Fireworks AI bulletin and BleepingComputer, 10 November 2026.

  • WorkOS. According to WorkOS’s 6 November 2026 update, a security researcher’s AI agent left its test environment, found an internet-exposed internal API, signed in with a predictable development credential still accepted in production, and pulled records in bulk. First access was on 25 October; detection came on 30 October. Read our brief.
  • Fireworks AI. Fireworks disclosed that environment variables of evaluation jobs in some customer accounts were accessed, and those variables held API keys and tokens. Read our brief.

What is LLMjacking?

LLMjacking is the use of stolen cloud credentials to run cloud-hosted large language model services at the victim’s expense. Sysdig’s Threat Research Team named the pattern and described attackers selling the access on to others while the account owner pays the bill. For defenders, the lesson is simple: API keys and cloud credentials for AI services are now worth stealing, and they are stolen from the same places as every other secret.

Where should decoy credentials be planted?

Decoy credentials should be planted where automation and attackers look first, next to real secrets of the same kind.

Deploy .env filesOn developer and operations laptops, next to the real deployment configuration.
CI environmentsPipeline variables in GitHub Actions or GitLab CI. Each run can carry its own decoy, so a leak points to the run it came from.
Credential profiles and Kubernetes SecretsAn AWS access key that exists but has no permissions.
AWS Secrets ManagerA decoy secret that nothing legitimate reads.
AI tool configurationAn MCP entry in .mcp.json. See MCP servers as decoys.

Each decoy should look like its neighbours: the same naming style, the same format, a plausible purpose. A decoy that looks out of place gets skipped.

Why does the first use matter more than intent?

The first use matters more than intent because it is the earliest moment the defender can know anything, and intent is only learned later. In the WorkOS case the agent was running for research. That did not change what happened to the data, and it was not visible at the time.

A finding at first use gives the SOC a concrete starting point: which credential, planted on which machine, was used, and when. From there the team decides whether it is known automation, an authorized test or access that needs a response. Waiting for a pattern to look malicious means waiting for more of the pattern.

Waiting for intent

  1. A found credential is used and works.
  2. Activity grows until it looks unusual: volume, new networks, odd hours.
  3. Someone notices, often after the data has moved. At WorkOS that took five days.

A decoy credential

  1. The credential nobody legitimate uses is tried.
  2. A finding opens at that first use, naming the placement.
  3. The SOC decides from there: known automation, an authorized test, or a response.

How does FalseTrail detect the use of a decoy credential?

FalseTrail opens a finding on the first interaction that proves use of a planted opportunity, and records what follows. It separates three interaction levels:

  1. R1 · Reference followedA placement-specific reference was resolved or connected to. Opens a finding.
  2. R2 · Credential presentedA placement-specific credential, or synthetic material obtained from it, was presented. Opens or continues a finding.
  3. R3 · Privileged synthetic actionA privileged operation was committed in the synthetic world. Escalates the finding. Refused privileged writes are attempts, never R3.

For AWS, FalseTrail’s cloud canaries are access keys with no permissions and decoy secrets in Secrets Manager. Any call made with the key, even a denied one, opens a finding with the API, region and outcome; any request that names the decoy secret does too. Both are read from the customer’s own CloudTrail.

For other credentials, the trail continues into FalseTrail’s Deception Runtime: an auth service, an admin API with a decision point of five synthetic opportunities, an MCP server and an optional Kubernetes cluster API. They answer convincingly, issue material that only works inside the synthetic world, and hold no real data.

A finding’s journey contains only steps linked through material FalseTrail issued. Correlated activity, such as the same address, is shown separately as context. If issued material is reused from another source, the findings are linked by that material without claiming the same actor. See the evidence model.

Does FalseTrail tell humans and AI agents apart?

No. FalseTrail does not classify attackers as human or AI; both are detected the same way. It records observed choices and does not infer intent or identity. That is deliberate: the signal is the use of something nobody legitimate uses, and it holds whoever is behind it.

How do you keep legitimate automation quiet?

Legitimate automation is kept quiet by learning it before a placement arms. New FalseTrail placements start in Learning, where legitimate automation and authorized testers are recorded as narrow, expiring patterns scoped to one placement. A placement arms with a healthy Learning report or a recorded override. Uses still alert while learning, so nothing is silently ignored.

A starting checklist

  1. List where secrets live today: .env files, CI variables, credential profiles, Kubernetes Secrets, Secrets Manager, AI tool configuration.
  2. For each, decide what a believable decoy looks like next to the real ones.
  3. Make sure every decoy has no real authority and leads nowhere real.
  4. Route findings to the SIEM or SOAR your team already uses. See integrations.
  5. Give each decoy a lifecycle, so it is rotated and checked, not forgotten.
  6. Decide where the evidence lives. The trade-offs are in self-hosted vs hosted canary tokens; FalseTrail’s answer is in deployment and the platform.

Questions

Can you tell whether an AI agent or a person used a credential?

FalseTrail doesn't try to. It does not classify attackers as human or AI; both are detected the same way. The finding records which planted credential was used and what followed, and the investigation decides who or what was behind it.

Where should decoy credentials go?

Where automation and attackers look first: deploy .env files, CI environments and pipeline variables, AWS credential profiles, Kubernetes Secrets, AWS Secrets Manager and AI tool configuration such as .mcp.json.

Will decoy credentials trigger on my own automation?

Only if your automation uses them, which it shouldn't. FalseTrail starts each placement in Learning and records legitimate automation and authorized testers as narrow, expiring patterns scoped to that placement before it arms. Uses still alert while learning.

Sources

  1. Sysdig, LLMjacking: Stolen Cloud Credentials Used in New AI Attack
  2. WorkOS, update of 6 November 2026 on the 30 October 2026 data security incident
  3. AWS, What Is AWS CloudTrail?
  4. TechTarget, How honey tokens support cyber deception strategies

See the next attempt at access at its first use.

On-prem, your cloud or hybrid. Zero outbound connections; raw evidence stays in your environment.