pkgxray — Pre-install Security for npm Packages, MCP Servers, and AI Agents
pkgxray provides pre-install security scans for npm packages, MCP servers, and AI agents. It inspects artifacts before installation or connection and assigns a SAFE, REVIEW, or BLOCK verdict using fixed rules with cited evidence. The analysis is static, runs on the user’s machine, and has no dependencies.
🛠️ Key Features
- Pre-install inspection for npm packages, MCP servers, and AI agents
- Verdict outcomes:
SAFE,REVIEW,BLOCK - Fixed-rule decisioning with cited verdict evidence
- Static analysis executed on the machine
- No dependencies; scans do not execute package code
🚀 Use Cases
- Validate npm packages before installing
- Assess MCP servers before connecting
- Review AI agents before use
⚡ Developer Benefits
- Static scanning avoids running package code during normal scans
- Cited evidence supports verdict decisions for auditing
⚠️ Limitations
- Based on a static analysis model; it does not execute package code during scans