audit

audit is a skill for Claude Code from franzos/claude-plugins. It costs 0 tokens per session (1,039 once invoked), scanned A, original, MIT.

A security-audit skill for Forseti, a web interface and OIDC front end for the Ory Kratos and Hydra identity system.

In plain words
What is it for?
Use it to check 2FA enforcement, secret rotation, listener exposure, forwarded-for trust, TLS headers, webhook permissions, database choice, and related settings.
Why use it?
It finds configuration and deployment weaknesses that could expose accounts, secrets, internal services, or authentication controls.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the forseti plugin — 3 skills shipped together

Good fit Use it to check 2FA enforcement, secret rotation, listener exposure, forwarded-for trust, TLS headers, webhook permissions, database choice, and related settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/franzos/claude-plugins/audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add franzos/claude-plugins --skill audit
Clone the repo
git clone --depth 1 https://github.com/franzos/claude-plugins

Made for: Claude Code.

Or install forseti, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/franzos/claude-plugins/audit/github.svg)](https://agentmods.dev/skills/franzos/claude-plugins/audit)
Your own site
<a href="https://agentmods.dev/skills/franzos/claude-plugins/audit"><img src="https://agentmods.dev/badge/skills/franzos/claude-plugins/audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/franzos/claude-plugins/audit"><img src="https://agentmods.dev/badge/skills/franzos/claude-plugins/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,039 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01039
Opus 5.5 $0.00000 $0.00416
Sonnet 5.5 $0.00000 $0.00208
Haiku 4.5 $0.00000 $0.00104

Measured 3mo ago against content hash 24af55a89d85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/forseti/skills/audit/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auditing a Forseti deployment

Produce a ranked findings list, not a lecture. Check the live config against the deployment's own tooling and the operator guide, rank by severity, and let the user choose what to fix. Read the config that is actually deployed; do not assume the example files.

1. Locate the config and the deployment shape

Find the active config.toml ($FORSETI_CONFIG_PATH), infra/kratos/kratos.yml, infra/hydra/hydra.yml, and how it is run (single binary vs multi-instance, SQLite vs Postgres, behind a proxy or not). Rationale for each item below is in docs/operator-guide.md.

2. Run the built-in linter

forseti config-check --strict lints the Ory config and is the fastest source of real findings. Fold its output into the punch-list.

3. Walk the checklist

For each item, record pass/fail and severity. Highest-severity items first:

  • 2FA enforcement (critical). In kratos.yml, both session.whoami.required_aal and selfservice.flows.settings.required_aal must be highest_available. settings.required_aal: aal1 opens the factor-removal bypass (an attacker with the password or recovery email strips the second factor). Forseti cannot enforce this from its side.
  • Secrets rotated and unique. Hydra secrets.system and pairwise salt; Kratos secrets.cookie and secrets.cipher (exactly 32 chars); Forseti [security].cookie_secret set to a stable ≥32-byte value (not the ephemeral per-boot key). None committed to the repo.
  • No placeholder secrets in the live config. Confirm no OAuth client_secret, audit token, or SSH/SAML key was carried over from an example or playground config; rotate anything that was.
  • Audit webhook token. [audit].webhook_token set and matching the bearer in every web_hook in kratos.yml (Forseti refuses to boot if empty, but confirm it is not the dev placeholder).
  • Internal listener not public. [internal].bind on loopback only. It carries the audit receiver and the POSIX resolver (your directory); the network ACL is load-bearing once it leaves loopback.
  • Forwarded-for trust. [proxy].trust_forwarded_for = true only behind a proxy that strips inbound forwarded-for headers, else IP spoofing bypasses rate limits.
  • TLS and headers. Reverse proxy terminates TLS and passes X-Forwarded-Proto: https + X-Forwarded-Host; CSP frame_ancestors / X-Frame-Options set for clickjacking defense.
  • Webhook signing key. data/webhook-signing-key.pem present, 0600, valid Ed25519 PKCS#8, and backed up (rotation is stop-replace-restart).
  • Admin surface. [admin].allowed_emails is the intended operator set and non-empty; confirm the two-tier operator/org-owner model is understood. Admin requires AAL2 in code.
  • Database and backups. Postgres (not SQLite) for multi-instance, or corruption results. Kratos and Hydra Postgres backed up (losing Hydra's JWKS invalidates every issued id_token).
  • DCR hardening. [oauth].dcr_reserved_names denylist populated and DCR rate limits set.
  • Metrics. /metrics gated by license and [metrics].scrape_token, and served only on the internal listener.
  • Retention scheduled. forseti audit-prune and forseti unverified-prune run on a timer/cron; they do not run automatically.
  • Log hygiene. Kratos log.leak_sensitive_values: false outside dev; secrets supplied via env, not TOML; email creds never over tls = "none".

Read the full file on GitHub · 40 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 40 lines · 0 tokens per session scan A 24af55a89d85

Subscribe to this mod's changes

audit is a skill published in the GitHub repository franzos/claude-plugins (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,039 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

audit compared with skills from other repositories

audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditfranzos/claude-pluginsSkill11mo agoMITA0Claude Code
chief-strategy-officercbrock84/headcountSkill2.6ktodayMITA93Claude Code
paid-advertisingcbrock84/headcountSkill2.6ktodayMITA78Claude Code
interface-craftcbrock84/headcountSkill2.6ktodayMITA79Claude Code
chief-revenue-officercbrock84/headcountSkill2.6ktodayMITA0Claude Code
vendor-managementcbrock84/headcountSkill2.6ktodayMITA69Claude Code
sxonowork-studio/notfair-pluginSkill4.3k13d agoMITA211Claude Code