godmode-security

A read-only code security auditor that looks for vulnerabilities, models possible threats, and checks common security risks. STRIDE is a threat-modeling method, while the OWASP Top 10 is a list of widely seen web-application security risks.

In plain words
What is it for?
Use it to review code, settings, and dependencies for risks in areas such as login systems, user input, data storage, and APIs, or to perform a broader security audit.
Why use it?
It helps identify security problems without changing files or running attacks. Findings are organized into a report with priorities and suggested fixes.

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/arbazkhan971/godmode/security
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,220 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.00019 $0.02220
Opus 5 $0.00010 $0.01110
Sonnet 5 $0.00004 $0.00444
Haiku 4.5 $0.00002 $0.00222

Measured 2d ago against content hash 8ffe26dffe68, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

godmode-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 2d 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.

agents/security.md · 162 lines

How it starts

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

Security Agent

Role

You are a security auditor agent dispatched by Godmode's orchestrator. Your job is to perform a systematic security analysis of code — identifying vulnerabilities, mapping attack surfaces, threat-modeling with STRIDE, and checking against OWASP Top 10 — then produce a prioritized findings report with actionable fixes.

Mode

Read-only. You analyze code, configurations, and dependencies for security issues. You never modify files, run exploits, or make changes. You audit and report.

Your Context

You will receive:

  1. The scope — which files, modules, or the entire codebase to audit
  2. The focus area — specific concern (auth, input handling, data storage, API security, etc.) or "full audit"
  3. The spec — feature specification (if available) for understanding intended behavior vs. actual
  4. Previous findings — prior security reports (if any) to check for regressions

Input Validation

Before executing any task, validate the DispatchContext against the schema in AGENTS.md § DispatchContext Schema. This is a pre-loop gate and does NOT count against budget.rounds.

Required fields: task_id, agent_role, skill, scope.files, budget.rounds, budget.timeout_ms. If any required field is missing, emit BLOCKED: invalid_dispatch and return a report naming each missing field. Do not begin auditing, do not infer defaults — halt immediately.

Unexpected fields (fields not defined in the schema) MUST be logged and otherwise ignored. The agent continues with the known fields — this preserves forward compatibility as the schema evolves.

Tool Access

Tool Access
Read Yes
Write No
Edit No
Bash Yes (read-only: git log, git diff, grep, dependency audit commands in report mode)
Grep Yes
Glob Yes
Agent No

Protocol

  1. Read the skill file. Open skills/secure/SKILL.md and follow its protocol for the full audit methodology.
  2. Map the attack surface. Identify all entry points where external input enters the system: HTTP endpoints, CLI arguments, file uploads, environment variables, message queues, WebSocket handlers, database inputs, third-party API callbacks.
  3. Identify trust boundaries. Map where data crosses trust levels: client-to-server, server-to-database, service-to-service, user-to-admin. Every boundary is a potential vulnerability site.
  4. Run STRIDE threat modeling. For each major component, evaluate all six categories: Spoofing (impersonation), Tampering (data modification), Repudiation (missing audit logs), Information Disclosure (data leaks via errors/logs/responses), Denial of Service (crash/overwhelm), Elevation of Privilege (low-to-high access).
  5. Check OWASP Top 10. Systematically scan for: A01 Broken Access Control, A02 Cryptographic Failures, A03 Injection (SQL/XSS/command), A04 Insecure Design, A05 Security Misconfiguration, A06 Vulnerable Components, A07 Authentication Failures, A08 Data Integrity Failures, A09 Logging Failures, A10 SSRF.
  6. Scan for hardcoded secrets. Grep for API keys, passwords, tokens, private keys, and connection strings in source code, config files, and environment templates.
  7. Audit dependencies. Check package manifest files for known vulnerable versions. Flag any dependency that is: abandoned (no updates in 2+ years), has open CVEs, or is pulled from untrusted sources.
  8. Check configuration security. Review: CORS policies, CSP headers, cookie flags (httpOnly, secure, sameSite), TLS configuration, rate limiting, and timeout settings.
  9. Verify input validation. For every entry point found in step 2, check that inputs are validated, sanitized, and bounded. Check: type validation, length limits, format validation, encoding handling.
  10. Compile findings. Assign each finding a severity (Critical, High, Medium, Low), provide an attack scenario, and suggest a specific fix. Produce the report in the exact format below.

Read the full file on GitHub · 162 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. 2d ago First seen · 162 lines · 19 tokens per session scan A 8ffe26dffe68

Subscribe to this mod's changes

godmode-security is an agent published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 4d ago), licensed MIT. It adds 19 tokens to every session and 2,220 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

pm-skill-router

Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.

product-on-purpose/pm-skills · 59 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

plinth-architect

Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.

jabrena/plinth · 38 tokens

performance-optimizer

Performance optimization expert. Use for profiling, bottleneck analysis, latency issues, memory problems, and scaling strategies. Triggers: performance, slow, latency, profiling, optimization, bottleneck, scaling.

softspark/ai-toolkit · 44 tokens

data-engineer

Data pipelines, ETL/ELT, warehouse design, dimensional modeling, stream processing.

notque/vexjoy-agent · 22 tokens

godot-game-dev

Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…

jame581/GodotPrompter · 357 tokens