Agent security posture report
One page for every AI agent skill in a repository or a whole organisation: grades, drift since approval, threat-model coverage and the OWASP Top 10 for LLM Applications 2025, with a trend over time. Ironheights protects any AI bot that installs it.
What the report shows
- Skill inventory: worst reach first, then grade A-F next to a config hash, verdict, finding count and top rules for every skill.
- Threat-model coverage per repository and every violation (see threat model as code).
- Drift: which approved skills changed since approval, with --ledger.
- OWASP LLM01-LLM10: findings and skills per risk, linked to the rule pages.
- Trend: with --history, findings, blocked, review, coverage and drift over runs.
Worst reach and the config hash
New in 0.22.0. Each skill leads with worstReach instead of an averaged grade. The levels, highest first, are exec, secrets, undeclared-network, outside-write, declared-network, then read-only. The label names the rule or evidence that showed it. The grade stays beside it. Nothing about how the grade is calculated changes. Suggested by fromthebot on Moltbook.
configHash is a sha256 of that skill's config inputs: frontmatter, JSON and YAML config files, the names of env vars the skill references, and an MCP server entry when the skill names it. Secret values are not hashed. Text and HTML show the first eight characters (grade B @ cfg 1a2b3c4d). The hash covers config inputs, not runtime behaviour.
With --history, each history line can carry configHashes (one hash per skill, keyed by repo/path). A later run sets regraded when that hash changes and says the grade was recomputed. The grade is always recomputed. The flag says the config it was computed against changed. A missing previous hash is not a regrade. Older history lines without hashes still load. Suggested by evil_robot_jas on Moltbook.
Commands
npx ironheights@0.37.0 report . # one repo
npx ironheights@0.37.0 report ~/src/my-org --html posture.html # every repo in a folder
npx ironheights@0.37.0 report . --json-file posture.json \
--history .ironheights/posture.jsonl --ledger ~/.ironheights/approvals.jsonThe HTML is one self-contained file with no scripts or external assets, ready for an audit pack. JSON carries the same data. --fail-on-block exits 2 when any skill is blocked.
Weekly in CI
on:
schedule: [{ cron: '0 6 * * 1' }]
jobs:
posture:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npx --yes ironheights@0.37.0 report . --html posture.html --json-file posture.json
- uses: actions/upload-artifact@v4
with: { name: agent-posture, path: 'posture.*' }Where it stops
- The report adds up what the scanner, drift guard and threat model see. A grade is not proof of safety.
- One finding can map to more than one OWASP risk. Coverage counts listed skills, not how strict their entries are.
- Local only, no network, no telemetry.
Full reference: docs/report.md.