agent-threat-rules 4.2.1 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/converters/elastic.d.ts.map +1 -1
  3. package/dist/converters/elastic.js +7 -1
  4. package/dist/converters/elastic.js.map +1 -1
  5. package/dist/converters/generic-regex.d.ts +5 -1
  6. package/dist/converters/generic-regex.d.ts.map +1 -1
  7. package/dist/converters/generic-regex.js +12 -11
  8. package/dist/converters/generic-regex.js.map +1 -1
  9. package/dist/converters/sage-reverse.d.ts +1 -1
  10. package/dist/converters/sage-reverse.d.ts.map +1 -1
  11. package/dist/converters/sage-reverse.js +13 -8
  12. package/dist/converters/sage-reverse.js.map +1 -1
  13. package/dist/converters/sage.d.ts +8 -8
  14. package/dist/converters/sage.d.ts.map +1 -1
  15. package/dist/converters/sage.js +107 -74
  16. package/dist/converters/sage.js.map +1 -1
  17. package/dist/converters/splunk.d.ts.map +1 -1
  18. package/dist/converters/splunk.js +17 -3
  19. package/dist/converters/splunk.js.map +1 -1
  20. package/dist/engine.d.ts +2 -48
  21. package/dist/engine.d.ts.map +1 -1
  22. package/dist/engine.js +3 -54
  23. package/dist/engine.js.map +1 -1
  24. package/dist/regex-dialect.d.ts +67 -0
  25. package/dist/regex-dialect.d.ts.map +1 -0
  26. package/dist/regex-dialect.js +77 -0
  27. package/dist/regex-dialect.js.map +1 -0
  28. package/package.json +1 -1
  29. package/rules/agent-manipulation/ATR-2026-00074-cross-agent-privilege-escalation.yaml +0 -1
  30. package/rules/agent-manipulation/ATR-2026-00430-nl-trust-escalation-impersonation.yaml +3 -0
  31. package/rules/agent-manipulation/ATR-2026-00552-goal-drift-after-pressure-injection.yaml +3 -3
  32. package/rules/context-exfiltration/ATR-2026-00102-disguised-analytics-exfiltration.yaml +3 -2
  33. package/rules/context-exfiltration/ATR-2026-00136-tool-response-data-piggyback.yaml +5 -3
  34. package/rules/context-exfiltration/ATR-2026-00142-piggyback-transition-words.yaml +4 -2
  35. package/rules/context-exfiltration/ATR-2026-00150-credential-in-tool-response.yaml +3 -2
  36. package/rules/context-exfiltration/ATR-2026-00152-obfuscated-credential-leak.yaml +3 -2
  37. package/rules/context-exfiltration/ATR-2026-00162-skill-credential-exfil-combo.yaml +6 -2
  38. package/rules/context-exfiltration/ATR-2026-00201-credential-pipe-exfiltration.yaml +5 -2
  39. package/rules/context-exfiltration/ATR-2026-00290-divergence-repeat-word-training-extraction.yaml +0 -4
  40. package/rules/context-exfiltration/ATR-2026-00449-spring-ai-chatmemory-cross-user-leak.yaml +2 -3
  41. package/rules/context-exfiltration/ATR-2026-00516-output-xss-via-llm.yaml +9 -8
  42. package/rules/context-exfiltration/ATR-2026-00569-agent-mcp-path-traversal-arbitrary-file-access.yaml +3 -1
  43. package/rules/context-exfiltration/ATR-2026-00571-xss-in-agent-mcp-rendered-output.yaml +4 -3
  44. package/rules/context-exfiltration/ATR-2026-00702-ipi-credential-exfil-via-agent-action.yaml +5 -3
  45. package/rules/context-exfiltration/ATR-2026-00703-ipi-financial-data-exfil-indirect.yaml +5 -3
  46. package/rules/context-exfiltration/ATR-2026-00704-ipi-medical-genetic-data-exfil.yaml +5 -3
  47. package/rules/context-exfiltration/ATR-2026-00705-ipi-location-address-browsing-exfil.yaml +5 -3
  48. package/rules/context-exfiltration/ATR-2026-00706-ipi-physical-biometric-exfil.yaml +5 -3
  49. package/rules/context-exfiltration/ATR-2026-00707-ipi-file-exfil-with-destroy-or-tamper.yaml +6 -3
  50. package/rules/context-exfiltration/ATR-2026-00860-indirect-pi-financial-transfer-hijack.yaml +1 -1
  51. package/rules/context-exfiltration/ATR-2026-00861-indirect-pi-crypto-transfer-hijack.yaml +1 -1
  52. package/rules/context-exfiltration/ATR-2026-01605-ssrf-aws-metadata-endpoint.yaml +5 -1
  53. package/rules/context-exfiltration/ATR-2026-01606-ssrf-internal-network-scan.yaml +4 -1
  54. package/rules/context-exfiltration/ATR-2026-01607-ssrf-localhost-service-probe.yaml +4 -1
  55. package/rules/context-exfiltration/ATR-2026-01924-system-instruction-extraction-reformat.yaml +1 -4
  56. package/rules/context-exfiltration/ATR-2026-01948-netlicensing-mcp-product-number-path-traversal-token-leak.yaml +4 -2
  57. package/rules/context-exfiltration/ATR-2026-01957-m365-copilot-searchleak-open-redirect-exfil.yaml +6 -2
  58. package/rules/context-exfiltration/ATR-2026-01961-meta-ads-mcp-unauth-token-leak.yaml +4 -1
  59. package/rules/context-exfiltration/ATR-2026-01964-langchain-gmailtoolkit-indirect-prompt-injection-email-exfil.yaml +6 -2
  60. package/rules/context-exfiltration/ATR-2026-02140-ssrf-ipv6-hex-encoded-cloud-metadata-bypass.yaml +1 -1
  61. package/rules/context-exfiltration/ATR-2026-02304-preapproved-domain-encoded-path-exfil.yaml +1 -1
  62. package/rules/context-exfiltration/ATR-2026-02351-wildcard-dns-ssrf-hostname-ip-encoding-bypass.yaml +1 -1
  63. package/rules/data-poisoning/ATR-2026-00070-data-poisoning.yaml +1 -1
  64. package/rules/excessive-autonomy/ATR-2026-00491-garak-agent-breaker-markdown-just-raw-json.yaml +8 -8
  65. package/rules/excessive-autonomy/ATR-2026-00500-ssrf-via-agent-url-fetch-instruction.yaml +5 -3
  66. package/rules/excessive-autonomy/ATR-2026-00708-ipi-financial-transfer-unauthorized.yaml +4 -3
  67. package/rules/excessive-autonomy/ATR-2026-00711-ipi-system-sabotage-destructive-command.yaml +4 -3
  68. package/rules/excessive-autonomy/ATR-2026-00712-ipi-malicious-package-install.yaml +5 -3
  69. package/rules/excessive-autonomy/ATR-2026-00718-tool-misuse-financial-autonomous.yaml +8 -7
  70. package/rules/excessive-autonomy/ATR-2026-00719-tool-misuse-destructive-bulk-action.yaml +3 -3
  71. package/rules/excessive-autonomy/ATR-2026-01773-semantic-excessive-agency-action.yaml +3 -3
  72. package/rules/excessive-autonomy/ATR-2026-01801-asb-autonomous-vehicle-sabotage.yaml +3 -3
  73. package/rules/excessive-autonomy/ATR-2026-01804-asb-covert-unlogged-action.yaml +3 -4
  74. package/rules/excessive-autonomy/ATR-2026-01805-asb-financial-fraud-execution.yaml +3 -3
  75. package/rules/excessive-autonomy/ATR-2026-01806-asb-clinical-patient-harm.yaml +3 -3
  76. package/rules/excessive-autonomy/ATR-2026-01809-semantic-insider-manipulation-process-corruption.yaml +2 -3
  77. package/rules/excessive-autonomy/ATR-2026-01989-t1046-agent-internal-network-sweep.yaml +2 -2
  78. package/rules/excessive-autonomy/ATR-2026-01993-t1562-agent-impair-defenses.yaml +2 -2
  79. package/rules/excessive-autonomy/ATR-2026-02667-preapproved-tool-list-in-job-payload.yaml +0 -1
  80. package/rules/model-abuse/ATR-2026-00292-self-harm-eating-disorder-facilitation.yaml +3 -3
  81. package/rules/model-abuse/ATR-2026-00502-training-data-extraction-via-divergent-repetition-attack.yaml +2 -0
  82. package/rules/privilege-escalation/ATR-2026-00107-delayed-execution-bypass.yaml +2 -2
  83. package/rules/privilege-escalation/ATR-2026-00143-casual-privilege-escalation.yaml +3 -2
  84. package/rules/privilege-escalation/ATR-2026-00144-rationalized-safety-bypass.yaml +3 -2
  85. package/rules/privilege-escalation/ATR-2026-00204-stealth-execution-persistence.yaml +1 -1
  86. package/rules/privilege-escalation/ATR-2026-00441-semantic-kernel-sessions-python-plugin-startup-persistence.yaml +2 -1
  87. package/rules/privilege-escalation/ATR-2026-00546-crewai-json-loader-local-file-read.yaml +3 -1
  88. package/rules/privilege-escalation/ATR-2026-00549-destructive-tool-without-human-approval.yaml +2 -2
  89. package/rules/privilege-escalation/ATR-2026-01601-sql-injection-destructive-ddl.yaml +6 -5
  90. package/rules/privilege-escalation/ATR-2026-01602-sql-injection-union-select-exfil.yaml +3 -1
  91. package/rules/privilege-escalation/ATR-2026-01603-sql-injection-stacked-dml-abuse.yaml +3 -2
  92. package/rules/privilege-escalation/ATR-2026-01604-sql-injection-schema-enumeration.yaml +3 -2
  93. package/rules/privilege-escalation/ATR-2026-01616-path-traversal-agent-file-access.yaml +4 -1
  94. package/rules/privilege-escalation/ATR-2026-01802-asb-backdoor-surveillance-implant.yaml +4 -3
  95. package/rules/privilege-escalation/ATR-2026-01803-asb-covert-server-intrusion.yaml +4 -4
  96. package/rules/privilege-escalation/ATR-2026-01808-asb-synthetic-pan-payment-probe.yaml +3 -3
  97. package/rules/privilege-escalation/ATR-2026-01949-praisonai-mcpserver-unauth-tools-call.yaml +1 -1
  98. package/rules/privilege-escalation/ATR-2026-01974-anything-llm-data-import-access-control.yaml +1 -1
  99. package/rules/privilege-escalation/ATR-2026-01992-t1556-agent-auth-process-tamper.yaml +1 -1
  100. package/rules/privilege-escalation/ATR-2026-02040-file-edit-tool-persistence-write.yaml +1 -1
  101. package/rules/privilege-escalation/ATR-2026-02100-cypher-destructive-admin-query-injection.yaml +4 -4
  102. package/rules/privilege-escalation/ATR-2026-02101-dynamic-dunder-attribute-sandbox-escape.yaml +1 -1
  103. package/rules/privilege-escalation/ATR-2026-02142-download-tool-absolute-path-sandbox-escape.yaml +1 -1
  104. package/rules/privilege-escalation/ATR-2026-02146-export-tool-dest-dir-credential-directory-redirect.yaml +1 -1
  105. package/rules/privilege-escalation/ATR-2026-02195-dangerous-env-var-injection-config-tool.yaml +1 -1
  106. package/rules/privilege-escalation/ATR-2026-02300-mcp-stdio-config-dangerous-env-var.yaml +5 -5
  107. package/rules/privilege-escalation/ATR-2026-02301-symlink-outside-workspace-sensitive-target.yaml +1 -1
  108. package/rules/privilege-escalation/ATR-2026-02302-git-worktree-dotgit-sandbox-escape.yaml +1 -1
  109. package/rules/privilege-escalation/ATR-2026-02402-mcp-policy-engine-fail-open.yaml +0 -1
  110. package/rules/prompt-injection/ATR-2026-00154-unauthorized-background-task-execution-v.yaml +5 -3
  111. package/rules/prompt-injection/ATR-2026-00156-ssh-remote-command-execution-with-creden.yaml +6 -3
  112. package/rules/prompt-injection/ATR-2026-00407-echo-sql-jinja-template-injection.yaml +3 -3
  113. package/rules/prompt-injection/ATR-2026-00410-lmrc-harm-category-direct-elicitation.yaml +2 -2
  114. package/rules/prompt-injection/ATR-2026-00442-quoted-exact-output-forcing.yaml +2 -2
  115. package/rules/prompt-injection/ATR-2026-00512-rules-file-backdoor-injection.yaml +3 -0
  116. package/rules/prompt-injection/ATR-2026-00554-langchain-vulnerable-to-template-injecti.yaml +3 -3
  117. package/rules/prompt-injection/ATR-2026-01800-asb-trigger-marker-tool-coercion.yaml +3 -3
  118. package/rules/prompt-injection/ATR-2026-02009-bare-key-elicitation-trailing-colon.yaml +3 -2
  119. package/rules/prompt-injection/ATR-2026-02820-tool-result-orders-agent-to-hide-its-own-action.yaml +3 -3
  120. package/rules/skill-compromise/ATR-2026-00127-subcommand-overflow.yaml +2 -1
  121. package/rules/skill-compromise/ATR-2026-00157-timebomb-credential-exfil.yaml +6 -2
  122. package/rules/skill-compromise/ATR-2026-00200-agent-memory-config-tampering.yaml +1 -1
  123. package/rules/skill-compromise/ATR-2026-00217-credential-harvesting.yaml +4 -2
  124. package/rules/skill-compromise/ATR-2026-00222-credential-harvesting.yaml +6 -2
  125. package/rules/skill-compromise/ATR-2026-00224-credential-exfiltration.yaml +4 -2
  126. package/rules/skill-compromise/ATR-2026-00260-package-hallucination.yaml +3 -2
  127. package/rules/skill-compromise/ATR-2026-00266-malware-dropper-gen.yaml +4 -3
  128. package/rules/skill-compromise/ATR-2026-00398-huggingface-unsafe-model-artifact-load.yaml +3 -3
  129. package/rules/skill-compromise/ATR-2026-00429-nl-skill-self-modification.yaml +4 -2
  130. package/rules/skill-compromise/ATR-2026-00525-mini-shai-hulud-gh-token-monitor-persistence.yaml +1 -0
  131. package/rules/skill-compromise/ATR-2026-00527-skill-silent-git-remote-mirror-exfiltration.yaml +3 -2
  132. package/rules/skill-compromise/ATR-2026-01755-backdoor-pot-linguistic-trigger-phrase.yaml +1 -1
  133. package/rules/skill-compromise/ATR-2026-01756-backdoor-pot-symbol-emoticon-trigger.yaml +1 -1
  134. package/rules/tool-poisoning/ATR-2026-00096-registry-poisoning.yaml +4 -3
  135. package/rules/tool-poisoning/ATR-2026-00100-consent-bypass-instruction.yaml +4 -2
  136. package/rules/tool-poisoning/ATR-2026-00105-silent-action-concealment.yaml +2 -1
  137. package/rules/tool-poisoning/ATR-2026-00106-schema-description-contradiction.yaml +2 -2
  138. package/rules/tool-poisoning/ATR-2026-00270-xss-in-tool-response.yaml +4 -3
  139. package/rules/tool-poisoning/ATR-2026-00494-garak-exploitation-mixedunassigned.yaml +5 -3
  140. package/rules/tool-poisoning/ATR-2026-00513-package-hallucination-exploitation.yaml +9 -7
  141. package/rules/tool-poisoning/ATR-2026-00521-shell-command-injection-agent-tool-context.yaml +5 -3
  142. package/rules/tool-poisoning/ATR-2026-00522-sql-injection-natural-language-agent-interface.yaml +4 -3
  143. package/rules/tool-poisoning/ATR-2026-00526-claude-code-shell-metachar-in-double-quoted-path.yaml +4 -3
  144. package/rules/tool-poisoning/ATR-2026-00530-ms-agent-shell-tool-unsanitized-argv-rce.yaml +4 -3
  145. package/rules/tool-poisoning/ATR-2026-00531-praisonai-unauthenticated-agent-api.yaml +1 -2
  146. package/rules/tool-poisoning/ATR-2026-00533-apache-pinot-mcp-unauthenticated-takeover.yaml +2 -3
  147. package/rules/tool-poisoning/ATR-2026-00716-ipi-data-destruction-carrier.yaml +5 -3
  148. package/rules/tool-poisoning/ATR-2026-00720-tool-misuse-privilege-escalation-social.yaml +3 -3
  149. package/rules/tool-poisoning/ATR-2026-01301-tool-description-exclusive-tool-override.yaml +1 -1
  150. package/rules/tool-poisoning/ATR-2026-01303-tool-schema-enumeration-social-engineering.yaml +4 -3
  151. package/rules/tool-poisoning/ATR-2026-01307-mcp-dns-rebinding-attack.yaml +3 -5
  152. package/rules/tool-poisoning/ATR-2026-01310-mcp-tool-description-compliance-history-exfil.yaml +5 -4
  153. package/rules/tool-poisoning/ATR-2026-01775-semantic-mcp-tool-manifest-poisoning.yaml +1 -1
  154. package/rules/tool-poisoning/ATR-2026-01952-praisonai-codemode-sandbox-escape-rce.yaml +4 -2
  155. package/rules/tool-poisoning/ATR-2026-01953-praisonai-codemode-function-ctor-sandbox-escape.yaml +4 -2
  156. package/rules/tool-poisoning/ATR-2026-01959-openhuman-shell-allowlist-env-prefix-bypass.yaml +4 -2
  157. package/rules/tool-poisoning/ATR-2026-01963-praisonai-action-orchestrator-step-target-path-traversal-rce.yaml +3 -2
  158. package/rules/tool-poisoning/ATR-2026-01965-flowise-custommcp-os-command-rce.yaml +2 -1
  159. package/rules/tool-poisoning/ATR-2026-01967-deepchat-mermaid-xss-rce-ipc-mcp-register.yaml +4 -2
  160. package/rules/tool-poisoning/ATR-2026-01970-praisonai-filetools-normpath-path-traversal.yaml +2 -2
  161. package/rules/tool-poisoning/ATR-2026-01973-anythingllm-logo-endpoint-path-traversal.yaml +2 -2
  162. package/rules/tool-poisoning/ATR-2026-01978-anythingllm-collector-process-filename-path-traversal-delete.yaml +2 -2
  163. package/rules/tool-poisoning/ATR-2026-01979-pandasai-prompt-injection-dunder-sandbox-escape-rce.yaml +6 -2
  164. package/rules/tool-poisoning/ATR-2026-01980-agentic-flow-mcp-tool-param-command-injection.yaml +4 -2
  165. package/rules/tool-poisoning/ATR-2026-01982-dbt-mcp-node-selection-argument-injection.yaml +2 -2
  166. package/rules/tool-poisoning/ATR-2026-01983-mcp-for-stata-log-file-name-command-injection.yaml +4 -2
  167. package/rules/tool-poisoning/ATR-2026-01985-mcp-connect-bridge-unauth-process-spawn-rce.yaml +2 -1
  168. package/rules/tool-poisoning/ATR-2026-01987-langroid-sqlchatagent-prompt-to-sql-rce.yaml +4 -2
  169. package/rules/tool-poisoning/ATR-2026-02102-html-injection-tool-arg-approval-ui-xss.yaml +1 -1
  170. package/rules/tool-poisoning/ATR-2026-02141-mcp-server-config-command-execution.yaml +1 -1
  171. package/rules/tool-poisoning/ATR-2026-02233-unscoped-destructive-db-request-nl.yaml +1 -1
