inventory-surface-analyzer

inventory-surface-analyzer is an agent for Claude Code from Stickman230/claude-pentest. It costs 89 tokens per session (2,385 once invoked), scanned A, original, MIT.

An agent that combines software, directory, API, and JavaScript route findings into one inventory of a web application's attack surface—the parts an attacker could reach or interact with. It removes duplicate findings and organizes them by type and risk.

In plain words
What is it for?
Use it after web-application mapping to produce a consolidated attack-surface report and a prioritized testing checklist.
Why use it?
It turns several separate discovery results into a single prioritized view for security testing. Missing inputs are noted so the report can still continue.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pentest plugin — 7 skills, 5 commands, 15 agents shipped together

Good fit Use it after web-application mapping to produce a consolidated attack-surface report and a prioritized testing checklist.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/stickman230/claude-pentest/inventory-surface-analyzer
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/Stickman230/claude-pentest

Made for: Claude Code.

Or install pentest, the plugin that ships this one along with the rest of its 7 skills, 5 commands, 15 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 inventory-surface-analyzer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/stickman230/claude-pentest/inventory-surface-analyzer"><img src="https://agentmods.dev/badge/agents/stickman230/claude-pentest/inventory-surface-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 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,385 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.00089 $0.02385
Opus 5.5 $0.00036 $0.00954
Sonnet 5.5 $0.00018 $0.00477
Haiku 4.5 $0.00009 $0.00238

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

Security

Grade A, and why

inventory-surface-analyzer 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.

plugins/pentest/agents/inventory-surface-analyzer.md · 218 lines

How it starts

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

Inventory Surface Analyzer

Synthesize all mapping agent outputs into a unified attack surface inventory. Read structured JSON from inventory/ directories, cross-reference across agent outputs, deduplicate overlapping data, and produce a prioritized attack surface report and testing checklist.

When to Use

Deployed by web-application-mapping skill coordinator — always run after all four mapping agents complete. Never invoked directly by users.

Workflow

Phase 1: Recon

  1. Mount skill file:
    Read plugins/pentest/skills/web-application-mapping/SKILL.md
    
  2. Read all inventory JSON files produced by prior agents:
    Read outputs/ENGAGEMENT/inventory/software-catalog.json
    Read outputs/ENGAGEMENT/inventory/directories.json
    Read outputs/ENGAGEMENT/inventory/api-endpoints.json
    Read outputs/ENGAGEMENT/inventory/javascript-routes.json
    
  3. Read all analysis markdown files from prior agents:
    Read outputs/ENGAGEMENT/analysis/software-catalog.md
    Read outputs/ENGAGEMENT/analysis/directories.md
    Read outputs/ENGAGEMENT/analysis/api-endpoints.md
    Read outputs/ENGAGEMENT/analysis/javascript-routes.md
    
  4. If any inventory file is missing (agent did not run), note it and continue with available data:
    • Missing software-catalog.json → skip CVE-flagged component section
    • Missing directories.json → skip directory-based attack surfaces
    • Missing api-endpoints.json → skip API-specific sections
    • Missing javascript-routes.json → skip SPA/JS-specific sections
  5. Log:
    {"timestamp":"...","agent":"inventory-surface-analyzer","action":"recon","files_loaded":4,"files_missing":0,"total_components":18,"total_paths":87,"total_endpoints":52,"total_routes":31}
    

Phase 2: Experiment

  1. Identify overlapping data across agents — the same endpoint may appear in both api-endpoints.json (from kiterunner) and javascript-routes.json (from AJAX capture):
    • Match API paths from api-endpoints.json against ajax_endpoints in javascript-routes.json
    • Merge into single deduplicated list with source tags: ["api-discovery","js-mapper"]
  2. Correlate technology stack with directories:
    • If software-catalog.json contains WordPress → flag /wp-admin, /wp-content, /wp-json as expected paths
    • If software-catalog.json contains Laravel → flag /api, /.env as high-interest paths
    • If software-catalog.json contains Express.js → flag /api/v1 pattern paths
  3. Correlate CVE-flagged components with discovered endpoints:
    • Components with cve_check: required from software-catalog.json → note which paths expose them
  4. Identify authentication boundaries across the full surface:
    • Public routes from javascript-routes.json
    • Unauthenticated API endpoints from api-endpoints.json
    • Admin panels from directories.json
    • Cross-reference: any admin panel accessible without auth?
  5. Log:
    {"timestamp":"...","agent":"inventory-surface-analyzer","action":"experiment","deduplicated_endpoints":67,"overlaps_found":8,"auth_boundaries_mapped":true,"cve_exposure_paths":3}
    

Read the full file on GitHub · 218 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. 2mo ago First seen · 218 lines · 89 tokens per session scan A c611e5fbb128

Subscribe to this mod's changes

inventory-surface-analyzer is an agent published in the GitHub repository Stickman230/claude-pentest (133 stars, last pushed 5mo ago), licensed MIT. It adds 89 tokens to every session and 2,385 once invoked, about $0.0004 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

inventory-surface-analyzer compared with agents from other repositories

inventory-surface-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inventory-surface-analyzerStickman230/claude-pentestAgent1335mo agoMITA89Claude Code
darleneogrodev/fsocietyAgent227mo agoMITA188Claude Code
scoutogrodev/fsocietyAgent227mo agoMITA176Claude Code
exploit-suggesterallsmog/blackbox-claude-pluginAgent68mo agoMITA167Claude Code
exploit-runnerallsmog/blackbox-claude-pluginAgent68mo agoMITA147Claude Code
shell-managerallsmog/blackbox-claude-pluginAgent68mo agoMITA141Claude Code
source-analyzerallsmog/blackbox-claude-pluginAgent68mo agoMITA67Claude Code