agent-threat-rules 3.5.5 → 3.5.6

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 (33) hide show
  1. package/package.json +3 -2
  2. package/rules/agent-manipulation/ATR-2026-00032-goal-hijacking.yaml +1 -1
  3. package/rules/context-exfiltration/ATR-2026-00201-credential-pipe-exfiltration.yaml +1 -1
  4. package/rules/context-exfiltration/ATR-2026-00524-claude-code-anthropic-base-url-credential-exfil.yaml +1 -1
  5. package/rules/context-exfiltration/ATR-2026-00566-librechat-is-a-chatgpt-clone-with-additi.yaml +1 -1
  6. package/rules/context-exfiltration/ATR-2026-00569-agent-mcp-path-traversal-arbitrary-file-access.yaml +1 -1
  7. package/rules/context-exfiltration/ATR-2026-00571-xss-in-agent-mcp-rendered-output.yaml +1 -1
  8. package/rules/context-exfiltration/ATR-2026-00574-semantic-paraphrased-context-extraction.yaml +1 -1
  9. package/rules/data-poisoning/ATR-2026-00570-sql-injection-in-agent-tool-query.yaml +1 -1
  10. package/rules/excessive-autonomy/ATR-2026-00051-resource-exhaustion.yaml +1 -1
  11. package/rules/privilege-escalation/ATR-2026-00040-privilege-escalation.yaml +0 -33
  12. package/rules/privilege-escalation/ATR-2026-00204-stealth-execution-persistence.yaml +1 -1
  13. package/rules/privilege-escalation/ATR-2026-00539-crewai-codeinterpreter-sandbox-escape-rce.yaml +1 -1
  14. package/rules/privilege-escalation/ATR-2026-00546-crewai-json-loader-local-file-read.yaml +1 -1
  15. package/rules/privilege-escalation/ATR-2026-00547-crewai-rag-url-ssrf-bypass.yaml +1 -1
  16. package/rules/prompt-injection/ATR-2026-00003-jailbreak-attempt.yaml +1 -1
  17. package/rules/prompt-injection/ATR-2026-00005-multi-turn-injection.yaml +1 -1
  18. package/rules/prompt-injection/ATR-2026-00203-context-pollution-skill-description.yaml +1 -1
  19. package/rules/prompt-injection/ATR-2026-00535-windsurf-ide-zero-click-prompt-injection.yaml +1 -1
  20. package/rules/prompt-injection/ATR-2026-00554-langchain-vulnerable-to-template-injecti.yaml +1 -1
  21. package/rules/prompt-injection/ATR-2026-00565-the-llm-cli-tool-thru-0-27-1-contains-a-.yaml +1 -1
  22. package/rules/prompt-injection/ATR-2026-00573-semantic-paraphrased-injection.yaml +1 -1
  23. package/rules/skill-compromise/ATR-2026-00060-skill-impersonation.yaml +0 -4
  24. package/rules/skill-compromise/ATR-2026-00523-claude-code-hooks-session-start-pre-trust-rce.yaml +1 -1
  25. package/rules/tool-poisoning/ATR-2026-00531-praisonai-unauthenticated-agent-api.yaml +1 -1
  26. package/rules/tool-poisoning/ATR-2026-00532-apache-doris-mcp-sql-injection.yaml +1 -1
  27. package/rules/tool-poisoning/ATR-2026-00533-apache-pinot-mcp-unauthenticated-takeover.yaml +1 -1
  28. package/rules/tool-poisoning/ATR-2026-00534-alibaba-rds-mcp-unauthenticated-metadata-exfil.yaml +1 -1
  29. package/rules/tool-poisoning/ATR-2026-00536-nginx-ui-mcp-unauthenticated-command-execution.yaml +1 -1
  30. package/rules/tool-poisoning/ATR-2026-00561-fastmcp-vulnerable-to-windows-command-in.yaml +1 -1
  31. package/rules/tool-poisoning/ATR-2026-00567-mcp-stdio-config-command-injection.yaml +1 -1
  32. package/rules/tool-poisoning/ATR-2026-00568-agent-ssrf-cloud-metadata-file-inclusion.yaml +1 -1
  33. package/rules/tool-poisoning/ATR-2026-00572-symjack-symlink-config-redirection.yaml +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-threat-rules",
3
- "version": "3.5.5",
3
+ "version": "3.5.6",
4
4
  "mcpName": "io.github.Agent-Threat-Rule/agent-threat-rules",
5
5
  "type": "module",
