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

plenger

v0.1.4

Published

Local security review of repositories: AI source review, STRIDE threat modeling and static triage for agentic AI code

Readme


Plenger reads your code like a careful reviewer. It traces the risk, checks the claim and cites the line. One npm package starts a local dashboard. You add a project folder, pick a model and start a scan. Static analysis, AI discovery, a second validation pass and a STRIDE threat model all run from your machine.

It is modeled on Codex Security Cloud, without the cloud. Its specialty is agentic AI code in Python, JavaScript and TypeScript. Every other language still gets an AI review as text.

Highlights

| | | | --- | --- | | Static analysis that never runs your code | Parses source, traces model and request input to commands, files, SQL, URLs and deserializers, then names one of 41 default rules. No install, no import, no network. | | AI review with a skeptic built in | Each round discovers candidates, then a second source review confirms or dismisses them with cited lines the host checks. Candidates it cannot finish stay Unvalidated, never silently dropped. | | Coverage you can see | Quick reviews one round. Full coverage keeps going until the source is read or an optional token or USD limit is reached. The scan page shows each round, the files covered and the tokens used while it runs. | | A threat model that stays | All six STRIDE categories, assets and trust boundaries are saved per project, and every later review starts from them. | | Findings you can act on | Severity by reach, CWE ids, source excerpts, five triage states that survive rescans, and a fix prompt you can hand to a coding agent. | | Your model, your bill | OpenAI, Anthropic Claude, Gemini, Ollama or a ChatGPT subscription. Cost estimates use model prices captured when a scan starts. |

How a scan works

flowchart LR
  folder["Local folder"] --> static["Static analysis<br/>reads source, never runs it"]
  static --> discover["AI discovery<br/>Batch or Explore"]
  discover --> validate["Validation<br/>a second source review"]
  validate -. "Full coverage: next round" .-> discover
  validate --> report["Findings, STRIDE threat model<br/>and fix prompts"]
  1. Read. The static engine reads every file, builds an inventory of agents, tools and entry points, and traces paths from untrusted input to effects.
  2. Discover. The model reviews the source in rounds. In Explore mode it reads the allowed files itself through four read-only tools.
  3. Validate. A second review reads the cited files with their imports and callers. It supports, dismisses with a checked basis, or asks for review.
  4. Keep. Findings, the threat model and the full activity are saved locally. A scan can be paused, stopped and continued.

Quick start

Plenger needs Node.js 22.23.4+, 24.22.1+ or 26.12.1+. Earlier patches carry the Brotli flaw CVE-2026-111497 (Node2Shell).

Run it with npx, or install it globally:

npx plenger@latest
npm install -g plenger
plenger

Plenger is a preview: see status for what is qualified. To run it from source instead, use pnpm 10.19.0:

git clone https://github.com/ajipurn/plenger.git
cd plenger
pnpm install --ignore-scripts
pnpm dashboard:build
pnpm dev --workspace path/to/project

Open the printed local URL. Save a connection under Settings > Providers, add your project and press New Scan. Stop the dashboard with Ctrl+C.

Private by design

  • Source stays local. Files leave the machine only for the provider you select, after secrets are redacted.
  • Keys are sealed. Provider keys are encrypted at rest in a local SQLite database and never written to reports or logs.
  • Nothing runs on its own. Every scan starts by hand. There are no monitors, hosted scans or remote repository connections.
  • Project code never executes. Static analysis and AI review only read files.

Static rules and risk mappings

The rule catalog defines 48 static risk rules. A default scan uses 41 of them. Seven library rules (PLG901 to PLG907) need library: true in the engine API and are not exposed in the dashboard.

| Reference | Catalog mappings | Scope | | --- | --- | --- | | OWASP Top 10 for LLM Applications 2025 | 8 of 10 categories | No mapping for LLM04 Data and Model Poisoning or LLM09 Misinformation | | OWASP Top 10 for Agentic Applications 2026 | 9 of 10 categories | ASI01 to ASI09 have mappings; ASI10 has none | | Common Weakness Enumeration | 27 distinct CWE IDs | Selected weaknesses, including path traversal, command injection, SQL injection, unsafe deserialization and SSRF |

A mapping means at least one rule addresses a specific pattern in that category. It does not establish full detection coverage for the category. For example, PLG101 finds a tool that runs a shell command built from model input and maps it to LLM06:2025 Excessive Agency, with no model call. Static analysis explains the tracing limits.

Evidence

Numbers come from dated qualification records, not from marketing.

| What was measured | Result | Record | | --- | --- | --- | | Static rules on 150 labeled cases | Precision 1.00, recall 0.91 | 2026-10-21 | | AI review, Batch, ChatGPT gpt-6.1-sol, 150 cases | Precision 0.87, recall 0.87; 0.88 and 0.95 with static findings kept | 2026-10-30 | | AI review, Explore, Claude Haiku 5.5, 150 cases, three runs | Precision 0.68, recall 1.00 | 2026-10-21 | | Full coverage scan of Vercel ai-chatbot | 131 of 166 files in 25 reviews for USD 4.65 | 2026-10-21 |

Every record used bundled fixtures, the evaluation corpus or a few named projects. None establishes support for arbitrary projects, provider billing caps or protection against malicious project code. Status lists what is qualified and what is pending.

Command line

plenger                                    # start the dashboard
plenger --workspace path/to/project --port 4180
plenger --data-dir path/to/data            # keep data somewhere else
plenger update                             # update a global npm install after confirming
plenger --help
plenger --version

Published builds check for a newer stable release at most once a day and never block the dashboard. Set NO_UPDATE_NOTIFIER=1 to turn the check off. Updates never install on their own, and they never move or delete dashboard data. See installation and updates.

Reports and CI

The dashboard exports each scan as JSON. The composite GitHub Action runs the static engine in your workflow and writes SARIF, a Markdown job summary and a severity gate, with explicit baseline and suppression files. An opt-in AI review of the scanned path sends redacted source to the chosen provider and adds its findings as a second SARIF run. See reports and CI.

Documentation

| Read | When you want to | | --- | --- | | Dashboard | Add projects, run scans, triage findings and set up providers | | AI security review | Understand discovery, validation, STRIDE and coverage | | Static analysis | See what the engine reads, traces and reports | | Status and qualifications | Check what is available, qualified and pending | | Architecture and roadmap | Follow the source layout and where Plenger is going | | Documentation index | Find everything else |

Development

CONTRIBUTING.md covers the toolchain, checks, fixtures and benchmarks. AGENTS.md holds instructions for coding agents. Report security issues as described in SECURITY.md.

License

Plenger is licensed under the Apache License 2.0. Copyright 2026 Aji Purnomo. Third-party notices are listed in docs/licenses/sources.json and shipped as dist/THIRD_PARTY_NOTICES.txt.