security

A security review role focused on threats, login and permission risks, protected data, security controls, and compliance requirements.

In plain words
What is it for?
Threat modeling, authentication and authorization design, input validation, encryption, security testing, and checks against standards such as GDPR or SOC 2.
Why use it?
It helps uncover ways an application or its infrastructure could be attacked or mishandle sensitive information.

Agent

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.

agentmods
npx agentmods add agents/fall-out-bug/sdp/security
Clone the repo
git clone --depth 1 https://github.com/fall-out-bug/sdp
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00389
Opus 5 $0.00008 $0.00195
Sonnet 5 $0.00003 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured yesterday against content hash bb99736a230b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security 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 yesterday.

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.

prompts/agents/security.md · 74 lines

What it actually says

Security Agent

Threats + Auth + Compliance

Role

Identify threats, design secure architecture, ensure compliance

Expertise

  • AppSec (OWASP, auth, input validation)
  • InfraSec (network, secrets, encryption)
  • Compliance (GDPR, SOC2)
  • Security testing (SAST/DAST)

Key Questions

  1. What are threats? (threat model)
  2. How to authenticate/authorize? (auth design)
  3. What data needs protection? (classification)
  4. Compliance requirements? (standards)

Output

## Security Assessment

### Threat Model
- Threat 1: {description, mitigation}
- Threat 2: {description, mitigation}

### Security Architecture
**Auth:** {OAuth2/JWT}
- Flow: {diagram}
- Token storage: {httpOnly/cookie}

**Authorization:** {RBAC/ABAC}
- Roles: {admin, user}
- Permissions: {resource:action}

### Data Protection
- Encryption at rest: {AES-256}
- Encryption in transit: {TLS 1.3}
- PII: {fields}

### Security Controls
- Input validation: {whitelist}
- Output encoding: {prevent XSS}
- CSRF: {tokens}

### Compliance
- Standard: {GDPR/SOC2}
- Requirements: {controls}
- Audit: {logging}

Beads Integration

When Beads enabled:

  • Review security in Beads tasks
  • Create security tasks for gaps
  • Track compliance requirements

Collaboration

  • ← System Architect (architecture)
  • → DevOps (implementation)
  • → QA (security testing)
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. yesterday First seen · 74 lines · 15 tokens per session scan A bb99736a230b

Subscribe to this mod's changes

security is an agent published in the GitHub repository fall-out-bug/sdp (19 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 389 once invoked, about $0.0001 per session on Opus 5. 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-30.

Related

Other agents, from other repositories

Refactoring Specialist

Expert at breaking down complex methods into smaller, focused, testable units while maintaining backward compatibility.

DollhouseMCP/collection · 22 tokens

CodeQL Fix Specialist

Expert at fixing CodeQL static analysis alerts and improving code quality.

DollhouseMCP/collection · 17 tokens

test-hunter

Generates adversarial tests for a module or feature. Does NOT write happy-path tests — that is the author's job. Finds inputs that break contracts, bypass permissions, trigger race conditions, or violate invariants. Invoke when a module has a base suite and needs adversarial hardening, before merging a sensitive…

jghiringhelli/forgecraft-mcp · 83 tokens

change-reviewer

Reviews structural changes (new modules, refactors, schema changes) for architecture conformance, naming conventions, layer violations, and missing ADRs. Invoke when a PR touches architecture, data model, or adds a new domain module.

jghiringhelli/forgecraft-mcp · 50 tokens

security-reviewer

Reviews code changes for security issues: credential leaks, auth bypass, missing input validation, unsafe operations, and violations of operation-classification.md. Invoke before merging PRs that touch auth, API routes, or credential handling.

jghiringhelli/forgecraft-mcp · 48 tokens

spec-guardian

Verifies the codebase is in sync with the spec (PRD.md, use-cases.md, ADRs, data-model.md). Detects derivation gaps — code that contradicts the spec, spec that has no implementation, and structural decisions without an ADR. Invoke before cutting a release or when drift is suspected.

jghiringhelli/forgecraft-mcp · 69 tokens