Skarn
Scan AI coding session logs and assistant configs for leaked secrets and risky hooks
- Pricing
- Freemium
- Platforms
- CLI
- Runs
- Locally
- Version
- 0.36.0
- Listing updated
- 3 days ago
About Skarn
Skarn is a freemium MCP server for security. It runs locally on your machine and is started by your AI client.
Coding assistants write whole conversations to disk unencrypted, so pasted keys and .env contents stay in the logs. Skarn reads those logs locally, with no upload and no network call by default, and masks every credential it reports.
It links a secret read, an injection and an outbound call into one attack chain, maps findings to MITRE ATLAS in the HTML report, and gives each machine a risk score from 0 to 100. The first command, skarn assess, needs no account or licence.
The free tier is the full local scanner; Pro and Team add paid controls. The registry lists an npm stdio package, and binaries are on GitHub and Homebrew. It covers assistants such as Claude Code, Codex, Cursor, Gemini CLI and Copilot.
Install
Run in a terminal
claude mcp add skarn -- npx -y @skarn-security/skarnAdd to claude_desktop_config.json
{
"mcpServers": {
"skarn": {
"command": "npx",
"args": [
"-y",
"@skarn-security/skarn"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"skarn": {
"command": "npx",
"args": [
"-y",
"@skarn-security/skarn"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"skarn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@skarn-security/skarn"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"skarn": {
"command": "npx",
"args": [
"-y",
"@skarn-security/skarn"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"skarn": {
"command": "npx",
"args": [
"-y",
"@skarn-security/skarn"
]
}
}
}What it does
- Local scanning
- Reads session logs on disk, no egress.
- Redacted reports
- Markdown or HTML without full secrets.
- Attack chains
- Links read, injection and outbound call.
- Risk score
- 0 to 100 per machine.
- Wide coverage
- Many assistants.
Good for
- Find credentials pasted into sessions
- Audit risky hooks
- Share a redacted finding
- Score a machine
Pricing
Freemium
Free local scanner; Pro and Team add paid controls, prices not published
Prices change. Check getskarn.com before you buy.
Skarn FAQ
Does it upload data?
No, none by default.
Account needed?
Not for skarn assess.
Free?
Free tier is the full local scanner.
Modifies sessions?
No, it reads only.
Is Skarn free?
Skarn has a free plan, with paid plans for more usage or features.
How do I add Skarn to Claude Code?
Run this command in your terminal: claude mcp add skarn -- npx -y @skarn-security/skarn
What are the best alternatives to Skarn?
The closest alternatives to Skarn are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.
Alternatives to Skarn

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security