Nullsec S1 MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nullsec S1 MCPscan circuits/ with deep mode"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nullsec S1 MCP
Security scanning tools for MCP-compatible coding agents.
s1-mcp brings Nullsec S1-style security checks into Cursor, Claude Desktop, and other MCP clients. General app/repo scanning is deterministic and local-first: it does not call a hosted S1 API, does not require an LLM, and does not claim a project is secure just because no supported files were found.
The server also keeps the existing s1_zk_* tools for Circom and Halo2 circuits through @trynullsec/s1-zk.
Install
Use it directly with npx:
npx -y s1-mcpOr install it in a project:
npm install --save-dev s1-mcp
npx s1-mcpRequires Node.js 20 or newer.
Related MCP server: wrg-mcp-server
MCP Config
Add this server to Cursor or Claude Desktop:
{
"mcpServers": {
"nullsec-s1": {
"command": "npx",
"args": ["-y", "s1-mcp"]
}
}
}Once connected, ask your agent to run s1_scan_repo, s1_scan_file, s1_gate, s1_explain_finding, or the ZK-specific s1_zk_* tools.
General App Tools
s1_scan_repo
Recursively scans supported app files under a target path.
Supported files:
.ts,.tsx,.js,.jsx,.mjs,.cjs.json.env.examplefor key-name exposure checks.solfor Base/EVM Solidity checks
Ignored by default: node_modules, .git, .next, dist, build, coverage, generated lockfile internals, pnpm-lock.yaml, and yarn.lock.
Input:
{
"target": "app",
"ruleCategories": ["auth", "secrets", "dangerous_exec"]
}Output includes:
targetfilesScannedrulesExecutedseverity
summaryissuesproductionGateunsupportedwhen no supported files are found
s1_scan_file
Scans one supported file with the same deterministic rules. Unsupported extensions return an explicit unsupported result instead of a pass/secure verdict.
{
"filePath": "app/api/admin/route.ts"
}s1_gate
Evaluates production readiness from existing findings or scans a target first.
{
"target": "app",
"policy": {
"blockCritical": true,
"blockHigh": true,
"requireDimensions": ["auth", "secrets", "rate_limits"]
}
}Blocks by default on critical findings, high findings, secret exposure, dangerous execution with user input, live Base/EVM deploy key patterns, and unauthenticated admin routes with dangerous behavior.
s1_explain_finding
Explains a finding for a developer, founder, or auditor using local templates.
{
"findingId": "S1-EXEC-005",
"audience": "developer"
}You can also pass a full finding object returned by s1_scan_repo or s1_scan_file.
Deterministic Rule Coverage
General scanning catches common AI-generated app risks:
Secrets: hardcoded OpenAI/Anthropic/Stripe-style keys,
sk_live_, bearer tokens, private keys, seed phrases, database URLs, webhook secrets, secrets returned in JSON, and secret-likeNEXT_PUBLIC_variables.Dangerous execution:
child_process.exec,execSync,spawnwithshell: true, user input flowing into command execution,eval, andnew Function.Auth: admin API routes without visible session/role checks, admin responses without auth, and mutation endpoints without visible auth.
Input validation:
await req.json()without visible schema validation.Rate limits: mutation API routes without visible rate limiting.
Environment exposure: returning
process.env, logging secrets, and concrete.envfiles if scanned.Dependency risk: install lifecycle scripts, git/http dependencies, and suspicious package scripts.
Base/EVM Solidity:
tx.origin,delegatecall,selfdestruct, unrestricted mint patterns, low-level calls, deploy private keys, live broadcast/deploy command patterns, and detectable hidden fee/drain controls.
No Solana assumptions are made by default; web3 wording and rules use Base/EVM terminology.
ZK Tools
s1_zk_scan
Scan Circom or Halo2-style ZK circuits using Nullsec S1-ZK.
{
"target": "circuits",
"deep": true,
"format": "json"
}Behavior:
npx @trynullsec/s1-zk scan <target> --format json --no-bannerWhen deep is true, the server adds --deep.
s1_zk_explain
Explain a Nullsec S1-ZK rule.
{
"ruleId": "NS-H2-005"
}s1_zk_rules
List supported Nullsec S1-ZK rules.
{}Examples
Next.js API route scan:
Use s1_scan_file on app/api/admin/route.ts and explain any production blockers.Base/EVM contract scan:
Use s1_scan_repo on contracts/ and then run s1_gate with blockHigh enabled.ZK circuit scan:
Use s1_zk_scan on circuits/ with deep mode enabled.Security Notes
General scanning is deterministic and local-only.
Target paths must stay within the server working directory.
General scanning performs no shell execution.
ZK tools invoke
@trynullsec/s1-zkthrough argv arrays withshell: false.The server does not send code to remote APIs.
Evidence is sanitized to avoid returning full secrets in MCP responses.
Development
npm install
npm run build
npm testRun the MCP server locally:
npm run devThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceSecurity co-pilot for AI agents. Scans for vulnerabilities like prompt injection, infinite loops, and token bombing in AI Agents, audits MCP servers, verifies AGENTS.md governance, and generates EU AI Act compliance reports.Last updated101083Apache 2.0
- Alicense-qualityAmaintenanceAn MCP server that exposes a 60+ tool security and threat-intel stack to AI agents, enabling secret scanning, Sigma rule generation, ransomware lookup, OSINT, and deep research.Last updated1MIT
- Alicense-qualityCmaintenanceExposes Ghidra reverse engineering capabilities via MCP, enabling LLMs and agents to analyze binaries, decompile, search, and edit programs headlessly or with GUI integration.Last updated394Apache 2.0
- AlicenseAqualityBmaintenanceAgent-native "safe to ship?" security gate for AI-generated code. Uses real parsers and inter-rocedural taint analysis (JS/TS, Python, Go) to flag the classes AI coding agents get wrong — secrets, SQL injection, SS, SSRF, path traversal, command injection, weak JWT/CORS — and ranks findings by confidence. Exposes a scan tool over MCP.Last updated1212MIT
Related MCP Connectors
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/trynullsec/s1-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server