Local repository scanner and 26-rule specification
Built for CTOs, security engineers, and coding agents across TypeScript, Python (FastAPI, LiteLLM, LangChain), and Rust (Axum, Actix, Rig, async-openai, rmcp) repositories. Runs 26 deterministic checks in under 5 seconds with zero LLM tokens and zero source-code upload, pre-scores the 33-control AI Security Scorecard 2027, exports standard SARIF 2.1.0 for Claude Security and GitHub Code Scanning, and flags changed buyer claims across commits via npx @crxo/cli diff.
npx @crxo/cli auditCRXO v0.3.0 - Local AI Security & Procurement CheckVerified at Commit 8f3a21c on 2026-12-02 (118ms, local)------------------------------------------------------------CRXO-001 AI SDKs PASS openai, @anthropic-ai/sdkCRXO-003 Data Retention PASS store:false & ZDR configCRXO-007 MCP Pinning PASS 0 unpinned npx/uvx toolsCRXO-008 Agent Guard PASS No wildcard allowedToolsCRXO-014 Shadow Tracing WARNING Undisclosed Langfuse SDKCRXO-021 Output Guard PASS Zod schema + 0 unsafe sinksCRXO-023 Tool Authz PASS Tenant/session bound on tools------------------------------------------------------------Score: 96/100 | Passed: 24/25 | Warnings: 1 | Blockers: 0Written: AI-TRUST.md, .crxo/ai-trust.json (zero code sent)
How CRXO differs from Snyk, CodeQL, and Claude Security
Snyk, CodeQL, and Claude Security help your engineers find and patch code bugs inside PRs. CRXO sits on top of them in CI/CD (via --with-snyk, --with-sarif, and --with-promptfoo) to prove to enterprise buyers and AI agents that your AI stack is safe at every commit, without uploading source code or exposing vulnerability details publicly.
Internal PR Scanners (Snyk, CodeQL, Claude Security, Semgrep)
Help your engineers find and patch bugs inside PRs
Built for dependency CVEs, diff review, and opening fix PRs. Stops at the merge button and cannot act as a neutral, model-agnostic external buyer proof layer across multi-model stacks.
External Buyer Proof & Agent Seal (CRXO)
Sits on top of your scanners to verify AI execution at every commit
Runs locally in under 5 seconds at $0 token cost with zero source code uploaded. Audits 26 AI controls (model pinning, ZDR flags, MCP guardrails, SKILL.md poisoning) and outputs open CycloneDX 1.7 AI-BOMs, read-only crxo.com/mcp verification, and NDA-gated buyer evidence.
| Dimension | Snyk / CodeQL / Claude Security | CRXO (@crxo/cli) |
|---|---|---|
| Primary job | Find code vulnerabilities and patch PRs for internal engineers. | Sit on top of internal scanners in CI/CD to publish commit-scoped external buyer proof and an AI agent trust seal. |
| What it audits | General dependency CVEs, SAST findings, and PR code diffs. | 26 deterministic AI execution controls: model pinning, ZDR/training opt-out, MCP transport allowlists, agent kill switches, RLS, and SKILL.md ToxicSkills poisoning (CRXO-026). |
| Privacy & lock-in | Often requires cloud repo access, org tokens, or proprietary dashboards. | 100% local scan (<5s, $0, zero source or .env upload). MIT open source with open OWASP CycloneDX 1.7 and OASIS SARIF 2.1.0 outputs. |
| Public vs. NDA safety | Internal developer alerts only; not packaged for external procurement. | Public pages and /mcp expose only the high-level verified commit score and subprocessors (zero attack vectors); detailed file citations stay behind NDA. |
Complete 26-rule verification matrix (CRXO-001 to CRXO-026)
Aligned to CSA AICM v1.1 (including I&S-02), OWASP LLM Top 10:2026, and OWASP Top 10 for Agentic Applications (ASI02 to ASI10). Supports two-way SARIF 2.1.0 via --sarif-out / --with-sarif, --scorecard-2027, plus sanitized Snyk Agent Scan and Promptfoo eval adapters via --with-snyk and --with-promptfoo.
| Rule | CSA Control | Default Fail | Title & Deterministic Check | Inspected Files |
|---|---|---|---|---|
| CRXO-001 | AIS-01 | Info | AI SDK & Agent Framework Inventory Enumerates all LLM and agent SDKs (openai, @anthropic-ai/sdk, @google/genai, ai, langchain, llamaindex, bedrock) for CycloneDX 1.7 AI-BOM generation. | package.json, pyproject.toml, requirements.txt |
| CRXO-002 | MDS-03 | Warning | Immutable Model Version Pinning Checks referenced model identifiers for immutable dated/versioned IDs instead of mutable -latest aliases. | *.ts, *.tsx, *.py, .env.example |
| CRXO-003 | DSP-04 | Warning | Zero-Data-Retention (ZDR) & Store Flag Configuration Verifies OpenAI/LLM API calls set store: false or explicit ZDR header configuration and declared training opt-out posture. | *.ts, *.py, crxo.config.json |
| CRXO-004 | DSP-05 | Blocker | Commercial API & Training Opt-Out Enforcement Verifies commercial API, AWS Bedrock, or GCP Vertex AI usage only and flags consumer proxy URLs or unredacted prompt file dumps. | *.ts, *.py, crxo.config.json |
| CRXO-005 | DSP-09 | Warning | Explicit Cloud & AI Data Residency Pinning Verifies explicit cloud and AI region pinning (AWS_REGION, VERTEX_LOCATION, or crxo.config.json dataResidency) instead of wildcard routing. | .env.example, supabase/config.toml, crxo.config.json, IaC files |
| CRXO-006 | MCP-01 / ASI02 Tool Misuse | Info | MCP Server & Transport Inventory Inventories every configured Model Context Protocol (MCP) server and transport (stdio, sse, streamable-http). | .mcp.json, .cursor/mcp.json, .claude/settings.json |
| CRXO-007 | MCP-02 / ASI04 Agentic Supply Chain | Blocker | MCP Supply Chain Version Pinning (CVE-2026-47751) Blocks unpinned npx -y <pkg> or uvx <pkg> MCP server commands lacking an exact @x.y.z or ==x.y.z version pin. | .mcp.json, .cursor/mcp.json, .claude/settings.json |
| CRXO-008 | MCP-03 / ASI05 Unexpected Code Execution | Blocker | MCP Least-Privilege Execution Guardrails (CVE-2025-59536) Blocks wildcard allowedTools: ["*"], autoApprove flags, or unreviewed pre-trust shell execution hooks in agent configs. | .claude/settings.json, .mcp.json, .agents/ |
| CRXO-009 | IAM-04 / ASI03 Identity/Privilege Abuse | Blocker | MCP & Agent Config Secret Hygiene (CVE-2026-21852) Blocks literal API keys (sk-, Bearer tokens, ghp_, xoxb-, or hardcoded credentials) committed inside MCP or agent configs. | All MCP & agent JSON/YAML files |
| CRXO-010 | DSP-07 / ASI06 Memory/Context Poisoning | Warning | Coding-Agent Context Isolation (.agentignore) Checks that the repository includes an agent-ignore file blocking .env*, *.pem, *.key, and database dumps from coding-agent context. | .agentignore, .claudeignore, .cursorignore |
| CRXO-011 | IAM-05 | Blocker | Environment Secret Isolation (.gitignore & .env.example) Blocks repositories whose .gitignore omits .env* rules and maps .env.example variable names to known subprocessors. | .gitignore, .env.example |
| CRXO-012 | LOG-02 | Warning | Prompt & Completion Logging Redaction Flags console.log or structured logger calls that print raw messages, prompt, or completion objects without redaction. | *.ts, *.tsx, *.py |
| CRXO-013 | DSP-11 | Info | Vector Store & RAG Subprocessor Disclosure Detects Pinecone, Weaviate, Qdrant, Upstash Vector, Chroma, or pgvector so RAG storage appears in the subprocessor manifest. | Lockfiles, package.json, pyproject.toml, supabase/migrations/*.sql |
| CRXO-014 | STA-03 | Warning | Shadow LLM Tracing & Observability Detection Flags LLM observability SDKs (langsmith, langfuse, helicone, braintrust, arize, portkey) that capture prompts and are frequently omitted from DPAs. | package.json, pyproject.toml, .env.example |
| CRXO-015 | IAM-01 | Warning | Multi-Tenant Row Level Security (RLS) Verification Verifies ENABLE ROW LEVEL SECURITY on public Supabase tables or explicit tenant org_id isolation in database schemas. | supabase/migrations/*.sql, Prisma/Drizzle schemas |
| CRXO-016 | I&S-02 (legacy IVS-02) | Blocker | Inbound Webhook Cryptographic Signature Verification Verifies cryptographic HMAC or signature validation (constructEvent, Svix, timingSafeEqual) on inbound webhook handlers. | app/api/**/webhooks/**/route.ts |
| CRXO-017 | AIS-08 | Warning | AI Endpoint Rate Limiting & Denial-of-Wallet Caps Checks public and AI API routes for rate limiting (@upstash/ratelimit or custom rate limiter) and token/row ceiling caps. | app/api/**/route.ts, package.json |
| CRXO-018 | CCC-02 | Blocker | Deterministic Lockfile & Secure Dependency Transport Blocks repositories missing a committed lockfile or referencing insecure http:// git dependencies. | pnpm-lock.yaml, package-lock.json, yarn.lock, uv.lock, poetry.lock |
| CRXO-019 | GRC-04 | Warning | Machine-Readable Trust & Vulnerability Disclosure Checks presence of RFC 9116 security.txt and machine-readable ai-trust.json endpoints for autonomous buyer research agents. | public/.well-known/security.txt, public/.well-known/ai-trust.json, .crxo/ai-trust.json |
| CRXO-020 | DSP-06 | Warning | Tenant Data Disposal & Retention TTL Controls Checks for ON DELETE CASCADE tenant cleanup constraints or an explicit retention TTL schedule for GDPR/enterprise offboarding. | supabase/migrations/*.sql, crxo.config.json |
| CRXO-021 | AIS-09 / LLM10:2026 Improper Output Handling | Blocker | Model Output Schema Validation & Unsafe Sink Guard Blocks raw LLM or agent completion variables passed directly into dangerouslySetInnerHTML, eval(), new Function(), or shell exec(), and verifies structured output validation. | *.ts, *.tsx, *.js, *.py, *.rs |
| CRXO-022 | MCP-04 / ASI02 Tool Misuse / ASI04 Supply Chain | Warning | Remote MCP Endpoint Domain Allowlist (SEP-2640) Verifies that remote HTTP/SSE Model Context Protocol (MCP) endpoints match an explicit trusted origin allowlist in crxo.config.json so remote servers cannot push unreviewed skills. | .mcp.json, .cursor/mcp.json, .claude/settings.json, crxo.config.json |
| CRXO-023 | IAM-06 / ASI03 Identity & Privilege Abuse | Blocker | AI Tool-Call Tenant & Session Authorization Gate Flags AI agent tool handlers (tool({ execute }), @tool, function_tool) that query database clients without referencing caller session, user, or tenant identity. | *.ts, *.tsx, *.py, *.rs (AI tool definitions) |
| CRXO-024 | LOG-04 / NIST AI RMF MANAGE 4.1 | Warning | Agent Action & Tool-Call Telemetry (SIEM / OpenTelemetry) Verifies OpenTelemetry (@vercel/otel, @opentelemetry/api, opentelemetry-sdk, tracing-opentelemetry) or structured audit telemetry in repositories running AI models or MCP tools. | package.json, pyproject.toml, Cargo.toml, instrumentation.*, *.ts, *.py |
| CRXO-025 | AIS-12 / ASI10 Rogue Agents / NIST MANAGE 2.4 | Warning | Rogue-Agent Kill Switch & Runtime Circuit Breaker Verifies a feature-flag or environment circuit breaker (@flags-sdk, LaunchDarkly, Statsig, AI_KILL_SWITCH, AGENT_KILL_SWITCH, or crxo.config.json agentKillSwitch) to disable agent execution in one step. | package.json, .env.example, crxo.config.json, *.ts, *.py, *.rs |
| CRXO-026 | MCP-05 / OWASP AST01 / ASI06 Context Poisoning | Blocker | Agent Skill & Prompt-File Supply Chain Audit (ToxicSkills) Audits agent skill and instruction markdown files for malicious pipe-to-shell downloads, encoded PowerShell payloads, secret exfiltration directives (.env, ~/.ssh, ~/.aws), and hidden zero-width Unicode smuggling. | .claude/skills/*.md, .agents/skills/*.md, .cursor/rules/*.mdc, skills/**/SKILL.md, CLAUDE.md, AGENTS.md |