ZeroLeaks Package
Installation
Install zeroleaks via bun or npm. Set OPENROUTER_API_KEY. Compatible with Node 18+.
Installation
Package Manager
Install zeroleaks with bun (recommended) or npm:
# Bun
bun add zeroleaks
# npm
npm install zeroleaksEnvironment
zeroleaks uses OpenRouter for LLM access. Set your API key:
export OPENROUTER_API_KEY=sk-or-v1-...Or in a .env file:
OPENROUTER_API_KEY=sk-or-v1-...Requirements
- Node.js 18 or later
- OpenRouter account — openrouter.ai for API key
Verify Installation
Run a quick scan to confirm setup:
zeroleaks scan --prompt "You are a helpful assistant."If configured correctly, you should see scan progress and a result with overallVulnerability and overallScore.