security-wasp-drone — Claude Code subagent for security audit
security-wasp-drone — a subagent that audits SvelteKit projects with Neon Postgres, WorkOS, Stripe and GoHighLevel. Checks tenant isolation, webhooks, secret leaks and AI-code patterns against OWASP Top 10:2025.
AGPL-3.0-or-later ★ 96 updated 2026-10-18
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install wasp-nest-core@wasp-nestWhat security-wasp-drone does
security-wasp-drone scans code before commit: catches missing WHERE clauses in queries without RLS, verifies Stripe and GoHighLevel webhook signatures, spots unsanitized {@html} and SQL injection in Drizzle. It works with a pre-built vulnerability catalog for SvelteKit and patterns AI models most often get wrong — tenant data isolation, endpoint authorization, load-function leaks.
Runs ten verification steps: ripgrep patterns for secrets and sql.raw, manual sweep of CSRF, authz, CSP, HSTS, PII logging. Fixes critical and high risks immediately with minimal diffs, documents medium ones. No FFmpeg or Python required; needs access to .claude/agents/ or .codex/agents/. Writes reports to library/requirements/reports/.
Invoked first, before quality-wasp-drone. If a QA report already exists, warns that re-running quality is needed after fixes. Does not verify implementation against plan (quality's job) or own architecture (library-wasp-drone's job).
What it helps with
- verify tenant data isolation in queries without RLS
- find webhooks lacking signature verification
- catch SQL injection via
sql.rawandsql.identifier - detect secret leaks in logs and browser context
- fix missing authorization checks in endpoints
Example prompts for the agent
- Check the webhook handler in
src/routes/api/stripe/+server.ts - Run a security audit on this branch
- Find all spots where tenant_id WHERE clause is missing
How to install security-wasp-drone
1Plugin marketplace
/plugin marketplace add legioncodeinc/vibe-coding-tools/plugin install wasp-nest-core@wasp-nest2Manually: put the files in place
.claude/agents/security-wasp-drone.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/security-wasp-drone.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/security-wasp-drone.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about security-wasp-drone
How to install security-wasp-drone in Claude Code?
Run /plugin marketplace add legioncodeinc/vibe-coding-tools, then /plugin install wasp-nest-core@wasp-nest. The subagent is in .claude/agents/security-wasp-drone.md.
What does security-wasp-drone do?
The subagent audits SvelteKit project security: checks tenant isolation without RLS, webhook signatures, secret leaks and AI-code error patterns against OWASP Top 10:2025. Fixes critical and high risks before commit.
When to run security-wasp-drone?
First step before quality-wasp-drone, when you need to check a branch before commit. If a QA report exists, the subagent warns that re-running quality is needed after fixes.