@agent-apisec:claude-code:rules:auth-requiredfrom APIsec API Security
Enforces authentication middleware on all API route handlers across Express, FastAPI, Django, Spring, and Go Gin. Flags missing auth patterns and suggests framework-appropriate fixes, failing safely with 401 when auth is absent.
Ships in APIsec API Security. Installing the plugin adds it to Claude Code.
What the agent file sets; muted values are Claude Code's defaults
Every route handler that reads, modifies, or deletes data MUST include authentication middleware or a decorator before the handler executes.
Never generate a data-touching endpoint without auth. If auth middleware is not yet defined in the codebase, note that it needs to be added and generate a placeholder that fails safely (401) until implemented.
Patterns that indicate missing auth, flag these:
When you detect missing auth, do not silently generate the insecure code. Output: Auth missing: add authentication before generating this endpoint. Suggested fix: [framework-appropriate auth middleware pattern]
7-day visitors to each agent page
13 agents in this plugin
claude-code:rules:admin-rbacAdmin RBAC rule<!-- Generated from rules/*.mdc by scripts/build-agent-rules.py. Edit the .mdc sources, not this file. -->claude-code:rules:error-sanitizationError sanitization rule<!-- Generated from rules/*.mdc by scripts/build-agent-rules.py. Edit the .mdc sources, not this file. -->claude-code:rules:input-validationInput validation rule<!-- Generated from rules/*.mdc by scripts/build-agent-rules.py. Edit the .mdc sources, not this file. -->claude-code:rules:ownership-checkOwnership check rule<!-- Generated from rules/*.mdc by scripts/build-agent-rules.py. Edit the .mdc sources, not this file. -->codex:AGENTSAPIsec API security rules<!-- Generated from rules/*.mdc by scripts/build-agent-rules.py. Edit the .mdc sources, not this file. -->copilot:copilot-instructionsAPIsec API security rules<!-- Generated from rules/*.mdc by scripts/build-agent-rules.py. Edit the .mdc sources, not this file. -->npx claudepluginhub apisec-inc/apisec-skills --plugin apisecOther plugins' agents for the same job