Skip to content
On this page

Patterns and Packs

Use this page to learn which patterns the analysis looks for, which pack provides each one, and what changes when both packs are installed. Threat Patterns runs every pattern pack installed on your platform: the agentic pack for systems that run AI agents, and the workload pack for cloud, Kubernetes and CI/CD workloads.

The four agentic patterns

PatternWhat it meansParts (legs) that must line upMakes it worse
Lethal trifecta (critical)Untrusted content can steer the agent into sending private data where the attacker reads itU untrusted content reaches the agent · P the agent can read private data · X the agent can transmit to where an outsider readsW the agent writes without approval
Credential chain (critical)A foothold in the agent stack reaches a credential that unlocks sensitive data or privileged actionsfoothold · reach the credential · unlock something with itweak credential
Injection to action (high)Untrusted content can trigger a write, destructive or code-execution action that nobody approvesuntrusted input · action tools · no gate (no approval)sensitive target · broad identity
Delegation hop (high)Untrusted content reaches an agent that hands the work, with its origin, to an agent holding the other legsuntrusted content at the delegator · origin carried to the delegate · delegate holds the restopen delegation

The level in brackets is the pattern's band. A Lethal trifecta can read lower, by its data: see How a trifecta's severity is read.

The required legs must all be present for a Confirmed finding. The legs under "Makes it worse" are aggravating: they make a finding worse, but never count toward it. See Confirmed and Not ruled out.

The workload pack

The workload pack looks for one pattern, Credential chain (critical), on workloads rather than agents: a foothold on a workload reaches a credential that unlocks sensitive data or privileged actions. For example:

  • a server-side request forgery (SSRF) in an application reaches the cloud metadata credentials, which unlock a storage bucket;
  • a poisoned CI runner reaches a deploy key, which unlocks production;
  • an exposed admin UI reaches a workload identity, which unlocks the cluster.

It needs no agent in the model. It needs Threat Patterns engine 0.1.13 or later: an older engine refuses it, and a notice above the tabs says so; see Packs the engine did not run.

Its findings show in a pattern group of their own on Findings, with the same legs as the agentic credential chain: foothold, reach the credential, unlock something with it, and weak credential, which makes it worse. Hover over a leg to read what it means in this pack. Its techniques are MITRE ATT&CK ones, so its findings count under the MITRE tactics on By item. It has no OWASP list: on the OWASP lists and the sheet's strip, its findings count among those with no reference in the list.

Footholds

A foothold is a way in named after an exposure of the element's class (the platform need not have raised it), opened by the answers on the element. Each foothold is one of three kinds, and each kind reaches something different:

FootholdFor exampleReaches
Code runs thereCommand injection, unsafe deserialization, a known remote-code-execution flawWhat the element holds or sends, what sits in the same runtime, what the boundaries and hosts around it hold (its shared space), and a credential endpoint that serves it
Unauthenticated admin surfaceAn admin API or management UI open without a loginWhat the element holds or sends. No code runs, so not what sits beside it
Forged request (SSRF)An application that fetches any address it is givenOnly a cloud credential endpoint that serves the element. Not a credential the element stores or sends

From a code or admin foothold, the chain can go one hop further: a credential it reaches unlocks an element that holds the next one. A forged request goes no further than its first hop.

A workload that decrypts a secret at run time keeps it in memory, and code running in the same runtime can usually read it there unless an enclave is used, so that reach is reported.

The classes that carry footholds, and what the workload pack asks you to answer and draw, are in the modelling checklist. What it does not see yet is in Limits.

With both packs installed

Both packs look for credential chains, so a credential can be raised by each. It is reported once: the stronger finding stays (Confirmed over Not ruled out), and on a tie the agentic pack's. The other pack's chain on that credential is not shown.

  • Facts to establish. The other pack's open questions on the credential still appear unless the finding shown is Confirmed. A credential with no finding in either pack is listed once, with the questions of both packs.
  • Paths and fixes. Only the shown finding's paths and fixes appear.
  • How a fix is judged. A fix is judged with both packs, so it reads breaks this finding alone only when, once it is applied, each pack's chain on the credential misses a required leg. Where the other pack's chain stays open but is not raised, the fix clears the finding. When the shown finding's own chain misses a required leg once the fix is applied, the line reads "clears it here" and names the other chain; see What a fix's line says.

When a finding moves packs. When a later answer makes the other pack's chain the stronger one, the finding moves to that pack. A risk you linked to the earlier finding then reads no longer found by Threat Patterns. Open Threat Patterns, add the finding that now reports the credential to the risk, and unlink the earlier one.

Back to top

Type to search every guide. Put a phrase in quotes to match it exactly, such as an error message. Use ↑ ↓ to move and Enter to open.

Guides