/viperclaw:viper-nginx-envoy-gatewayfrom viperclaw
Audits Nginx, Envoy, Traefik, and API gateway configs for security issues like alias traversal, header drop, CRLF injection, and XFF trust misconfigurations. Modeled on Gixy and OWASP Reverse Proxy guidelines.
Ships in viperclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
viper-nginx-envoy-gateway)yandex/gixy (Nginx Configuration Static Analyzer), Envoy Security Best Practices, OWASP Reverse Proxy Guidelines.nginx.conf, Envoy YAML filters, Traefik ingress rules, and Kong/APISIX gateway routes.flowchart LR
Edge["Incoming HTTP Request"] --> Proxy["Nginx / Envoy (Trusted XFF CIDR)"] --> Path["Trailing-Slash alias + $request_uri"] --> AuthZ["ext_authz (failure_mode_allow: false)"]
viperclaw taint . --db .viperclaw/graph.db
alias , return 302 $uri, add_header , proxy_pass http://$host, set_real_ip_from 0.0.0.0/0.use_remote_address: false, xff_num_trusted_hops, ext_authz, failure_mode_allow: true.location + alias Off-By-Slash Path Traversal (Gixy): If a location /static block does not end with a trailing slash / while alias /var/www/static/; does, requesting /static../app/settings.py traverses into /var/www/app/settings.py! Always ensure both location and alias end with /.add_header Inheritance Drop: In Nginx, adding any add_header inside a nested location block silently drops all add_header directives (like HSTS, CSP, X-Frame-Options) defined in the parent server or http block! Repeat security headers via an include security_headers.conf;.$uri / $request_uri: In Nginx redirects or proxy_set_header, $uri is URL-decoded and can contain (CRLF response splitting). Use $request_uri instead of $uri in return 301 https://$host$request_uri;.X-Forwarded-For Trust Boundary Defense: Never set set_real_ip_from 0.0.0.0/0 in Nginx or use_remote_address: false on edge Envoy listeners; configure exact trusted proxy CIDRs and xff_num_trusted_hops.ext_authz) Fail-Closed Enforcement: In Envoy envoy.filters.http.ext_authz, ensure failure_mode_allow: false so an auth-service timeout never fails open.# ❌ VULNERABLE: Off-by-slash alias traversal & decoded $uri CRLF injection
location /assets {
alias /var/www/public/assets/;
}
location /old {
return 301 https://$host$uri;
}
# ✅ HARDENED: Matching trailing slashes & raw $request_uri
location /assets/ {
alias /var/www/public/assets/;
}
location /old {
return 301 https://$host$request_uri;
}
Yandex Gixy, Envoy Security, OWASP Reverse Proxy, CWE-22, CWE-113| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| CRITICAL (9.0–10.0) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | Unauthenticated remote code execution, cross-tenant authentication or isolation gap, or direct theft of funds/keys. |
| HIGH (7.0–8.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | Authenticated privilege escalation, unauthorized sensitive data exposure, or single-request service outage. |
| MEDIUM (4.0–6.9) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | Scoped information disclosure, non-admin state mutation, or configuration weakness requiring user interaction. |
| LOW (0.1–3.9) | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N | Defense-in-depth hardening gap requiring high precondition complexity and minimal direct impact. |
viperclaw taint . --db .viperclaw/graph.db and viperclaw verify to record the verified state in .viperclaw/graph.db.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zahidoverflow/viperclaw --plugin viperclaw72 skills in this plugin
/viper-agent-skill-supplychainAI Agent Skill, Plugin & MCP Config Supply-Chain Auditor (modeled on NVIDIA SkillSpector & OWASP Agentic Skills Top 10). Audits SKILL.md bundles and MCP JSON configs./viper-ai-llm-guardrailsAI, LLM & MCP Application Security & Guardrails Auditor (OWASP LLM Top 10). Reviews prompt boundaries, RAG data isolation, tool-call authorization, and output sanitization./viper-api-gateway-apigee-kongAPI Gateway, BFF & Rate-Tier Policy Auditor (Kong, AWS API Gateway, Apigee, Envoy Gateway). Reviews JWT authorizers, backend origin lockdown, and route-level quotas.Other plugins' skills for the same job