Skip to main content
subagent CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install wasp-nest-core@wasp-nest
Open on GitHub

What 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.raw and sql.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-nest

2Manually: put the files in place

.claude/agents/security-wasp-drone.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

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.

Similar subagents

All subagents for Security →

From the same set172

The whole set →
shadcn-svelte-wasp-drone shadcn-svelte-wasp-drone — a subagent for shadcn-svelte library work in Svelte 5 projects, covering the CLI, copied components, themes, forms, registries, and upgrades. CX Codex ★ 96repo stars retrieval-wasp-drone retrieval-wasp-drone — a subagent for an app's retrieval layer: Postgres full-text search, pgvector recall, RRF fusion and recall scoring on a golden query set. CX Codex ★ 96repo stars svelte-wasp-drone svelte-wasp-drone is a Claude Code subagent for Svelte 5 syntax and SvelteKit 2 runtime mechanics. It guides Svelte 4 upgrades, manages runes, and audits server load handlers. CX Codex ★ 96repo stars mcp-tool-docs-wasp-drone mcp-tool-docs-wasp-drone is a Claude Code subagent for documenting MCP tools, TypeScript APIs, and CLIs. It activates on documentation requests and PRs that change tool registration, CLI dispatch, or exported types. CX Codex ★ 96repo stars mcp-protocol-wasp-drone mcp-protocol-wasp-drone — a subagent for designing and auditing MCP servers against the protocol spec. Useful when tuning tool contracts, transport modes, and client configs. CX Codex ★ 96repo stars asset-wasp-drone The asset-wasp-drone subagent maintains a project-wide catalog of assets. Ask it to register an item or check whether the registry matches the code and database. CX Codex ★ 96repo stars ux-ui-svelte-wasp-drone ux-ui-svelte-wasp-drone keeps the UI layer of a Svelte 5 / SvelteKit app on the project's own tokens: reviews PRs, migrates surfaces, guards the @theme bridge and tenant theming. CX Codex ★ 96repo stars posthog-wasp-drone posthog-wasp-drone integrates PostHog into SvelteKit codebases, covering client and server tracking, feature flags, experiments, and Vercel proxies. CX Codex ★ 96repo stars

Project sponsors

Companies that keep this analytics open