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

vibe-shield

v1.2.3

Published

Security scanner for vibe coders - find and fix AI-generated security issues

Readme

vibe-shield

The security layer for Vibe Coding. A single command that scans your repo and generates auto-fix prompts for Cursor and Claude Code to secure your app instantly.

Usage

npx vibe-shield

That's it. Run it in your project directory and it will scan for security issues.

What it detects

  • Hardcoded secrets (API keys, passwords, AWS keys, JWT secrets)
  • SQL injection (template literals and string concatenation in queries)
  • Command injection (user input in shell commands)
  • XSS vulnerabilities (innerHTML with user data)
  • Weak cryptography (MD5, SHA1)
  • Security misconfigurations (disabled SSL, CORS wildcards)
  • Path traversal (user input in file operations)
  • NoSQL injection ($where operator)
  • Python issues (pickle with untrusted data, shell=True)

How it works

When vibe-shield finds an issue, it outputs a prompt your AI agent can follow:

[TASK 1] Fix Hardcoded Secret in src/db.ts at line 12
[FOUND]: api_key = "sk-1234..."
[INSTRUCTION]: Move this secret to an environment variable...

Paste this output to Cursor or Claude Code and it will fix the issues for you.

Agent integration

Run npx vibe-shield init to create a .cursorrules file that reminds your AI agent to run security checks before completing tasks.

Or manually add this rule to your AI tool (Claude Code, Cursor, Antigravity, etc.):

# Vibe Shield Security Rules

Before marking a task as done, run `npx vibe-shield`. If issues are found, follow the [INSTRUCTION] provided in the output to fix them.

## Security Checklist
- [ ] No hardcoded secrets (API keys, passwords, tokens)
- [ ] No dangerous code execution (eval, shell injection)
- [ ] No SQL injection vulnerabilities (use parameterized queries)
- [ ] All secrets stored in environment variables
- [ ] HTTPS used for all external URLs

Pre-commit hook

Block commits that have security issues:

npx vibe-shield hook            # Install
npx vibe-shield hook --uninstall  # Remove

The hook scans staged files before each commit. Bypass with git commit --no-verify.

MCP Server

vibe-shield can run as an MCP server, allowing AI tools to call it directly.

Add to your MCP config (Claude Desktop, Cursor, Antigravity, etc.):

{
  "mcpServers": {
    "vibe-shield": {
      "command": "npx",
      "args": ["vibe-shield", "mcp"]
    }
  }
}

Config file locations:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Cursor: .cursor/mcp.json in your project
  • Antigravity: ~/.gemini/antigravity/mcp_config.json

After setup, your AI assistant can use the vibe_shield_scan tool to check for security issues.

Development

bun install
bun run dev
bun run build

License

MIT