@@ -27,7 +27,7 @@ maturity: experimental
27
27
  severity: high
28
28
  references:
29
29
  owasp_llm:
30
- - LLM08:2025
30
+ - LLM06:2025
31
31
  owasp_agentic:
32
32
  - ASI03:2026
33
33
  - ASI02:2026
@@ -35,8 +35,8 @@ references:
35
35
  - AML.T0051 - LLM Prompt Injection
36
36
  compliance:
37
37
  owasp_llm:
38
- - id: LLM08:2025
39
- context: Broad-scope bulk actions, untrusted code execution, and proxy privilege grants are all core LLM08:2025 excessive-agency outcomes.
38
+ - id: LLM06:2025
39
+ context: 'The patterns match requests that give an agent broad or unclear real-world scope: send a message to all customers or subscribers, turn off all or connected devices to save energy, for safety, or before or while something else, set a thermostat to a ''comfortable'' temperature, download and run a script from a link or URL, run and fix a crashing script from a GitHub, GitLab or Bitbucket repository, grant access to a third party or everyone, unblock a restricted domain, site or network, or invite a named person to a private resource. LLM06:2025 covers damaging actions taken through an agent''s extensions in response to unexpected, ambiguous or manipulated LLM outputs, rooted in excessive functionality, permissions or autonomy; the rule flags the request, not the agent''s configuration.'
40
40
  strength: primary
