Skip to main content

Security Model

OPM layers five independent defenses. No single layer is sufficient — together they catch supply chain injection, typosquatting, dependency confusion, maintainer takeover, and known CVEs.

1. Cryptographic Signing

Every package gets a SHA-256 checksum and ECDSA signature (secp256k1) from the author’s Ethereum wallet. Both are stored on-chain and verified at install time. Tampered tarballs are rejected.

2. Multi-Agent AI Scanning

Three LLMs (Claude, Gemini, DeepSeek) analyze source code, dependency metadata, and version history in parallel. Each submits a risk score (0-100) on-chain. Scores are aggregated using intelligence-weighted averaging via the Artificial Analysis API. Agents flag: install scripts, native bindings, obfuscated code, network calls, filesystem access, process spawning, eval usage, and env var access.

3. CVE Detection

Real-time lookup against the OSV database (CVE + GHSA advisories) with CVSS v3 severity scoring. CRITICAL CVEs block installation. HIGH CVEs trigger warnings with suggested fix versions.

4. Supply Chain Checks

5. ENS Trust Layer

Author addresses resolve to ENS names. Reputation is computed as the average risk score across all published packages. ENS text records (avatar, GitHub, Twitter) provide human-verifiable identity signals.

Risk Thresholds