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

@s1-clm/s1

v0.1.10

Published

Nullsec S1 security scanner CLI

Downloads

1,452

Readme

Nullsec S1 CLI

Nullsec S1 CLI and MCP call your configured Nullsec S1 API to review AI-generated apps, agent tools, and MCP configs.

Run a scan from any local project:

npx @s1-clm/s1 scan
npx @s1-clm/s1 scan .
npx @s1-clm/s1 scan ./src/app.ts
echo 'app.get("/admin", (req,res)=>res.send("ok"))' | npx @s1-clm/s1 scan --stdin
npx @s1-clm/s1 health
npx @s1-clm/s1 scan-mcp ./examples/example-mcp-config.json

Default backend:

https://s1.trynullsec.com/api

Override the API URL:

NULLSEC_S1_API_URL=http://localhost:8000 npx @s1-clm/s1 scan .
npx @s1-clm/s1 scan . --api http://localhost:8000
npx @s1-clm/s1 scan --path ./apps/web
npx @s1-clm/s1 scan --json

Run without network access:

npx @s1-clm/s1 scan --no-network
npx @s1-clm/s1 scan --local

No-network mode is heuristic-only. It does not use the Nullsec S1 model.

Exit codes:

  • 0: no high or critical issues
  • 1: high or critical issues found
  • 2: runtime, config, collection, or API error

MCP Server

Start the stdio MCP server:

npx -p @s1-clm/s1 nullsec-s1-mcp

The published binary name is:

nullsec-s1-mcp

It exposes:

  • nullsec_s1_scan_text
  • nullsec_s1_scan_file
  • nullsec_s1_scan_project
  • nullsec_s1_scan_mcp_config

The MCP server uses NULLSEC_S1_API_URL or defaults to https://s1.trynullsec.com/api.

Cursor MCP config:

{
  "mcpServers": {
    "nullsec-s1": {
      "command": "nullsec-s1-mcp",
      "env": {
        "NULLSEC_S1_API_URL": "http://localhost:8000"
      }
    }
  }
}

Claude Desktop MCP config:

{
  "mcpServers": {
    "nullsec-s1": {
      "command": "nullsec-s1-mcp",
      "env": {
        "NULLSEC_S1_API_URL": "http://localhost:8000"
      }
    }
  }
}

Local Model Backend

The npm package includes the CLI and the Python FastAPI serving source needed to run a local Nullsec S1 backend:

npx @s1-clm/s1 doctor
npx @s1-clm/s1 serve

Then scan through the local backend:

npx @s1-clm/s1 scan --local-model

The package does not embed multi-GB model weights. The backend loads the base model and PEFT adapter from Hugging Face by default:

NULLSEC_BASE_MODEL=Qwen/Qwen2.5-Coder-7B-Instruct
NULLSEC_ADAPTER_PATH=Trynullsec/nullsec-s1

For local model serving, install the Python GPU stack first:

python -m pip install -r runtime/requirements-train-cu121.txt

Ignore Paths

Add a .nullsecignore file at the scan root:

benchmarks/
corpus/
training/
taxonomy/
*.egg-info/

You can also exclude paths for a single run:

npx @s1-clm/s1 scan --exclude corpus --exclude benchmarks

Default Skips

The CLI skips common dependency, cache, virtualenv, build, generated, private, binary, archive, model-weight, real .env, and private-key files by default.

Examples include node_modules, .git, .next, .venv, site-packages, __pycache__, .pytest_cache, dist, build, real .env files, *.pem, *.safetensors, archives, images, videos, and large lockfiles during directory scans. Use --include-lockfiles to include lockfiles in a directory scan, or pass a lockfile path directly.