1 AI-credential leaks
Production-grade signature library: sk-,
sk-ant-, hf_, AIza,
r8_, gsk_, co-,
together_, plus cloud + DB + PEM + JWT.
Entropy gate + is_test heuristic
eliminates the noise that gitleaks-style tools give you.
Severity: CRITICAL · Auto-fails any non-test secret.
2 Unsafe tool configurations
Shell tools that pass shell=True without
argument sanitisation. Database tools whose connection
string includes write access where read-only would do.
HTTP tools without URL allowlist. Function-call specs
missing required arg validation.
Severity: HIGH or MEDIUM depending on tool category.
3 Policy coverage gaps
Cross-references the scanner's tool inventory against the
repo's policy bundle. If a tool is registered but no
policy gates it, that's a coverage gap. If a workflow
edge is a sensitive-relay path with no DSL rule, that's
a coverage gap.
Severity: configurable (default MEDIUM).
4 PI corpus regression
Every PR runs the 26-pattern prompt-injection corpus
against the deployed policy bundle. If a previously-caught
variant goes uncaught (regression), the build fails.
Same idea as unit-test regression but for adversarial
inputs.
Severity: HIGH on regression. PI corpus details.
5 Custom org-specific rules
Drop a YAML file in .aegis/rules/ with your
org's named patterns — internal endpoint shapes,
compliance-mandated allowlists, framework-specific
anti-patterns. Treated identically to built-in checks
in SARIF output.
See /features/customize.
6 AAT-T* threat ontology coverage
Declare which AEGIS Agent Threat tactics + techniques
your agent's policy + detector posture must cover. Build
fails if any required technique has no enforcement path.
Maps directly to procurement / compliance checklists.
10 tactics × 4 techniques each. Full ontology.