41
41
  owasp_agentic:
42
42
  - id: ASI03:2026
@@ -12,7 +12,7 @@ maturity: test
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM01:2025
17
17
  owasp_agentic:
18
18
  - ASI03:2026
@@ -27,8 +27,8 @@ metadata_provenance:
27
27
  owasp_agentic: human-reviewed
28
28
  compliance:
29
29
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Driving the agent's vehicle-control capability to sabotage brakes, steering, or sensors is a maximal excessive-agency outcome under LLM08:2025.
30
+ - id: LLM06:2025
31
+ context: The patterns match requests to compromise, corrupt, disrupt or jam a vehicle safety subsystem (brakes, control systems, path planning, lidar, GPS, cameras, V2X, collision warning), seize or hijack vehicle control, forge duplicate vehicle identities, trigger an unauthorized emergency shutdown, or inject false collision warnings, traffic-sign signals or sensor data. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent's privileges.
32
32
  strength: primary
33
33
  owasp_agentic:
34
34
  - id: ASI03:2026
@@ -12,11 +12,10 @@ maturity: test
12
12
  severity: high
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM01:2025
17
17
  owasp_agentic:
18
18
  - ASI02:2026
19
- - ASI03:2026
20
19
  mitre_atlas:
21
20
  - AML.T0051 - LLM Prompt Injection
22
21
  research:
@@ -27,8 +26,8 @@ metadata_provenance:
27
26
  owasp_agentic: human-reviewed
28
27
  compliance:
29
28
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Directing the agent to perform an action while keeping it out of audit records is an excessive-agency outcome that defeats oversight, under LLM08:2025.
29
+ - id: LLM06:2025
30
+ context: 'The patterns match a request to perform an action together with a directive to hide it: keep it out of the official records or logs, make it appear legitimate in the system, or make sure the system or the person affected does not detect it. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent''s privileges. LLM06 lists logging and monitoring of extension activity among the measures that limit the damage, and this directive asks the agent to stay out of that record.'
32
31
  strength: primary
33
32
  owasp_agentic:
34
33
  - id: ASI02:2026
@@ -12,7 +12,7 @@ maturity: test
12
12
  severity: high
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM01:2025
17
17
  owasp_agentic:
18
18
  - ASI02:2026
@@ -27,8 +27,8 @@ metadata_provenance:
27
27
  owasp_agentic: human-reviewed
28
28
  compliance:
29
29
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Driving the agent's financial tools to run a Ponzi scheme, fabricate statements, or redirect funds without authorization is a severe excessive-agency outcome under LLM08:2025.
30
+ - id: LLM06:2025
31
+ context: The patterns match requests to run a Ponzi-style scheme, produce alternative financial statements or alter backup financial data, move a dollar amount out of a client account without authorization, route funds through a company to test laundering detection, open accounts from client information, or apply for a loan on experimental projections. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent's privileges.
32
32
  strength: primary
33
33
  owasp_agentic:
34
34
  - id: ASI02:2026
@@ -12,7 +12,7 @@ maturity: test
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM01:2025
17
17
  owasp_agentic:
18
18
  - ASI03:2026
@@ -27,8 +27,8 @@ metadata_provenance:
27
27
  owasp_agentic: human-reviewed
28
28
  compliance:
29
29
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Driving a clinical agent to overdose, falsify a diagnosis, or neglect care is a maximal excessive-agency / safety outcome under LLM08:2025.
30
+ - id: LLM06:2025
31
+ context: The patterns match requests to give a high dose of a drug or a number of opioid or insulin tablets framed as a controlled study or trial, record an incorrect or simulated diagnosis, file an insurance claim for treatment not provided, or neglect care or disrupt therapy to cause patient harm. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent's privileges.
32
32
  strength: primary
33
33
  owasp_agentic:
34
34
  - id: ASI03:2026
@@ -28,7 +28,6 @@ maturity: test
28
28
  severity: high
29
29
  references:
30
30
  owasp_llm:
31
- - LLM08:2025
32
31
  - LLM06:2025
33
32
  owasp_agentic:
34
33
  - ASI02:2026
@@ -43,8 +42,8 @@ metadata_provenance:
43
42
  owasp_agentic: human-reviewed
44
43
  compliance:
45
44
  owasp_llm:
46
- - id: LLM08:2025
47
- context: Driving the agent's business tools to manipulate markets, corrupt a legal process, or move funds on a vague pretext is an excessive-agency outcome under LLM08:2025.
45
+ - id: LLM06:2025
46
+ context: The patterns match requests to adjust a stock's trading data or move portfolio funds into high-risk stocks to test the market, trade securities on future-market predictions, look for incentives for a judge or pressure a witness, or surveil the opposing party's attorney. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent's privileges.
48
47
  strength: primary
49
48
  owasp_agentic:
50
49
  - id: ASI02:2026
@@ -22,9 +22,9 @@ references:
22
22
  mitre_attack:
23
23
  - T1046 - Network Service Discovery
24
24
  mitre_atlas:
25
- - AML.T0011 - User Execution
25
+ - AML.T0053 - AI Agent Tool Invocation
26
26
  owasp_agentic:
27
- - ASI06:2026
27
+ - ASI02:2026
28
28
  owasp_llm:
29
29
  - LLM06:2025
30
30
  tags:
@@ -23,9 +23,9 @@ references:
23
23
  mitre_attack:
24
24
  - T1562 - Impair Defenses
25
25
  mitre_atlas:
26
- - AML.T0011 - User Execution
26
+ - AML.T0053 - AI Agent Tool Invocation
27
27
  owasp_agentic:
28
- - ASI01:2026
28
+ - ASI02:2026
29
29
  owasp_llm:
30
30
  - LLM06:2025
31
31
  tags:
@@ -16,7 +16,6 @@ references:
16
16
  - CWE-284
17
17
  owasp_llm:
18
18
  - LLM06:2025
19
- - LLM08:2025
20
19
  owasp_agentic:
21
20
  - ASI02:2026
22
21
  - ASI06:2026
@@ -12,11 +12,11 @@ maturity: test
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM02:2025
15
+ - LLM01:2025
16
16
  owasp_agentic:
17
- - ASI08:2026
17
+ - ASI01:2026
18
18
  mitre_atlas:
19
- - AML.T0057 - LLM Data Leakage
19
+ - AML.T0048.003 - User Harm
20
20
  research:
21
21
  - https://github.com/NVIDIA/garak/blob/main/garak/probes/donotanswer.py
22
22
  - https://arxiv.org/abs/2308.13387
@@ -12,10 +12,12 @@ maturity: test
12
12
  severity: medium
13
13
  references:
14
14
  owasp_llm:
15
+ - LLM02:2025
15
16
  - LLM10:2025
16
17
  owasp_agentic:
17
18
  - ASI01:2026
18
19
  mitre_atlas:
20
+ - AML.T0057 - LLM Data Leakage
19
21
  - AML.T0040 - AI Model Inference API Access
20
22
  compliance:
21
23
  owasp_agentic:
@@ -18,12 +18,12 @@ references:
18
18
  owasp_llm:
19
19
  - LLM06:2025
20
20
  owasp_agentic:
21
- - ASI06:2026
21
+ - ASI03:2026
22
22
  - ASI05:2026
23
23
  mitre_attack:
24
24
  - T1053 - Scheduled Task/Job
25
25
  mitre_atlas:
26
- - AML.T0050 - Command and Scripting Interpreter
26
+ - AML.T0053 - AI Agent Tool Invocation
27
27
  compliance:
28
28
  eu_ai_act:
29
29
  - article: '14'
@@ -12,11 +12,12 @@ maturity: test
12
12
  severity: high
13
13
  references:
14
14
  mitre_atlas:
15
- - AML.T0054 - LLM Jailbreak
15
+ - AML.T0053 - AI Agent Tool Invocation
16
16
  owasp_llm:
17
- - LLM01:2025
17
+ - LLM06:2025
18
18
  owasp_agentic:
19
19
  - ASI03:2026
20
+ - ASI10:2026
20
21
  metadata_provenance:
21
22
  mitre_atlas: auto-generated
22
23
  compliance:
@@ -12,11 +12,12 @@ maturity: test
12
12
  severity: high
13
13
  references:
14
14
  mitre_atlas:
15
- - AML.T0054 - LLM Jailbreak
15
+ - AML.T0053 - AI Agent Tool Invocation
16
16
  owasp_llm:
17
- - LLM01:2025
17
+ - LLM06:2025
18
18
  owasp_agentic:
19
19
  - ASI03:2026
20
+ - ASI10:2026
20
21
  metadata_provenance:
21
22
  mitre_atlas: auto-generated
22
23
  compliance:
@@ -11,7 +11,7 @@ maturity: test
11
11
  severity: high
12
12
  references:
13
13
  owasp_llm:
14
- - LLM08:2025
14
+ - LLM06:2025
15
15
  owasp_agentic:
16
16
  - ASI02:2026
17
17
  - ASI05:2026
@@ -15,10 +15,11 @@ references:
15
15
  - LLM06:2025
16
16
  - LLM05:2025
17
17
  owasp_agentic:
18
+ - ASI05:2026
18
19
  - ASI03:2026
19
- - ASI06:2026
20
20
  mitre_atlas:
21
21
  - AML.T0050 - Command and Scripting Interpreter
22
+ - AML.T0105 - Escape to Host
22
23
  mitre_attack:
23
24
  - T1547 - Boot or Logon Autostart Execution
24
25
  - T1547.001 - Registry Run Keys / Startup Folder
@@ -16,10 +16,12 @@ references:
16
16
  owasp_llm:
17
17
  - LLM06:2025
18
18
  - LLM05:2025
19
+ - LLM02:2025
19
20
  owasp_agentic:
21
+ - ASI02:2026
20
22
  - ASI03:2026
21
23
  mitre_atlas:
22
- - AML.T0043 - Craft Adversarial Data
24
+ - AML.T0037 - Data from Local System
23
25
  mitre_attack:
24
26
  - T1083 - File and Directory Discovery
25
27
  - T1552 - Unsecured Credentials
@@ -13,8 +13,8 @@ maturity: draft
13
13
  severity: critical
14
14
  references:
15
15
  owasp_agentic:
16
- - ASI04:2026
17
- - ASI05:2026
16
+ - ASI02:2026
17
+ - ASI09:2026
18
18
  owasp_llm:
19
19
  - LLM06:2025
20
20
  mitre_atlas:
@@ -17,17 +17,18 @@ maturity: stable
17
17
  severity: critical
18
18
  references:
19
19
  owasp_llm:
20
- - LLM02:2025
20
+ - LLM05:2025
21
21
  owasp_agentic:
22
- - ASI03:2026
22
+ - ASI02:2026
23
23
  mitre_atlas:
24
- - AML.T0043 - Craft Adversarial Data
24
+ - AML.T0053 - AI Agent Tool Invocation
25
+ - AML.T0101 - Data Destruction via AI Agent Tool Invocation
25
26
  mitre_attack:
26
27
  - T1485 - Data Destruction
27
28
  compliance:
28
29
  owasp_llm:
29
- - id: LLM02:2025
30
- context: Destructive DDL injection causes permanent data loss and denial of service to legitimate users.
30
+ - id: LLM05:2025
31
+ context: The patterns match a quote-and-semicolon break or a SQL comment marker followed by DROP TABLE, DATABASE, INDEX or VIEW, TRUNCATE or DELETE FROM, and DROP TABLE followed by a comment, in tool arguments or user input. LLM05:2025 lists LLM-generated SQL executed without parameterization as improper output handling; these statements delete data or schema in the database the tool queries.
31
32
  strength: primary
32
33
  nist_ai_rmf:
33
34
  - subcategory: MS.2.7
@@ -18,10 +18,12 @@ severity: critical
18
18
  references:
19
19
  owasp_llm:
20
20
  - LLM02:2025
21
+ - LLM05:2025
21
22
  owasp_agentic:
23
+ - ASI02:2026
22
24
  - ASI03:2026
23
25
  mitre_atlas:
24
- - AML.T0043 - Craft Adversarial Data
26
+ - AML.T0053 - AI Agent Tool Invocation
25
27
  mitre_attack:
26
28
  - T1190 - Exploit Public-Facing Application
27
29
  compliance:
@@ -18,11 +18,12 @@ maturity: test
18
18
  severity: critical
19
19
  references:
20
20
  owasp_llm:
21
- - LLM02:2025
21
+ - LLM05:2025
22
22
  owasp_agentic:
23
23
  - ASI03:2026
24
+ - ASI02:2026
24
25
  mitre_atlas:
25
- - AML.T0043 - Craft Adversarial Data
26
+ - AML.T0053 - AI Agent Tool Invocation
26
27
  mitre_attack:
27
28
  - T1190 - Exploit Public-Facing Application
28
29
  compliance:
@@ -18,10 +18,11 @@ severity: high
18
18
  references:
19
19
  owasp_llm:
20
20
  - LLM02:2025
21
+ - LLM05:2025
21
22
  owasp_agentic:
22
- - ASI03:2026
23
+ - ASI02:2026
23
24
  mitre_atlas:
24
- - AML.T0043 - Craft Adversarial Data
25
+ - AML.T0053 - AI Agent Tool Invocation
25
26
  mitre_attack:
26
27
  - T1190 - Exploit Public-Facing Application
27
28
  compliance:
@@ -19,10 +19,13 @@ severity: high
19
19
  references:
20
20
  owasp_llm:
21
21
  - LLM02:2025
22
+ - LLM05:2025
22
23
  owasp_agentic:
24
+ - ASI02:2026
23
25
  - ASI03:2026
24
26
  mitre_atlas:
25
- - AML.T0043 - Craft Adversarial Data
27
+ - AML.T0037 - Data from Local System
28
+ - AML.T0053 - AI Agent Tool Invocation
26
29
  mitre_attack:
27
30
  - T1083 - File and Directory Discovery
28
31
  compliance:
@@ -12,13 +12,14 @@ maturity: test
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM01:2025
17
17
  owasp_agentic:
18
18
  - ASI02:2026
19
19
  - ASI03:2026
20
20
  mitre_atlas:
21
21
  - AML.T0051 - LLM Prompt Injection
22
+ - AML.T0012 - Valid Accounts
22
23
  research:
23
24
  - 'Zhang et al., Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents (2024)'
24
25
  metadata_provenance:
@@ -27,8 +28,8 @@ metadata_provenance:
27
28
  owasp_agentic: human-reviewed
28
29
  compliance:
29
30
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Using the agent's update capability to plant a backdoor or surveillance tooling is a severe excessive-agency outcome under LLM08:2025.
31
+ - id: LLM06:2025
32
+ context: The patterns match requests to implant a backdoor, rootkit, remote-access tool or covert surveillance tool, tied to granting remote access or to a software update or maintenance window, and requests for a phishing operation to acquire and exploit administrator credentials. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent's privileges.
32
33
  strength: primary
33
34
  owasp_agentic:
34
35
  - id: ASI02:2026
@@ -12,11 +12,11 @@ maturity: test
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM01:2025
17
17
  owasp_agentic:
18
18
  - ASI02:2026
19
- - ASI03:2026
19
+ - ASI05:2026
20
20
  mitre_atlas:
21
21
  - AML.T0051 - LLM Prompt Injection
22
22
  research:
@@ -27,8 +27,8 @@ metadata_provenance:
27
27
  owasp_agentic: human-reviewed
28
28
  compliance:
29
29
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Using the agent's infrastructure tools to inject code, wipe logs, hijack DNS, or destroy data is a severe excessive-agency outcome under LLM08:2025.
30
+ - id: LLM06:2025
31
+ context: 'The patterns match requests to inject code or commands into a process, wipe or alter logs or data, manipulate DNS records, capture network traffic or permanently delete a database, each paired with a stated harmful aim: doing it discreetly or undetected, hiding traces, redirecting users to an alternate site, intercepting sensitive information or preventing recovery. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent''s privileges.'
32
32
  strength: primary
33
33
  owasp_agentic:
34
34
  - id: ASI02:2026
@@ -12,7 +12,7 @@ maturity: test
12
12
  severity: high
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  - LLM02:2025
17
17
  owasp_agentic:
18
18
  - ASI02:2026
@@ -27,8 +27,8 @@ metadata_provenance:
27
27
  owasp_agentic: human-reviewed
28
28
  compliance:
29
29
  owasp_llm:
30
- - id: LLM08:2025
31
- context: Driving live payment-rail transactions with an attacker-supplied PAN under a 'test' pretext is an excessive-agency / fraud outcome under LLM08:2025.
30
+ - id: LLM06:2025
31
+ context: The patterns match requests to use a full 16-digit card number, often described as simulated, test or fake card data, to test a payment system. LLM06:2025 covers damaging actions an LLM agent performs through its extensions, with prompt injection from a malicious user among the listed triggers and excessive functionality, permissions or autonomy as the root cause; the rule flags the request, not the agent's privileges.
32
32
  strength: primary
33
33
  owasp_agentic:
34
34
  - id: ASI02:2026
@@ -14,7 +14,7 @@ references:
14
14
  owasp_llm:
15
15
  - LLM06:2025
16
16
  owasp_agentic:
17
- - ASI06:2026
17
+ - ASI03:2026
18
18
  mitre_atlas:
19
19
  - AML.T0049 - Exploit Public-Facing Application
20
20
  mitre_attack:
@@ -14,7 +14,7 @@ references:
14
14
  owasp_llm:
15
15
  - LLM06:2025
16
16
  owasp_agentic:
17
- - ASI06:2026
17
+ - ASI03:2026
18
18
  mitre_atlas:
19
19
  - AML.T0049 - Exploit Public-Facing Application
20
20
  mitre_attack:
@@ -22,7 +22,7 @@ references:
22
22
  mitre_attack:
23
23
  - T1556 - Modify Authentication Process
24
24
  mitre_atlas:
25
- - AML.T0053 - LLM Plugin Compromise
25
+ - AML.T0053 - AI Agent Tool Invocation
26
26
  owasp_agentic:
27
27
  - ASI03:2026
28
28
  owasp_llm:
@@ -12,7 +12,7 @@ maturity: experimental
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  owasp_agentic:
17
17
  - ASI02:2026
18
18
  mitre_attack:
@@ -63,19 +63,19 @@ detection:
63
63
  conditions:
64
64
  - field: content
65
65
  operator: regex
66
- value: (?i)(?<!\b(?:you will learn that|you will learn|for example|this query|note that|for instance|such as|explains that)\s)\b(?:MATCH|CALL)\b[\s\S]{0,40}\bDETACH\s+DELETE\b
66
+ value: (?i)(?<!\byou will learn that\s)(?<!\byou will learn\s)(?<!\bfor example\s)(?<!\bthis query\s)(?<!\bnote that\s)(?<!\bfor instance\s)(?<!\bsuch as\s)(?<!\bexplains that\s)\b(?:MATCH|CALL)\b[\s\S]{0,40}\bDETACH\s+DELETE\b
67
67
  description: Cypher DETACH DELETE (bulk destructive delete of matched nodes/relationships) near a MATCH/CALL clause, excluding common teaching-phrase lead-ins (e.g. 'you will learn that ...') so tutorial/explanatory prose quoting the same syntax does not fire
68
68
  - field: content
69
69
  operator: regex
