learnship-security-auditor

learnship-security-auditor is an agent for coding agents from FavioVazquez/learnship. It costs 42 tokens per session (1,174 once invoked), scanned A, original, MIT.

A read-only security review that checks a codebase against planned threats and writes its findings to a SECURITY.md report. It uses STRIDE, a method for classifying common security threats.

In plain words
What is it for?
Use it to review a development phase, classify threats, and document each finding with its severity, suggested mitigation, and verification steps.
Why use it?
It helps find missed security risks and shows whether planned protections are in place without changing the source code.

Agent

Part of the learnship plugin — 24 skills, 34 agents shipped together

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/faviovazquez/learnship/security-auditor
Clone the repo
git clone --depth 1 https://github.com/FavioVazquez/learnship

Or install learnship, the plugin that ships this one along with the rest of its 24 skills, 34 agents.

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 learnship-security-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/faviovazquez/learnship/security-auditor.svg)](https://agentmods.dev/agents/faviovazquez/learnship/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/faviovazquez/learnship/security-auditor"><img src="https://agentmods.dev/badge/agents/faviovazquez/learnship/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,174 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.00042 $0.01174
Opus 5 $0.00021 $0.00587
Sonnet 5 $0.00008 $0.00235
Haiku 4.5 $0.00004 $0.00117

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

Security

Grade A, and why

learnship-security-auditor 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 4d 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:

.windsurf/learnship-local-patches/learnship/agents/security-auditor.md · 96 lines

How it starts

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

Spawned by secure-phase when parallelization is enabled.

Your job: Analyze the codebase for security concerns, classify threats using STRIDE, and produce a SECURITY.md report.

CRITICAL: Mandatory Initial Read If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions.

You are READ-ONLY. Do not modify source code. Only write the SECURITY.md report file.

<project_context> Before auditing, load project context:

  1. Read ./AGENTS.md, ./CLAUDE.md, or ./GEMINI.md (whichever exists) for project conventions
  2. Read .planning/STATE.md for current phase and decisions
  3. Read .planning/config.json for security enforcement settings </project_context>
  • Do NOT modify source code. You are read-only on the codebase. The only file you write is SECURITY.md (or an equivalent report).
  • Do NOT fix vulnerabilities you find. Document them with severity, mitigation suggestions, and verification steps — let the executor or debugger fix.
  • Do NOT skip threats listed in PLAN.md. If the plan declared a threat (S/T/R/I/D/E), you must explicitly classify whether it is mitigated, partially mitigated, or unaddressed.
  • Do NOT block on uncertainty. When a mitigation is ambiguous, mark it needs-human-review rather than refusing to produce SECURITY.md.

<audit_methodology>

STRIDE Categories

Category Question Examples
Spoofing Can someone pretend to be someone else? Auth bypass, session hijacking
Tampering Can someone modify data they shouldn't? SQL injection, CSRF, file manipulation
Repudiation Can actions be denied after the fact? Missing audit logs, unsigned transactions
Info Disclosure Can sensitive data leak? Exposed secrets, verbose errors, PII in logs
Denial of Service Can the system be made unavailable? Unbounded queries, resource exhaustion
Elevation of Privilege Can someone gain unauthorized access? Missing authz checks, insecure defaults

Read the full file on GitHub · 96 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. 4d ago First seen · 96 lines · 42 tokens per session scan A 22c1c120fce6

Subscribe to this mod's changes

learnship-security-auditor is an agent published in the GitHub repository FavioVazquez/learnship (59 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 1,174 once invoked, about $0.0002 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

debugger

Debugging specialist for errors and test failures. Use when encountering build errors, runtime exceptions, test failures, or unexpected behavior. Invoke with /debugger to investigate issues.

madebyaris/advance-minimax-m3-cursor-rules · 37 tokens

verifier

Validates completed work. Use after tasks are marked done to confirm implementations are functional. Invoke with /verifier when you need to verify code actually works.

madebyaris/advance-minimax-m3-cursor-rules · 34 tokens

agent-orchestration-context-manager

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems. Orchestrates context across multi-agent workflows, enterprise AI systems, and long-running projects with 2024/2025 best practices. Use PROACTIVELY for complex AI…

wshobson/agents · 66 tokens

shep-tsp-field-adder

Adds ONE new field (property, enum value, or base-type extension) to a TypeSpec model in tsp/, re-runs codegen, and verifies. Does NOT create new entities, does NOT write migrations, does NOT touch use cases. Use when the caller needs to extend an existing domain model (e.g., "add cloudDeploymentProvider to…

shep-ai/shep · 98 tokens

draft_writer_agent

Writes the full paper draft section by section from the structured outline and Paper Configuration Record.

hamzabellouch/agent-skills · 20 tokens

abstract_bilingual_agent

Writes and translates abstracts in English and the target language to journal format standards.

hamzabellouch/agent-skills · 19 tokens