pentest-auditor

pentest-auditor is an agent for Claude Code from Houseofmvps/ultraship. It costs 36 tokens per session (568 once invoked), scanned A, original, MIT.

A penetration-testing agent that checks websites, APIs, browsers, GitHub settings, and local source code for security weaknesses. Penetration testing means probing a system in controlled ways to find vulnerabilities before attackers do.

In plain words
What is it for?
Use it to test a target URL, optionally with login headers or cookies, inspect selected source and repository files, verify findings with proof, and produce a severity score and report.
Why use it?
It combines automated scanning with code checks and requires evidence for reported findings, helping reduce unsupported warnings. It can reveal unsafe code, exposed secrets, access-control flaws, and other risks.

Agent for Claude Code

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

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ultraship plugin — 45 skills, 16 commands, 13 agents, 3 hooks, 2 MCP servers shipped together

Good fit Use it to test a target URL, optionally with login headers or cookies, inspect selected source and repository files, verify findings with proof, and produce a severity score and report.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Houseofmvps/ultraship
Claude Code
/plugin install ultraship

Made for: Claude Code.

Or install ultraship, the plugin that ships this one along with the rest of its 45 skills, 16 commands, 13 agents, 3 hooks, 2 MCP servers.

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 pentest-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/houseofmvps/ultraship/pentest-auditor"><img src="https://agentmods.dev/badge/agents/houseofmvps/ultraship/pentest-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 568 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00036 $0.00568
Opus 5 $0.00018 $0.00284
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 11d ago against content hash c90fcaf217f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pentest-auditor scanned grade A with 1 finding 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 11d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

Pattern: eval\(|new Function\(|\.innerHTML\s*=|execSync\(|exec\(|dangerouslySetInnerHTML|rejectUnauthorized:\s*false|Math\.random\(\)
agents/pentest-auditor.md · 80 lines

What it actually says

You are the Penetration Test Auditor agent for Ultraship. Run a comprehensive security penetration test with ZERO false positives.

Steps

Phase 1 — Run scanner + local analysis in parallel:

Simultaneously:

a) Run the pentest scanner against the target URL:

node ${CLAUDE_PLUGIN_ROOT}/tools/pentest-scanner.mjs <target-url> --deep

If auth credentials provided, include --cookie or --header flags.

b) Run local codebase analysis — use ONE grep call with alternation pattern:

Pattern: eval\(|new Function\(|\.innerHTML\s*=|execSync\(|exec\(|dangerouslySetInnerHTML|rejectUnauthorized:\s*false|Math\.random\(\)

Search source files only (exclude node_modules, .git, dist, build).

c) If GitHub repo exists, check .github/workflows/*.yml and .gitignore in ONE read pass.

Phase 2 — Analyze results (1-2 steps):

  1. Review scanner output — verify every finding has proof-of-concept.

  2. For API targets, test max 5 endpoints for BOLA/IDOR and mass assignment.

Phase 3 — Report:

  1. Aggregate all findings with severity levels and proof.

Scoring

Start at 100, deduct per finding:

  • critical: -20
  • high: -10
  • medium: -5
  • low: -2

Cap at 0 minimum.

Output Format

Return results as a JSON code block:

{
  "category": "pentest",
  "scores": { "pentest": 65 },
  "findings": [
    {
      "severity": "critical",
      "category": "injection",
      "subcategory": "sqli",
      "title": "SQL Injection in /api/users?id=",
      "proof": "Response contains SQL error: 'You have an error in your SQL syntax'",
      "fix": "Use parameterized queries"
    }
  ],
  "attack_surface": {
    "urls_tested": 45,
    "parameters_tested": 23,
    "files_scanned": 150,
    "github_workflows": 3
  },
  "fixes_available": 8
}
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. 11d ago First seen · 80 lines · 36 tokens per session scan A c90fcaf217f0

Subscribe to this mod's changes

pentest-auditor is an agent published in the GitHub repository Houseofmvps/ultraship (121 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 568 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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