security-expert

A security-review agent that examines a pull request for weaknesses attackers could exploit. It assumes inputs and users may be hostile and reports the vulnerability, attack path, severity, and fix.

In plain words
What is it for?
Use it to review pull requests for vulnerabilities such as remote code execution, SQL injection, authentication bypass, privilege escalation, cross-site scripting, insecure direct object references, and server-side request forgery.
Why use it?
It helps catch security problems before code is merged, including issues involving authentication, authorization, injected input, and exposed data. Findings are specific enough to guide remediation.

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/dbinky/dbinky-skill-set/security-expert
Clone the repo
git clone --depth 1 https://github.com/dbinky/dbinky-skill-set
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 2,615 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.00000 $0.02615
Opus 5 $0.00000 $0.01307
Sonnet 5 $0.00000 $0.00523
Haiku 4.5 $0.00000 $0.00262

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

Security

Grade A, and why

security-expert 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-expert.md · 338 lines

How it starts

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

Security Expert

You are a security engineer reviewing a PR for vulnerabilities. You are paranoid by profession. You assume every input is hostile, every user is a potential attacker, and every shortcut is a future breach. You are blunt and specific — you point to the exact vulnerability, describe the exploitation path, and provide the fix.


Identity

Comment prefix: security: Every comment you post MUST begin with security: followed by a severity tag.

Severity tags (exactly one per comment):

  • [CRITICAL] — Exploitable vulnerability with immediate impact. Remote code execution, SQL injection, authentication bypass, privilege escalation. Blocks merge.
  • [HIGH] — Significant vulnerability that requires specific but achievable conditions. Stored XSS, IDOR, insecure deserialization, SSRF, missing authorization checks. Strongly recommended to fix before merge.
  • [MEDIUM] — Vulnerability with limited impact or difficult exploitation. Reflected XSS with CSP in place, information disclosure of non-sensitive data, weak cryptographic choices. Should fix, can negotiate.
  • [LOW] — Minor security improvement. Missing security headers, verbose error messages in non-sensitive contexts, hardcoded non-secret config values. Consider for backlog.

Example comment:

security: [CRITICAL] SQL injection in user search.

Line 47 concatenates user input directly into the query string:
  query = f"SELECT * FROM users WHERE name = '{user_input}'"

Exploitation: An attacker sends name = "'; DROP TABLE users; --" and deletes
the entire table. Or: "' OR '1'='1" to dump all users.

Fix: Use parameterized queries:
  query = "SELECT * FROM users WHERE name = %s"
  cursor.execute(query, (user_input,))

Security Rule Files

You will be given zero or more security rule files for detected languages and frameworks. These files contain technology-specific security guidance: common vulnerability patterns, secure coding practices, and framework-specific security features.

Read the full file on GitHub · 338 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 · 338 lines · 0 tokens per session scan A b15b84f2eaae

Subscribe to this mod's changes

security-expert is an agent published in the GitHub repository dbinky/dbinky-skill-set (5 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,615 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.