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

secure-mcp

A security and data privacy audit skill for coding agents, focused on Swift apps, with an optional strict MCP v2 server for read-only heuristic assistance.

Swift first Skill file

A security audit skill for coding agents

secure-mcp is a security and data privacy audit skill for coding agents, focused on Swift and SwiftUI. It targets local-first iOS, macOS, and Expo / React Native apps, with particular attention to SQLite and local storage, backups, imports, permissions, and data exposure. The skill is one Markdown file. It needs no build, no Node.js, and no client configuration.

The repository also includes an optional local MCP server. The server gives agents read-only heuristic tools for the same kind of review, plus TypeScript / Next.js support. The maintainer uses only the skill, so you do not need the server to run an audit.

The operating model

Start from the data

Map the app’s sensitive data, storage, and trust boundaries before looking at individual files.

Report clearly

Keep confirmed findings, open questions, and dismissed candidates separate. An audit covers inspection, not fixes.

Verify before reporting

Heuristic hits are candidates. Confirm the data flow in source before you call something a finding.

What it covers today

Surface Coverage
Apple platforms Swift, SwiftUI, Keychain, ATS, WebView bridges, deep links, and macOS controls
React Native Expo config, SecureStore, OTA boundaries, deep links, and token storage
Web TypeScript, Next.js App Router, API handlers, cookies, CSRF, and NEXT_PUBLIC_ exposure
Cross-cutting Authentication, injection risks, secrets, threat modeling, and report rollup

The optional server’s detectors and knowledge packs cover the same surfaces. Without the server, nothing in this repository enforces read-only access, path limits, or redaction. Those depend on the agent following the skill and on the permissions you give it.

Read the design notes

Understand the server’s process boundaries, filesystem policy, progressive knowledge packs, and extension points.

Was this page helpful?