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

@booga/bspector

v0.2.0

Published

Prompt lookup tool. Agent names a vulnerability pattern from a fixed list; bspector returns the prompt for that vulnerability pattern. The prompt tells the agent how to check the skill manifest for that vulnerability.

Readme

bspector

For agents that install tools mid-session. Before your AI coding agent runs npm install some-cli or registers an MCP server, bspector reads the tool's capability manifest (what files it can touch, what network it calls, what permissions it requests) and decides SAFE, UNSAFE, or MALFORMED. Excessive-agency declarations (e.g. write-everywhere, full network egress) get refused with a directive that tells the agent why and what to try instead. The capability taxonomy is closed (12 vulnerability patterns at v0.1); the prompt library that powers each verdict can evolve through empirical evaluation. Version 0.2.0 embeds a signed fixture corpus that is hand-authored seed material until an evolved corpus ships in a later release.

Prompt lookup tool. Agent names a vulnerability pattern from a fixed list; bspector returns the prompt for that vulnerability pattern. The prompt tells the agent how to check the skill manifest for that vulnerability.

Built for agentic loops. Scans a skill manifest or extension descriptor, matches against a closed 12-pattern vulnerability taxonomy, writes a verdict directive on stdout, exits with a discriminating code so the calling agent can branch.

bspector scan <artefact>    scan a manifest against the vulnerability-pattern taxonomy; exit 0 / 1 / 2 / 64
bspector vuln-patterns      list the 12 supported vulnerability-pattern identifiers
bspector update             self-update to the latest published version

Exit code contract: 0 safe (no vulnerability matched), 1 unsafe (vulnerability matched), 2 internal error, 64 malformed input.

Install

cargo install --git https://github.com/bvasilenko/bSpector

Use

bspector scan ./skill.md --artefact-shape skill-md
# stdout: Inspect the skill markdown as a pre-install capability descriptor before allowing it into the agent environment. ...
# exit: 1

bspector scan https://example.com/skill.md --artefact-shape skill-md --strictness strict
# exit: 1

bspector vuln-patterns
# stdout: prompt-injection
#         data-exfiltration
#         ...

Optional flags for scan: --artefact-shape <shape>, --strictness <level>, --llm-stage, --osv-online, --manifest <path>, --json, --quiet, --reason <text>.

BSUITE_UPDATE_BASE_URL overrides the signed-manifest update base URL used by bspector update.

Fixture corpus

Version 0.2.0 embeds bspector-v0, a signed hand-authored fixture corpus. It is seed material for command-line integration and contract testing, not production trust material.

Vulnerability pattern taxonomy

Closed 12-variant VulnerabilityPattern enum. The taxonomy is fixed at this version; widening lands in a later version.

| Category | Variants | |---|---| | Prompt integrity | prompt-injection, system-prompt-leakage, memory-poisoning, trigger-abuse | | Data and access | data-exfiltration, privilege-escalation, least-privilege-violation | | Supply and tools | supply-chain, tool-misuse, excessive-agency | | Agent behavior | rogue-agent, output-handling |

bspector vuln-patterns prints the full list.

License

MIT.