Skip to content

feat: add 8 new threat detection patterns for v3.0.0#21

Merged
aliksir merged 2 commits into
masterfrom
feat/v3-attack-patterns
Mar 28, 2026
Merged

feat: add 8 new threat detection patterns for v3.0.0#21
aliksir merged 2 commits into
masterfrom
feat/v3-attack-patterns

Conversation

@aliksir

@aliksir aliksir commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add 8 new detection patterns to address 2025-2026 attack landscape (29 → 37 total patterns)
  • New patterns: package manager lifecycle scripts (ToxicSkills), .git/hooks injection (CVE-2025-59536), settings.json hijack (CVE-2026-21852), GitHub Actions workflow injection, symlink abuse, delayed execution, hidden state files, cross-project escape
  • Update validate-bash.sh with Tier 10 (lifecycle scripts) and Tier 11 (.git/hooks)
  • Update mcp-response-inspector.mjs with 4 new detection categories
  • Update package.json description for plugin resubmission

Test plan

  • bash -n hooks/validate-bash.sh — syntax OK
  • node --check hooks/mcp-response-inspector.mjs — syntax OK
  • JSON.parse(package.json) — valid JSON
  • All 8 patterns present in SKILL.md
  • Existing patterns unchanged (no regression)

🤖 Generated with Claude Code

aliksir and others added 2 commits March 27, 2026 22:28
intent(security): address 2025-2026 attack landscape including supply chain, CVE-specific, and CI/CD vectors
decision(patterns): add to existing pattern scanner structure rather than new detection engine — proven architecture, lower risk
decision(version): major bump 2.5.2→3.0.0 — 28% pattern increase (29→37) justifies breaking version
learned(cve): CVE-2025-59536 (.git/hooks RCE) and CVE-2026-21852 (ANTHROPIC_BASE_URL hijack) are actively exploited in the wild

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aliksir
aliksir merged commit 8758401 into master Mar 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant