Skip to content

ATR rule-pack as a Tier 1 supplement (462 patterns, MIT) + cross-benchmark offer #66

Description

@eeee2345

Defender's two-tier shape is clean and the in-package ONNX bundle is a sharp call (no model-download surprise on first call). I maintain Agent Threat Rules (ATR), an MIT-licensed YAML rule library with 462 rules across 10 attack categories. Microsoft Agent Governance Toolkit (PR #1277, 287 rules, weekly auto-sync), Cisco AI Defense skill-scanner (PR #99, 314 rules), MISP via CIRCL Luxembourg (PR #1207, 336 rules), and Microsoft PyRIT (PR #1715 merged 2026-05-27 by Roman Lutz) all run ATR in production.

Two questions:

  1. Tier 1 supply. Your src/classifiers/patterns.ts and src/sanitizers/ look like the natural place ATR's pattern-method rules would live. Of ATR's 462 rules, ~200 are pure regex (method: pattern in our SPEC v1.1) with explicit true_positive / true_negative fixtures and a 0% FP gate on a 432 benign-skill corpus. Would you take a src/classifiers/atr-patterns.ts that imports the JSON-bundled rule subset? Stays compatible with your existing pattern format.

  2. Cross-benchmark. On the public corpora we've used (NVIDIA Garak, plus a self-built 850-sample PINT-format set from deepset + Lakera Gandalf), we'd be happy to run ATR-only and post comparable F1 numbers next to Defender's, with code in benchmarks/. Useful for both sides — your ML obviously catches what regex can't, and vice versa.

If this isn't the right shape, no worries.

ATR repo: https://github.com/Agent-Threat-Rule/agent-threat-rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions