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.

Zero Login / Zero Source Uploaded
$npx @crxo/cli audit
CRXO v0.3.0 - Local AI Security & Procurement Check
Verified at Commit 8f3a21c on 2026-12-02 (118ms, local)
------------------------------------------------------------
CRXO-001 AI SDKs PASS openai, @anthropic-ai/sdk
CRXO-003 Data Retention PASS store:false & ZDR config
CRXO-007 MCP Pinning PASS 0 unpinned npx/uvx tools
CRXO-008 Agent Guard PASS No wildcard allowedTools
CRXO-014 Shadow Tracing WARNING Undisclosed Langfuse SDK
CRXO-021 Output Guard PASS Zod schema + 0 unsafe sinks
CRXO-023 Tool Authz PASS Tenant/session bound on tools
------------------------------------------------------------
Score: 96/100 | Passed: 24/25 | Warnings: 1 | Blockers: 0
Written: 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.

DimensionSnyk / CodeQL / Claude SecurityCRXO (@crxo/cli)
Primary jobFind 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 auditsGeneral 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-inOften 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 safetyInternal 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.
# 1. Export deterministic AI governance findings as SARIF 2.1.0 (feed into Claude Security or GitHub Code Scanning)
$ npx @crxo/cli audit --sarif-out .crxo/crxo.sarif
# 2. Roll sanitized Snyk, CodeQL, or Claude Security triage counts into your buyer report (zero raw snippets)
$ npx @crxo/cli audit --with-sarif ./security-review.sarif --with-snyk ./snyk-mcp.json
# 3. Pre-score the 33-control AI Security Scorecard 2027 (CSV, Markdown, or JSON)
$ npx @crxo/cli audit --scorecard-2027 --scorecard-out scorecard-2027.csv
# 4. Share the commit-scoped score & CycloneDX 1.7 AI-BOM with your founder or buyer
$ npx @crxo/cli preview

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.

RuleCSA ControlDefault FailTitle & Deterministic CheckInspected Files
CRXO-001AIS-01Info

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-002MDS-03Warning

Immutable Model Version Pinning

Checks referenced model identifiers for immutable dated/versioned IDs instead of mutable -latest aliases.

*.ts, *.tsx, *.py, .env.example
CRXO-003DSP-04Warning

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-004DSP-05Blocker

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-005DSP-09Warning

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-006MCP-01 / ASI02 Tool MisuseInfo

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-007MCP-02 / ASI04 Agentic Supply ChainBlocker

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-008MCP-03 / ASI05 Unexpected Code ExecutionBlocker

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-009IAM-04 / ASI03 Identity/Privilege AbuseBlocker

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-010DSP-07 / ASI06 Memory/Context PoisoningWarning

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-011IAM-05Blocker

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-012LOG-02Warning

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-013DSP-11Info

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-014STA-03Warning

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-015IAM-01Warning

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-016I&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-017AIS-08Warning

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-018CCC-02Blocker

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-019GRC-04Warning

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-020DSP-06Warning

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-021AIS-09 / LLM10:2026 Improper Output HandlingBlocker

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-022MCP-04 / ASI02 Tool Misuse / ASI04 Supply ChainWarning

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-023IAM-06 / ASI03 Identity & Privilege AbuseBlocker

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-024LOG-04 / NIST AI RMF MANAGE 4.1Warning

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-025AIS-12 / ASI10 Rogue Agents / NIST MANAGE 2.4Warning

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-026MCP-05 / OWASP AST01 / ASI06 Context PoisoningBlocker

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