p6-audit-config

p6-audit-config is a command for Claude Code from jonase47/ccpr. It costs 0 tokens per session (828 once invoked), scanned A, original, MIT.

A security review checks the application’s server and deployment configuration. It covers settings such as security headers, CORS, database access, secrets, and server configuration.

In plain words
What is it for?
Use it to inspect configuration files and verify security headers, cross-origin access, database permissions, secrets management, and server settings.
Why use it?
It helps find unsafe infrastructure settings that may expose data or allow unwanted access, even when the application code looks correct.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to inspect configuration files and verify security headers, cross-origin access, database permissions, secrets management, and server settings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jonase47/ccpr/p6-audit-config
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.

Clone the repo
git clone --depth 1 https://github.com/jonase47/ccpr

Made for: Claude Code.

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 p6-audit-config

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p6-audit-config/github.svg)](https://agentmods.dev/commands/jonase47/ccpr/p6-audit-config)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/p6-audit-config"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p6-audit-config/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 p6-audit-config

Your own site · 80×15
<a href="https://agentmods.dev/commands/jonase47/ccpr/p6-audit-config"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p6-audit-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 828 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.00828
Opus 5.5 $0.00000 $0.00331
Sonnet 5.5 $0.00000 $0.00166
Haiku 4.5 $0.00000 $0.00083

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

Security

Grade A, and why

p6-audit-config 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/p6-audit-config.md · 90 lines

How it starts

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

/p6-audit-config – Review Infrastructure & Configuration

Checks security headers, CORS, DB access, secrets management, and server configuration.

Argument: $ARGUMENTS = [configuration area]

If provided: Focus on the specified area. If not provided: Check the entire configuration.

Prerequisites

  • Deployment configuration present
  • SECURITY.md with infrastructure requirements

Agent

  • Type: security-master
  • Model: sonnet

Context (Orchestrator prepares)

Orchestrator reads in advance and delivers inline:

  • Configuration files: .env.example, Docker config, server config, etc.
  • From src/: Security header configuration, CORS setup
  • From SECURITY.md: Infrastructure requirements

Prompt Template

Goal: Check infrastructure and configuration security

Configuration: [inline from config files]

Output Format: Checklist:

# Check Point Status Finding
1 Security Headers (CSP, HSTS, X-Frame) OK/FINDING/N/A ...
2 CORS configuration OK/FINDING/N/A ...
3 DB access (least privilege) OK/FINDING/N/A ...
4 Secrets management OK/FINDING/N/A ...

Constraints:

  • Configuration check ONLY – no code review, no dependencies
  • For static sites without a server: brief confirmation "N/A" is sufficient
  • Focus on production configuration

Orchestrator Checkpoint

  • All infrastructure points from SECURITY.md checked?
  • Findings with concrete fix recommendation?

Write Detail File

Write the result to docs/quality/audit_config.md (overwrite). Frontmatter:

---
phase: P6
subskill: audit-config
status: active
last_updated: <DD.MM.YYYY>
---

Body sections: ## Scope, ## Findings, ## Severity Summary.

Update Sub-Index

Update docs/quality/AUDIT.md:

  • Set **Last Updated:** <DD.MM.YYYY>.
  • In its Detail Files table: ensure a row for [audit_config.md](audit_config.md) with status complete.
  • Lift any High/Critical config finding into Open Risks of the sub-index.

Read the full file on GitHub · 90 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. 1mo ago Changed c5a7605c691f
  2. 1mo ago First seen · 90 lines · 0 tokens per session scan A e3ce1e02b6c9

Subscribe to this mod's changes

p6-audit-config is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed 29d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 828 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-09-03.