Glasswing Mini
Description
Homebrew autonomous JS/TS vulnerability-discovery agent, built on the Claude API. Open take on Anthropic's Project Glasswing pattern.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
glasswing-mini
An open-source, homebrew take on the idea behind Anthropic's [Project Glasswing](https://www.anthropic.com/glasswing): an autonomous agent that reads a codebase and hunts for security vulnerabilities.
Glasswing proper uses Claude Mythos Preview, an Anthropic-gated model. `glasswing-mini` uses any Claude model you have API access to (defaults to Sonnet 4.6), runs locally, and finds high-signal issues in JS/TS codebases.
It won't match Mythos Preview's ceiling. It will find real bugs in real code, today, for the price of a few cents of tokens per scan.
What it does
Given a path to a JS/TS repo, the agent:
- Lists the repo to get the lay of the land
- Plans the attack surface based on framework + entry points
- Greps for dangerous sinks (RCE, SSRF, SQLi, path traversal, prototype pollution, auth bypass, XSS)
- Reads the code around each hit and traces data flow from source (request input, env) to sink
- Records findings with location, data flow trace, proof-of-concept, and suggested fix
- Writes a Markdown report
Install
git clone https://github.com/carrmjw/glasswing-mini
cd glasswing-mini
npm install
Requires Node 20+ and `ripgrep` on `$PATH` (macOS: `brew install ripgrep`).
Use
export ANTHROPIC_API_KEY=sk-ant-...
npx tsx src/cli.ts scan ./path/to/your/repo --focus=rce,ssrf,sqli --i-own-this
Or build and install globally:
npm run build
npm link
glasswing scan ./path/to/your/repo --focus=rce,ssrf --i-own-this
Options
| Flag | Default | What |
|---|---|---|
--focus |
all | Comma-separated: rce,ssrf,sqli,xss,path,proto,auth |
--max-steps |
30 | Agent step budget (tool calls + think steps) |
--model |
claude-sonnet-4-6 |
Anthropic model ID. Use claude-opus-4-7 for harder targets |
--out |
reports/.md |
Report output path |
--json |
off | Also emit .json with raw findings |
--i-own-this |
required | Ethics gate — se |
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development