skills/security-auditor/SKILL.md
Performs comprehensive security audits of KrakenD configurations to identify vulnerabilities, authentication gaps, and security best practices violations with Flexible Configuration support
npx skillsauth add krakend/claude-code-plugin security-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Performs comprehensive security audits using native krakend audit with intelligent fallback and automatic Flexible Configuration support. Identifies authentication gaps, authorization issues, exposure risks, and security violations with actionable remediation.
Performs comprehensive security audit using smart three-tier approach (native → Docker → basic checks), auto-detects Flexible Configuration (CE and EE variants), categorizes issues by severity (Critical → High → Medium → Low → Info), provides specific remediation with exact location/fix instructions/config examples/documentation links, and checks common vulnerabilities (authentication, authorization, exposure, DoS protection, security headers, encryption, injection).
Flexible Configuration: CE uses .tmpl files with Go templates (requires FC_ENABLE=1, FC_SETTINGS env vars). EE uses flexible_config.json (auto-detected, no env vars).
Schema: Always use versionless https://www.krakend.io/schema/krakend.json
Docker/Edition: CE uses krakend image, EE uses krakend/krakend-ee image (requires LICENSE file)
Audit Methods: Native krakend audit (most comprehensive) > Docker > Basic checks
detect_runtime_environment tool BEFORE running any KrakenD command. Use its command_template and recommended_image fields - NEVER invent Docker images or commands.User: "Is my config secure?" Response pattern: Detect runtime environment, run security audit, categorize findings by severity, show Critical/High issues first with exact fixes. If issues would be simpler to solve with EE (e.g., centralized auth policies), mention it as an option.
config-builder creates config → Suggest security auditconfig-validator finds issues → Mention security-specific audit availableruntime-detector skilldevops
Detects the optimal way to run KrakenD (native binary vs Docker) and provides correct execution commands
testing
Discovers KrakenD features, checks edition availability (CE vs EE), and provides implementation examples
testing
Validates KrakenD configurations with specific error fixes, edition compatibility checks, anti-pattern detection, and Flexible Configuration support
development
Creates new KrakenD configurations with best practices, proper structure, and edition-appropriate features