AI Surface — AI skill for Claude Code
Find and govern AI attack surfaces in application code, at PR time and inside your AI coding tool (MCP server, Claude Code hook).
How to install AI Surface
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open apisec-inc/AI-Surface and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Surface does
Find and govern AI attack surfaces in application code, at PR time and inside your AI coding tool (MCP server, Claude Code hook). Free, OSS, runs offline.
Alternatives in AI
- Surface — Show ranked attack surface for a target from its recon manifest + hunt memory 3.8k ★
- Iai Personal Memory Engine — A cyber brain for your AI 866 ★
- ZotSeek — AI semantic search for Zotero, with a built-in MCP server for AI agents (Claude Code, Codex) 193 ★
README
ai-surface
**Find the AI attack surface your code is about to ship. Locally, offline, before the PR merges.**
[](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://github.com/apisec-inc/AI-Surface/blob/main/CHANGELOG.md) [](https://github.com/apisec-inc/AI-Surface/tree/main/tests) [](https://github.com/apisec-inc/AI-Surface/blob/main/docs/PRIVACY.md)
`ai-surface` maps the AI attack surface in your codebase: LLM calls, agents, MCP servers, RAG/vector stores, model gateways, self-hosted runtimes, provider keys, and the HTTP APIs that expose them. Run it locally, in CI, or inside your AI coding tool to see what AI surfaces a change introduces, generate an AI-BOM, and gate new high-risk findings before merge.
Most layers of a codebase already have a check that runs before merge: Trivy for container images, Gitleaks for committed secrets, an SCA for dependencies. The AI layer, the agents, MCP servers, RAG, and LLM calls, has not had one. `ai-surface` is that check.
Every risky finding carries a verdict: **confirmed risk** (an unambiguous fact of the code as written, like a financial-action tool with no approval step) or **likely risk** (inferred, wants a human look). Every scan ends on a scorecard with a posture grade. CI setup is one command: `ai-surface init`.
It runs as a local static analysis pass that executes no code, makes no network calls, sends no telemetry, and requires no credentials, so your source never leaves the host.
Try it without installing:
uvx --from apisec-ai-surface ai-surface scan .
If ai-surface is useful to you, [
Related Skills
Conductor OSS
Local-first control surface for AI coding agents, workspaces, worktrees, terminals, diffs, previews, and paire
Find Unknowns
Agent Skill: Unknowns SOP for AI coding agents — blind spot scan, prototype, interview, implementation notes,
AI Job Automation
Automated job search and application system using Claude Computer Use to intelligently find and apply to jobs
Agentleak
Find secrets you already leaked into AI chat sessions — offline, local-first.
Datafog Python
Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM
Apohara Agentguard
Anti-bypass command-safety hook, local seccomp+Landlock sandbox, and deterministic prompt-injection firewall f
Related Agents
AI Discovery Strategist
Use when AI search, answer surfaces, conversational discovery, citations, product recommendations, or cross-su
Socratic Questioner
Mandatory pre-implementation interrogation. Use before any non-trivial coding task to surface assumptions, fin
Questioner
Mandatory pre-implementation interrogation. Use before any non-trivial coding task to surface assumptions, fin