npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@putervision/spc

v1.5.0

Published

High-performance zero-dependency static analysis tool enforcing NASA Power of Ten rules across 20 programming languages, plus AI agent skill, MCP server config, prompt template, and LLM model security auditing.

Readme

Space Proof Code 🛡️ (@putervision/spc)

High-performance zero-dependency static analysis tool enforcing NASA Power of Ten reliability rules across 20 programming languages, plus AI agent skill, MCP server config, prompt template, and LLM model configuration security auditing.

npm version Website License Zero Dependencies AI Agent Auditing


⚡ Quick Start & Installation

Install @putervision/spc globally via npm:

npm install -g @putervision/spc

Basic Scan Commands

# Scan current directory for space-proofing & security issues
spc .

# Export SARIF report for GitHub Code Scanning integration
spc ./src --format sarif -o spc-report.sarif

# Audit AI agent skills, prompts, MCP configs & model files only
spc . --ai-only --format json -o agent-audit.json

# Enforce quality gate in CI/CD pipeline (fail if risk level >= 4.0)
spc . --max-severity 4.0 --fail-on-issue

🌟 Key Highlights

  • 🚀 NASA Power of Ten Rules: Enforces safety-critical code rules (bounded loops, no recursion, static memory allocation, assertion density, and restricted control flow).
  • 🤖 AI / Agent / MCP Security Scanner: Audits AI Agent skills (SKILL.md), prompt instructions (AGENTS.md, .windsurfrules), MCP server configs (mcp.json), and LLM model deployment configs (model_config.json) for prompt injection and security flaws.
  • 🌐 20 Supported Languages: Native static analysis for Ada, Bash, C/C++, C#, Elixir, Fortran, Go, Haskell, Java, JavaScript/TypeScript, Julia, Kotlin, Lua, PHP, Python, Ruby, Rust, Scala, Swift, and Zig.
  • 🔒 Zero External Dependencies: Engineered 100% locally from scratch with zero third-party library risks or supply-chain vulnerabilities.
  • 📊 Multi-Format Reporting: Supports formatted console tables, machine-readable JSON, GitHub Markdown PR comments, and SARIF v2.1.0 output.
  • ⚡ Local Privacy Guarantee: Runs 100% locally on your machine or runner. Zero network calls, zero telemetry tracking, and zero source code collection.

📚 Documentation Directory

Explore detailed documentation and reference guides:

| Document | Description | |---|---| | 🛠️ CLI Reference Guide | Command options, output formats, CI/CD integration, inline suppression, checksum manifests | | 🤖 Agent Tools & Schema | AI Agent tool specifications, operations, capabilities, and MCP tool schemas | | 🚀 NASA Power of Ten Rules | High-reliability code rules inspired by NASA space flight standards | | 🔒 Traditional Security Rules | Vulnerability detection patterns across 20 programming languages | | 🤖 AI Agent & MCP Rules | Agent skill, prompt injection, MCP server config, and model config auditing rules | | 💻 API Reference | Programmatic Node.js API usage (scanCodebase, formatResults, PATTERN_INFO) | | 📊 Rule Coverage Matrix | Complete language × rule matrix covering all 63+ checks | | 🏗️ Architecture & Extensibility | Internal scan pipeline, pattern engine schema, and custom plugin development |


🧪 Testing

Run the automated test suite and check code coverage:

# Run unit & integration tests
npm test

# Run NVM matrix test across Node.js versions (18.x, 20.x, 22.x)
npm run test:matrix

# Run tests with coverage report
npm run test:coverage

# Perform self-scan on SPC codebase
npm run self-check

⚖️ PuterVision Legal & Usage Disclaimers

[!IMPORTANT] Data Privacy & Local Execution Guarantee
spc (Space Proof Code) is engineered by PuterVision with a strict local-first privacy architecture. All static analysis, regex parsing, and vulnerability scanning run 100% locally on your machine. No source code, directory structures, or scan results are ever transmitted, telemetry-tracked, or collected by PuterVision.

[!WARNING] Static Analysis & Safety Disclaimer
spc enforces static code rules inspired by NASA's Power of Ten reliability guidelines. While spc helps identify critical security anti-patterns (e.g., unchecked return values, unsafe pointer math, recursion hazards, and hardcoded credentials), static analysis cannot guarantee the total absence of runtime defects or mission failures. Developers are advised to complement spc with dynamic testing, fuzzing, and formal verification in safety-critical production systems.

[!NOTE] Trademarks & Non-Affiliation Notice
All product names, trademarks, service marks, logos, and brands (such as NASA, ISO/IEC, MISRA, Node.js, and GitHub) referenced in this documentation are the property of their respective owners. References to NASA's Power of Ten rules or third-party guidelines are for educational and compatibility identification purposes only, and do not imply endorsement, sponsorship, or affiliation with PuterVision.