6
6
  "description": "Open detection standard -- like Sigma, but for AI agents. 683 rules for prompt injection, tool poisoning, context exfiltration, and MCP attacks. Shipped in Cisco AI Defense. 97.2% recall on NVIDIA garak.",
@@ -86,7 +86,8 @@
86
86
  "compile:yara": "tsx scripts/compile-yara.ts --all rules/",
87
87
  "prepublishOnly": "npm run build",
88
88
  "prepare": "npm run build 1>&2",
89
- "compile:pipelock": "tsx scripts/compile-pipelock.ts"
89
+ "compile:pipelock": "tsx scripts/compile-pipelock.ts",
90
+ "reconcile-stats": "node scripts/reconcile-rule-count.mjs"
90
91
  },
91
92
  "dependencies": {
92
93
  "@modelcontextprotocol/sdk": "^1.12.0",
@@ -15,7 +15,7 @@ author: ATR Community
15
15
  date: 2026/03/08
16
16
  schema_version: "0.1"
17
17
  detection_tier: pattern
18
- maturity: experimental
18
+ maturity: test
19
19
  severity: high
20
20
  references:
21
21
  owasp_llm:
@@ -11,7 +11,7 @@ author: "TYSYS (Wind) — skill-sanitizer project"
11
11
  date: "2026/04/05"
12
12
  schema_version: "0.1"
13
13
  detection_tier: pattern
14
- maturity: test
14
+ maturity: stable
15
15
  severity: critical
16
16
 
17
17
  references:
@@ -31,7 +31,7 @@ author: "ATR Community"
31
31
  date: "2026/05/13"
32
32
  schema_version: "0.1"
33
33
  detection_tier: pattern
34
- maturity: experimental
34
+ maturity: test
35
35
  severity: critical
36
36
 
37
37
  references:
@@ -9,7 +9,7 @@ author: ATR Community (NVD sync)
9
9
  date: 2026/05/30
10
10
  schema_version: '0.1'
11
11
  detection_tier: pattern
12
- maturity: experimental
12
+ maturity: test
13
13
  severity: high
14
14
  references:
15
15
  cve:
@@ -7,7 +7,7 @@ author: ATR Community
7
7
  date: 2026/06/02
8
8
  schema_version: '0.1'
9
9
  detection_tier: pattern
10
- maturity: experimental
10
+ maturity: test
11
11
  severity: high
12
12
  references:
13
13
  cve:
@@ -7,7 +7,7 @@ author: ATR Community
7
7
  date: 2026/06/02
8
8
  schema_version: '0.1'
9
9
  detection_tier: pattern
10
- maturity: experimental
10
+ maturity: test
11
11
  severity: high
12
12
  references:
13
13
  cve:
@@ -14,7 +14,7 @@ author: "ATR Community"
14
14
  date: "2026/06/03"
15
15
  schema_version: "0.1"
16
16
  detection_tier: semantic
17
- maturity: "experimental"
17
+ maturity: test
18
18
  severity: high
19
19
 
20
20
  references:
@@ -7,7 +7,7 @@ author: ATR Community
7
7
  date: 2026/06/02
8
8
  schema_version: '0.1'
9
9
  detection_tier: pattern
10
- maturity: experimental
10
+ maturity: test
11
11
  severity: high
12
12
  references:
13
13
  cve:
@@ -14,7 +14,7 @@ author: ATR Community
14
14
  date: 2026/03/08
15
15
  schema_version: "0.1"
16
16
  detection_tier: pattern
17
- maturity: experimental
17
+ maturity: test
18
18
  severity: high
19
19
  references:
20
20
  owasp_llm:
@@ -91,35 +91,6 @@ agent_source:
91
91
  - any
92
92
  detection:
93
93
  conditions:
94
- - field: tool_name
95
- operator: regex
96
- value: (?i)(?:exec|execute|shell|bash|cmd|terminal|subprocess|os_command|system_call|run_command|powershell)
97
- description: System shell or command execution tool invocation
98
- - field: tool_name
99
- operator: regex
100
- value: (?i)(?:modify_permissions?|grant_access|elevate|set_role|change_acl|chmod|chown|sudo|setuid|setgid)
101
- description: Permission modification or privilege elevation tools
102
- - field: tool_name
103
- operator: regex
104
- value: (?i)(?:create_user|delete_user|modify_user|reset_password|manage_roles?|assign_role|revoke_role|add_admin)
105
- description: User management and role assignment operations
106
- - field: tool_name
107
- operator: regex
108
- value: (?i)(?:drop_(?:database|table|index)|truncate_table|alter_schema|create_database|db_admin|migrate_database)
109
- description: Database administration and schema operations
110
- - field: tool_name
111
- operator: regex
112
- value: >-
113
- (?i)(?:update_config|modify_settings|change_environment|set_env|deploy|restart_service|stop_service|kill_process)
114
- description: System configuration and service management operations
115
- - field: tool_name
116
- operator: regex
117
- value: (?i)(?:manage_firewall|update_security_group|modify_iam|create_api_key|rotate_secret|manage_certificates?)
118
- description: Security infrastructure management operations
119
- - field: tool_name
120
- operator: regex
121
- value: (?i)(?:access_audit_log|clear_logs?|purge_logs?|modify_audit|disable_(?:monitoring|logging|alerting))
122
- description: Audit tampering and monitoring evasion operations
123
94
  - field: tool_args
124
95
  operator: regex
125
96
  value: >-
@@ -137,10 +108,6 @@ detection:
137
108
  operator: regex
138
109
  value: (?i)(?:kubectl\s+exec|kubectl\s+(?:create|apply)\s+.*(?:clusterrole|rolebinding)|kubectl\s+auth\s+can-i)
139
110
  description: Kubernetes privilege escalation commands
140
- - field: tool_name
141
- operator: regex
142
- value: (?i)(?:write_file|delete_file|rm\s+-rf|remove_directory|format_disk|wipe)
143
- description: Destructive file system operations
144
111
  - field: tool_args
145
112
  operator: regex
146
113
  value: (?i)(?:chmod\s+(?:[2467][0-7]{3}|[0-7]{0,3}7[0-7]{0,2})|chmod\s+[ug]\+s|chown\s+root|setcap\s+)
@@ -11,7 +11,7 @@ author: "TYSYS (Wind) — skill-sanitizer project"
11
11
  date: "2026/04/05"
12
12
  schema_version: "0.1"
13
13
  detection_tier: pattern
14
- maturity: test
14
+ maturity: stable
15
15
  severity: high
16
16
 
17
17
  references:
@@ -36,7 +36,7 @@ author: "ATR Community"
36
36
  date: "2026/05/28"
37
37
  schema_version: "0.1"
38
38
  detection_tier: pattern
39
- maturity: experimental
39
+ maturity: test
40
40
  severity: critical
41
41
 
42
42
  references:
@@ -24,7 +24,7 @@ author: "ATR Community"
24
24
  date: "2026/05/28"
25
25
  schema_version: "0.1"
26
26
  detection_tier: pattern
27
- maturity: experimental
27
+ maturity: test
28
28
  severity: high
29
29
 
30
30
  references:
@@ -27,7 +27,7 @@ author: "ATR Community"
27
27
  date: "2026/05/28"
28
28
  schema_version: "0.1"
29
29
  detection_tier: pattern
30
- maturity: experimental
30
+ maturity: test
31
31
  severity: high
32
32
 
33
33
  references:
@@ -16,7 +16,7 @@ author: "ATR Community"
16
16
  date: "2026/03/08"
17
17
  schema_version: "0.1"
18
18
  detection_tier: pattern
19
- maturity: "experimental"
19
+ maturity: test
20
20
  severity: high
21
21
 
22
22
  references:
@@ -15,7 +15,7 @@ author: "ATR Community"
15
15
  date: "2026/03/08"
16
16
  schema_version: "0.1"
17
17
  detection_tier: pattern
18
- maturity: experimental
18
+ maturity: test
19
19
  severity: medium
20
20
 
21
21
  references:
@@ -12,7 +12,7 @@ author: "TYSYS (Wind) — skill-sanitizer project"
12
12
  date: "2026/04/05"
13
13
  schema_version: "0.1"
14
14
  detection_tier: pattern
15
- maturity: test
15
+ maturity: stable
16
16
  severity: high
17
17
 
18
18
  references:
@@ -18,7 +18,7 @@ author: "ATR Community"
18
18
  date: "2026/05/20"
19
19
  schema_version: "0.1"
20
20
  detection_tier: pattern
21
- maturity: experimental
21
+ maturity: test
22
22
  severity: critical
23
23
 
24
24
  references:
@@ -9,7 +9,7 @@ author: ATR Community (GHSA sync)
9
9
  date: 2026/06/01
10
10
  schema_version: '0.1'
11
11
  detection_tier: pattern
12
- maturity: experimental
12
+ maturity: test
13
13
  severity: high
14
14
  references:
15
15
  cve:
@@ -9,7 +9,7 @@ author: ATR Community (NVD sync)
9
9
  date: 2026/05/30
10
10
  schema_version: '0.1'
11
11
  detection_tier: pattern
12
- maturity: experimental
12
+ maturity: test
13
13
  severity: critical
14
14
  references:
15
15
  cve:
@@ -15,7 +15,7 @@ author: "ATR Community"
15
15
  date: "2026/06/03"
16
16
  schema_version: "0.1"
17
17
  detection_tier: semantic
18
- maturity: "experimental"
18
+ maturity: test
19
19
  severity: high
20
20
 
21
21
  references:
@@ -110,10 +110,6 @@ detection:
110
110
  value: >-
111
111
  (?i)(?:web[-_]?search|google[-_]?search|bing[-_]?search)[-_]?(?:v2|v3|pro|enhanced|premium|fast|turbo|plus|ultra|new)
112
112
  description: Fake enhanced versions of known search tools
113
- - field: tool_name
114
- operator: regex
115
- value: (?i)(?:exec|execute|run|shell)[-_]?(?:cmd|command|script|code)[-_]?(?:safe|secure|sandbox|trusted|verified)?
116
- description: Shell execution tools with deceptive safety suffixes
117
113
  - field: tool_name
118
114
  operator: regex
119
115
  value: >-
@@ -25,7 +25,7 @@ author: "ATR Community"
25
25
  date: "2026/05/13"
26
26
  schema_version: "0.1"
27
27
  detection_tier: pattern
28
- maturity: experimental
28
+ maturity: test
29
29
  severity: critical
30
30
 
31
31
  references:
@@ -16,7 +16,7 @@ author: "ATR Community"
16
16
  date: "2026/05/20"
17
17
  schema_version: "0.1"
18
18
  detection_tier: pattern
19
- maturity: experimental
19
+ maturity: test
20
20
  severity: critical
21
21
 
22
22
  references:
@@ -14,7 +14,7 @@ author: "ATR Community"
14
14
  date: "2026/05/20"
15
15
  schema_version: "0.1"
16
16
  detection_tier: pattern
17
- maturity: experimental
17
+ maturity: test
18
18
  severity: critical
19
19
 
20
20
  references:
@@ -15,7 +15,7 @@ author: "ATR Community"
15
15
  date: "2026/05/20"
16
16
  schema_version: "0.1"
17
17
  detection_tier: pattern
18
- maturity: experimental
18
+ maturity: test
19
19
  severity: critical
20
20
 
21
21
  references:
@@ -17,7 +17,7 @@ author: "ATR Community"
17
17
  date: "2026/05/20"
18
18
  schema_version: "0.1"
19
19
  detection_tier: pattern
20
- maturity: experimental
20
+ maturity: test
21
21
  severity: high
22
22
 
23
23
  references:
@@ -18,7 +18,7 @@ author: "ATR Community"
18
18
  date: "2026/05/20"
19
19
  schema_version: "0.1"
20
20
  detection_tier: pattern
21
- maturity: experimental
21
+ maturity: test
22
22
  severity: critical
23
23
 
24
24
  references:
@@ -9,7 +9,7 @@ author: ATR Community (GHSA sync)
9
9
  date: 2026/06/01
10
10
  schema_version: '0.1'
11
11
  detection_tier: pattern
12
- maturity: experimental
12
+ maturity: test
13
13
  severity: critical
14
14
  references:
15
15
  cve:
@@ -7,7 +7,7 @@ author: ATR Community
7
7
  date: 2026/06/02
8
8
  schema_version: '0.1'
9
9
  detection_tier: pattern
10
- maturity: experimental
10
+ maturity: test
11
11
  severity: high
12
12
  references:
13
13
  cve:
@@ -7,7 +7,7 @@ author: ATR Community
7
7
  date: 2026/06/02
8
8
  schema_version: '0.1'
9
9
  detection_tier: pattern
10
- maturity: experimental
10
+ maturity: test
11
11
  severity: high
12
12
  references:
13
13
  cve:
@@ -24,7 +24,7 @@ author: "ATR Community"
24
24
  date: "2026/06/03"
25
25
  schema_version: "0.1"
26
26
  detection_tier: pattern
27
- maturity: experimental
27
+ maturity: test
28
28
  severity: critical
29
29
  references:
30
30
  owasp_llm: