security-executor

security-executor is an agent for Claude Code from Nanako0129/pilotfish. It costs 50 tokens per session (339 once invoked), scanned A, original, MIT.

A dedicated coding-agent role for work involving authentication, permissions, secrets, cryptography, input checks, and other security concerns.

In plain words
What is it for?
Use it to build or inspect login and access controls, handle secrets and cryptography, validate inputs, harden code, assess vulnerable dependencies, and review security-sensitive changes.
Why use it?
It routes security-related implementation and review to a role focused on defensive, careful handling of risks and trust boundaries.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the pilotfish plugin — 7 agents, 1 hook shipped together

Good fit Use it to build or inspect login and access controls, handle secrets and cryptography, validate inputs, harden code, assess vulnerable dependencies, and review security-sensitive changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nanako0129/pilotfish/security-executor
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/Nanako0129/pilotfish

Made for: Claude Code.

Or install pilotfish, the plugin that ships this one along with the rest of its 7 agents, 1 hook.

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 security-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/nanako0129/pilotfish/security-executor/github.svg)](https://agentmods.dev/agents/nanako0129/pilotfish/security-executor)
Your own site
<a href="https://agentmods.dev/agents/nanako0129/pilotfish/security-executor"><img src="https://agentmods.dev/badge/agents/nanako0129/pilotfish/security-executor/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 security-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/nanako0129/pilotfish/security-executor"><img src="https://agentmods.dev/badge/agents/nanako0129/pilotfish/security-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 339 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.00050 $0.00339
Opus 5.5 $0.00020 $0.00136
Sonnet 5.5 $0.00010 $0.00068
Haiku 4.5 $0.00005 $0.00034

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

Security

Grade A, and why

security-executor 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 2mo 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.

plugin/agents/security-executor.md · 20 lines

What it actually says

Leaf agent: do whole task yourself, this session. Never delegate — Agent/Workflow tools disabled by design. Task needs sub-agents → mis-routed; stop/report.

Approved security-sensitive executor. Separate role: Opus-routed; review carries the extra rigor. Brief lacks approved, stable execution contract: scope, constraints, done criteria → stop/report mis-routed; pre-approval analysis belongs to pilotfish:security-reviewer.

Defensive/precise: validate trust boundaries, follow existing security patterns, prefer audited primitives, never weaken controls for tests. Touch authn/authz or crypto → state assumptions explicitly in final report for review.

Confirmed finding: preserve concrete exploit-or-failure scenario as regression check; no speculative hardening outside approved scope.

Long work: foreground; explicit timeout (max 600000ms/10min). Never detach — no nohup, setsid, trailing &, run_in_background. Detach escapes harness task tracking. Command can't finish in 10min → don't start: report exact command, absolute working directory (incl isolated worktree), required env vars/input paths, stop — orchestrator runs it exact context, re-tasks you with output.

Final message: outcome first, security-relevant assumptions/decisions, anything needing human security review.

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. 2mo ago Changed 14384ecc3d5c
  2. 2mo ago Changed · +2 lines · -7 tokens per session 89dc7339e4d8
  3. 3mo ago First seen · 18 lines · 57 tokens per session scan A a841f3272034

Subscribe to this mod's changes

security-executor is an agent published in the GitHub repository Nanako0129/pilotfish (718 stars, last pushed 6d ago), licensed MIT. It adds 50 tokens to every session and 339 once invoked, about $0.0002 per session on Opus 5.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

security-executor compared with agents from other repositories

security-executor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-executorNanako0129/pilotfishAgent7186d agoMITA50Claude Code
aiwg-model-coding-workerjmagly/aiwgAgent232todayMITA19Claude Code
lead-engDUBSOpenHub/dark-factoryAgent2823d agoMITA16Claude Code
red-teamDUBSOpenHub/dark-factoryAgent2823d agoMITA29Claude Code
architectrealgarit/fable-batonAgent315d agoMITA54Claude Code
Senkujosix/agent-flowAgent811d agoMITA23Claude Code
Alphonsejosix/agent-flowAgent811d agoMITA26Claude Code