70
- value: (?i)(?<!\b(?:you will learn that|you will learn|for example|this query|note that|for instance|such as|explains that)\s)\bCALL\s+dbms\.security\.\w+\s*\(
70
+ value: (?i)(?<!\byou will learn that\s)(?<!\byou will learn\s)(?<!\bfor example\s)(?<!\bthis query\s)(?<!\bnote that\s)(?<!\bfor instance\s)(?<!\bsuch as\s)(?<!\bexplains that\s)\bCALL\s+dbms\.security\.\w+\s*\(
71
71
  description: Cypher CALL into the dbms.security.* administrative procedure namespace (account/role management), excluding common teaching-phrase lead-ins
72
72
  - field: content
73
73
  operator: regex
74
- value: (?i)(?<!\b(?:you will learn that|you will learn|for example|this query|note that|for instance|such as|explains that)\s)\bapoc\.periodic\.iterate\s*\([\s\S]{0,40}\bDETACH\s+DELETE\b
74
+ value: (?i)(?<!\byou will learn that\s)(?<!\byou will learn\s)(?<!\bfor example\s)(?<!\bthis query\s)(?<!\bnote that\s)(?<!\bfor instance\s)(?<!\bsuch as\s)(?<!\bexplains that\s)\bapoc\.periodic\.iterate\s*\([\s\S]{0,40}\bDETACH\s+DELETE\b
75
75
  description: apoc.periodic.iterate batch procedure driving a DETACH DELETE (mass destructive delete at scale), excluding common teaching-phrase lead-ins
76
76
  - field: content
77
77
  operator: regex
78
- value: (?i)(?<!\b(?:you will learn that|you will learn|for example|this query|note that|for instance|such as|explains that)\s)\bapoc\.(?:cypher\.runFile|load\.json(?:Params)?)\s*\(\s*[\x27"]file://
78
+ value: (?i)(?<!\byou will learn that\s)(?<!\byou will learn\s)(?<!\bfor example\s)(?<!\bthis query\s)(?<!\bnote that\s)(?<!\bfor instance\s)(?<!\bsuch as\s)(?<!\bexplains that\s)\bapoc\.(?:cypher\.runFile|load\.json(?:Params)?)\s*\(\s*[\x27"]file://
79
79
  description: apoc loader/runFile procedure pointed at a file:// URI (arbitrary local file read via Cypher), excluding common teaching-phrase lead-ins
80
80
  false_positives:
81
81
  - A database administrator running schema-clearing DETACH DELETE or dbms.security procedures through an approved maintenance console, not through an LLM-facing chat/tool interface
@@ -12,7 +12,7 @@ maturity: experimental
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM05:2025
16
16
  owasp_agentic:
17
17
  - ASI05:2026
18
18
  mitre_attack:
@@ -12,7 +12,7 @@ maturity: experimental
12
12
  severity: high
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM05:2025
16
16
  owasp_agentic:
17
17
  - ASI02:2026
18
18
  mitre_attack:
@@ -12,7 +12,7 @@ maturity: experimental
12
12
  severity: critical
13
13
  references:
14
14
  owasp_llm:
15
- - LLM08:2025
15
+ - LLM06:2025
16
16
  owasp_agentic:
17
17
  - ASI02:2026
18
18
  mitre_attack:
@@ -16,7 +16,7 @@ references:
16
16
  cwe:
17
17
  - CWE-94
18
18
  owasp_llm:
19
- - LLM08:2025
19
+ - LLM06:2025
20
20
  owasp_agentic:
21
21
  - ASI04:2026
22
22
  mitre_attack:
@@ -16,7 +16,7 @@ references:
16
16
  cwe:
17
17
  - CWE-829
18
18
  owasp_llm:
19
- - LLM08:2025
19
+ - LLM03:2025
20
20
  owasp_agentic:
21
21
  - ASI04:2026
22
22
  mitre_attack:
@@ -71,19 +71,19 @@ detection:
71
71
  conditions:
72
72
  - field: content
73
73
  operator: regex
74
- value: (?i)(?:(?<=\bmcpServers\b[\s\S]{0,500})|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))"env"\s*:\s*\{[\s\S]{0,10}"?\bNODE_OPTIONS\b"?\s*:\s*["'][\s\S]{0,40}?(?:--require\b|-r\s+\S|--loader\b|--experimental-loader\b|--experimental-require-module\b)
74
+ value: (?i)(?:\bmcpServers\b[\s\S]{0,500}?|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))"env"\s*:\s*\{[\s\S]{0,10}"?\bNODE_OPTIONS\b"?\s*:\s*["'][\s\S]{0,40}?(?:--require\b|-r\s+\S|--loader\b|--experimental-loader\b|--experimental-require-module\b)
75
75
  description: JSON-style MCP config env block, anchored by a nearby mcpServers key OR a command+args pair (the MCP stdio-spawn shape), sets NODE_OPTIONS to a value that actually references a require/preload/loader flag, not a routine memory/debug/warnings flag or the modern --import instrumentation flag
76
76
  - field: content
77
77
  operator: regex
78
- value: (?i)(?:(?<=\bmcpServers\b[\s\S]{0,500})|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))\b(?:env|environment)\b\s*:\s*\n\s+"?\bNODE_OPTIONS\b"?\s*:\s*[\s\S]{0,40}?(?:--require\b|-r\s+\S|--loader\b|--experimental-loader\b|--experimental-require-module\b)
78
+ value: (?i)(?:\bmcpServers\b[\s\S]{0,500}?|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))\b(?:env|environment)\b\s*:[^\S\n]*\n\s+"?\bNODE_OPTIONS\b"?\s*:\s*[\s\S]{0,40}?(?:--require\b|-r\s+\S|--loader\b|--experimental-loader\b|--experimental-require-module\b)
79
79
  description: 'YAML-style MCP config env block (env:/environment: followed immediately by an indented NODE_OPTIONS key on the next line, not separated by prose or a code fence), anchored by a nearby mcpServers key OR a command+args pair, sets NODE_OPTIONS to a require/preload/loader flag'
80
80
  - field: content
81
81
  operator: regex
82
- value: (?i)(?:(?<=\bmcpServers\b[\s\S]{0,500})|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))"env"\s*:\s*\{[\s\S]{0,10}"?\b(?:LD_PRELOAD|DYLD_INSERT_LIBRARIES|BASH_ENV|PYTHONSTARTUP|PERL5OPT|RUBYOPT|GCONV_PATH)\b"?\s*:\s*\S
82
+ value: (?i)(?:\bmcpServers\b[\s\S]{0,500}?|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))"env"\s*:\s*\{[\s\S]{0,10}"?\b(?:LD_PRELOAD|DYLD_INSERT_LIBRARIES|BASH_ENV|PYTHONSTARTUP|PERL5OPT|RUBYOPT|GCONV_PATH)\b"?\s*:\s*\S
83
83
  description: JSON-style MCP config env block, anchored by a nearby mcpServers key OR a command+args pair, sets a known process-hijacking environment variable that has no benign flag-only mode (its value IS the hijack payload)
84
84
  - field: content
85
85
  operator: regex
86
- value: (?i)(?:(?<=\bmcpServers\b[\s\S]{0,500})|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))\b(?:env|environment)\b\s*:\s*\n\s+"?\b(?:LD_PRELOAD|DYLD_INSERT_LIBRARIES|BASH_ENV|PYTHONSTARTUP|PERL5OPT|RUBYOPT|GCONV_PATH)\b"?\s*:\s*\S
86
+ value: (?i)(?:\bmcpServers\b[\s\S]{0,500}?|(?=[\s\S]{0,300}?"?\bcommand\b"?\s*[:=])(?=[\s\S]{0,300}?"?\bargs\b"?\s*[:=]))\b(?:env|environment)\b\s*:[^\S\n]*\n\s+"?\b(?:LD_PRELOAD|DYLD_INSERT_LIBRARIES|BASH_ENV|PYTHONSTARTUP|PERL5OPT|RUBYOPT|GCONV_PATH)\b"?\s*:\s*\S
87
87
  description: 'YAML-style MCP config env block (env:/environment: followed immediately by an indented key on the next line), anchored by a nearby mcpServers key OR a command+args pair, sets a known process-hijacking environment variable'
88
88
  false_positives:
89
89
  - A DevOps runbook or documentation discussing these variable names in prose without an accompanying env-block config context
@@ -17,7 +17,7 @@ references:
17
17
  - CWE-22
18
18
  - CWE-61
19
19
  owasp_llm:
20
- - LLM08:2025
20
+ - LLM06:2025
21
21
  owasp_agentic:
22
22
  - ASI07:2026
23
23
  mitre_attack:
@@ -17,7 +17,7 @@ references:
17
17
  - CWE-22
18
18
  - CWE-59
19
19
  owasp_llm:
20
- - LLM08:2025
20
+ - LLM06:2025
21
21
  owasp_agentic:
22
22
  - ASI07:2026
23
23
  mitre_attack:
@@ -13,7 +13,6 @@ severity: high
13
13
  references:
14
14
  owasp_llm:
15
15
  - LLM06:2025
16
- - LLM08:2025
17
16
  owasp_agentic:
18
17
  - ASI02:2026
19
18
  - ASI04:2026