Skip to content
secure-mcp
Esc
↑↓navigate↵open⌘Jpreview

Security audit skill for coding agents

Find the weaknesses.
Fix the right ones.

secure-mcp is a security audit skill for coding agents, focused on local-first Swift apps: storage, backups, imports, permissions, and data exposure. An optional local MCP server adds read-only tools.

Open source under Apache-2.0. No telemetry in this repository.

  • Skill first: one Markdown file, no build
  • Optional server: read-only, never runs your code
  • Remediation-first: no exploit guidance

See it in action

The optional server, four real outputs.

Real output from the optional MCP server, captured on the bundled fixture app and shown the way it appears when pi expands a tool call: inventory, guidance, findings, and the final report. The skill alone does not produce these results.

  • InventoryA bounded scan: stacks, paths, caps, and exactly what was covered.
  • GuidanceStack-aware checklists on demand: five packs, eight items, fixes included.
  • FindingsA structured finding: severity, confidence, redacted evidence, remediation.
  • ReportThe final remediation report: priorities first, verification with every fix.

What you get

A repeatable review, with an optional server behind it.

Built for scoping the work, guiding the agent, and handing a fix plan to a person.

  • Bounded

    Reviews that stay in scope

    The server applies file, depth, and size caps and returns structured coverage. The skill asks for a scope note, so what was not covered is said out loud.

  • Stack-aware

    Guidance for your actual stack

    Swift and SwiftUI first, then Expo and React Native, then TypeScript and Next.js. The server loads only the knowledge packs the detected stack needs.

  • Structured

    Findings built to act on

    Each confirmed finding has redacted evidence, severity and confidence, remediation, and a verification step. The server adds CWE and stable instance IDs.

  • Honest

    Coverage you can trust

    “Not observed” never means “not scanned”. Coverage records reviewed, ignored, excluded, and truncated scope, and candidates stay unconfirmed until proven.

  • Portable

    Works with the agents you use

    The skill is one Markdown file. The optional server is plain stdio MCP, which connects to Claude, Codex, Cursor, pi, and other MCP clients.

  • Remediation-first

    Defensive, by mandate

    Findings recommend rotation, hardening, and verification. No exploit guidance, no attack code, no misuse of discovered secrets.

Finding clarity

Structured underneath. Actionable on top.

Every finding carries the fields a developer needs to act, and it says what is not yet proven.

  • Severity and confidence on every finding
  • CWE classification and stable instance IDs (server)
  • Evidence redacted where sensitive
  • Remediation with a verification step

Built in public

Security tooling should be inspectable.

The implementation, tests, review methodology, and contribution process are open for scrutiny and improvement.

  • Inspect every boundary

    Read the filesystem containment, redaction, tool schemas, knowledge packs, and tests in the public repository.

    Browse the source
  • Shape the roadmap

    Report false positives, propose stack coverage, and bring real defensive-review workflows to the issue tracker.

    Open an issue
  • Contribute safely

    Add tests, detectors, and remediation guidance while preserving the read-only and evidence-first trust model.

    Read the contributor guide

Apache-2.0

Free to use. Open to improve.

Use, modify, and distribute secure-mcp under a permissive license with an explicit patent grant.

secure-mcp

$0

The skill, plus an optional server with 12 tools and stack-aware packs.

  • The security audit skill: one Markdown file, no build or server needed
  • Optional MCP server with 12 tools: inventory, architecture, packs, guidance, and category reviews
  • Stack-aware packs for Swift, Expo / React Native, and TypeScript / Next.js
  • Structured findings with remediation and verification steps
  • Server: Linux and macOS only. Windows is not supported.
  • Server runs locally: read-only, no network, no telemetry
Get the source

Apache-2.0 terms apply. Contributions are welcome.

FAQ

Common questions, straight answers.

Short answers about the skill and the optional server, including what they do not do.

What is secure-mcp?

A security audit skill for coding agents, focused on Swift apps. The skill guides a defensive review. The optional local MCP server adds read-only tools for bounded inventory, stack-aware guidance, category checks, and a remediation report over stdio.

Does it run my code?

No. The server never executes project code, build scripts, or binaries. Its tools are read-only and read files under the project root within size and count caps. The skill limits the agent to inspection and runs existing checks only when you authorize them. Without the server, nothing in this repository enforces that.

Does my code leave my machine?

Not through the server. It makes no network calls and runs as a local process: logs go to stderr only, stdout is reserved for MCP messages, and filesystem tools are limited to explicitly allowed roots. The skill runs inside your coding agent, so the code it reads is handled under that agent's data policy.

Which stacks does it support?

Swift and SwiftUI first, then Expo and React Native, then TypeScript and Next.js (App Router, Server Actions, middleware). The skill targets local-first iOS, macOS, and Expo apps. More surfaces are planned.

Which platforms are supported?

The server runs on Linux and macOS only. Windows is not supported. The skill is a Markdown file, so the platform limit applies to the server.

Is this an offensive tool?

No. It is remediation-focused by mandate: findings recommend rotation, hardening, and verification, never exploit guidance or attack code.

Looking for something specific? Browse the Getting Started guide. Or read the full documentation.

The optional server

The server makes no network calls.

The server runs entirely on your machine: read-only tools, stdio transport, no network calls, and no telemetry. The skill runs inside your coding agent, so its data handling follows that agent.