scan

scan is a command for coding agents from vibeforge1111/vibeship-plugin. It costs 12 tokens per session (1,294 once invoked), scanned A, original, Apache-2.0.

A command for checking project code or a GitHub repository for security vulnerabilities.

In plain words
What is it for?
It starts an asynchronous scan, reports its progress, and presents the findings when the scan finishes.
Why use it?
It identifies possible security problems before they reach users or production.

Command

Part of the vibeship plugin — 5 commands, 3 MCP servers 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 commands/vibeforge1111/vibeship-plugin/scan
Clone the repo
git clone --depth 1 https://github.com/vibeforge1111/vibeship-plugin

Or install vibeship, the plugin that ships this one along with the rest of its 5 commands, 3 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 scan

README.md
[![agentmods](https://agentmods.dev/badge/commands/vibeforge1111/vibeship-plugin/scan.svg)](https://agentmods.dev/commands/vibeforge1111/vibeship-plugin/scan)
Your own site
<a href="https://agentmods.dev/commands/vibeforge1111/vibeship-plugin/scan"><img src="https://agentmods.dev/badge/commands/vibeforge1111/vibeship-plugin/scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 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,294 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.00012 $0.01294
Opus 5 $0.00006 $0.00647
Sonnet 5 $0.00002 $0.00259
Haiku 4.5 $0.00001 $0.00129

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

Security

Grade A, and why

scan 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 3d 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.

commands/scan.md · 209 lines

How it starts

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

Vibeship Security Scan

The user wants to scan code for security vulnerabilities. Help them run a comprehensive scan.

Step 1: Determine What to Scan

Ask (if not clear) what they want to scan:

  1. Current project - Scan the codebase they're working in
  2. GitHub repository - Scan a specific repo URL
  3. Specific files - Focus on particular files or directories

Step 2: Start the Scan

Use scanner_scan tool:

scanner_scan({
  repo_url: "https://github.com/owner/repo",
  branch: "main"  // optional
})

For local projects, you'll need to:

  • Check if project has a GitHub remote
  • Use that URL for scanning
  • Or explain that local-only scanning requires pushing to GitHub first

Step 3: Monitor Progress

The scan runs asynchronously. Use scanner_status to check progress:

scanner_status({ scan_id: "..." })

Keep the user informed:

  • "Scan started! ID: xxx"
  • "Scanning... 45% complete"
  • "Scan finished! Found X issues."

Step 4: Present Results

When scan completes, show a clear summary:

## 🔍 Security Scan Results

**Repository**: [repo name]
**Scan ID**: [id]
**Completed**: [timestamp]

### Summary
- 🔴 Critical: X
- 🟠 High: X
- 🟡 Medium: X
- 🟢 Low: X

### Top Issues

1. **[Severity] [Issue Title]**
   - File: `path/to/file.js:42`
   - CWE: CWE-79 (Cross-Site Scripting)
   - Description: [brief explanation]

2. ...

### Next Steps
- Use `/vibeship-scan fix` to get AI-generated fixes
- Use `/vibeship-scan details [finding-id]` to learn more about a specific issue

Step 5: Offer Follow-up Actions

Based on results, offer to:

  • Look up CVE/CWE details: scanner_lookup_cve, scanner_lookup_cwe
  • Get AI-generated fixes: scanner_get_fix
  • Generate master fix prompt: scanner_master_prompt

Handling Errors

If Scanner MCP isn't connected:

## Scanner Unavailable

**What happened:** Can't connect to the security scanning service.

**You have alternatives!**

| Option | How | Best For |
|--------|-----|----------|
| **Local SAST** | `npx opengrep scan .` | Quick code analysis |
| **Dependency check** | `npm audit` or `trivy fs .` | Known vulnerabilities |
| **Web scanner** | Visit scanner.vibeship.co | Full GitHub repo scan |
| **Restart** | Close/reopen Claude Code | Connection issues |

**Want me to run a local scan instead?** I can use opengrep or npm audit right now.

Read the full file on GitHub · 209 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. 3d ago First seen · 209 lines · 12 tokens per session scan A adcb9b724299

Subscribe to this mod's changes

scan is a command published in the GitHub repository vibeforge1111/vibeship-plugin (2 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 1,294 once invoked, about $0.0001 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-31.