Vulnerable dependencies
npm audit or yarn audit, grouped by the package you upgrade, with production dependencies first.
A local security scanner for Node.js projects. Gnawky checks your dependencies, secrets and code, puts everything in one report, and fixes vulnerable packages safely on a new git branch.
npm install -g gnawky
or yarn global add gnawky · try it once with npx gnawky · Node 18+
See it in action
A terminal demo: installing Gnawky with npm, scanning a project that finds vulnerable axios and express versions shipping to production, applying the express upgrade on a new git branch, and a git push where the pre-push check warns about axios but lets the push through.
Real Gnawky output on a sample project with old axios, express and jest versions, shortened.
What it checks
Gnawky runs the tools you'd run anyway and merges their results. A missing scanner shows as “skipped”, never silently ignored.
npm audit or yarn audit, grouped by the package you upgrade, with production dependencies first.
React Server Components advisories in the copy of React that Next.js ships, which npm audit can't see.
gitleaks searches files and git history. Secret values are never written to the reports.
semgrep rules picked for your stack: injection, XSS, unsafe eval, Express, React, Docker and more.
Optional: logic flaws pattern scanners miss, like access control and auth flows.
OptionalFinding by finding, with the reason kept for your team:
Safe fixes
--ignore-scripts, and never npm audit fix --force.gnawky my-app ~/code/my-app Last scan 10:14: 1 high, 2 medium ────────────────────────────────── What would you like to do? ❯ 1. Scan again 2. Findings (3) 3. AI tools 4. View report 5. Settings 6. Tools & scanners
$ git push ! my-app: 2 package(s) with critical/high advisories ship to production (2s) HIGH axios 11 advisories: upgrade axios to 1.12.0 HIGH express 6 advisories: upgrade express to 4.22.3 gnawky: pushing anyway; this is a reminder, not a block.
Guards
npm install <pkg>Checks new packages for known vulnerabilities, malware and brand-new versions, pasted commands included.Claude Code plugin
The plugin runs Gnawky for you, explains each finding in plain language, and applies fixes through Gnawky's safe branch workflow, only after you agree.
/gnawky:scan, /gnawky:prod, /gnawky:triage, /gnawky:fix, /gnawky:report> gnawky find any security issues > gnawky anything critical in production? > gnawky what's wrong with next? > gnawky ignore the lodash advisories, we only use it in build scripts > gnawky fix next
Add it to Claude Code
/plugin marketplace add andreiciungan/gnawky
/plugin install gnawky@gnawky-marketplace
Run both in Claude Code. The plugin brings its own copy of Gnawky; install npm install -g gnawky too for the terminal app and the git hooks.
Quick start
npm install -g gnawky
cd ~/code/my-app then gnawky
Detects your stack, picks online or offline, and offers the scanners and guards that fit.
Critical and high findings that ship to production come first.
Private by default: your source code never leaves your machine. Only the dependency list goes to the npm registry, and offline mode keeps everything local.
The presentation walks through what it does, how to use it and why, in a few minutes.