/viperclaw:viper-proxy-fingerprintfrom viperclaw
Audits HTTP responses and HAR captures for backend framework fingerprinting, cookie security attributes, and verbose error disclosures. Helps identify version banner leaks, debug stack traces, and insecure session cookies.
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-proxy-fingerprint)viper_fingerprint_traffic, viper_diff_oracle, viper_graph_upsertviperclaw fingerprint ./traffic.har --domain example.com --output stack_audit.jsonflowchart LR
Client["HTTP Client / HAR Capture"] --> CDN["Edge CDN / WAF / Reverse Proxy"] --> App["Backend Framework (FastAPI/NestJS/Spring)"] --> Err["Error Handler & Cookie Serializer"]
Inconsistent configuration between edge proxies and backend frameworks leaks internal version banners (Server, X-Powered-By, X-AspNet-Version), framework debug stack traces on malformed JSON/query inputs, and insecure session cookies.
Run the following discovery commands across the target repository before manual code review:
# 1. Automated ViperClaw analysis
viperclaw fingerprint ./traffic.har --domain example.com --output stack_audit.json
# 2. Rapid static pattern discovery (ripgrep)
rg -n "(ServerTokens|server_tokens|x-powered-by|expose_php)"
rg -n "(set_cookie|Set-Cookie|SESSION_COOKIE_SECURE|SESSION_COOKIE_HTTPONLY)"
rg -n "(traceback\.format_exc|stackTrace|APP_DEBUG)"
| Control ID | Audit Verification Target | Pass Criteria | Fail / Vulnerability Indicator |
|---|---|---|---|
FP-01 | Version Banner Suppression | Server, X-Powered-By, and X-AspNet-Version headers stripped or genericized. | Exact patch versions (nginx/1.18.0, PHP/8.1.2, Express) disclosed in responses. |
FP-02 | Production Error Envelope Hygiene | 500/400 errors return uniform JSON ({"error": "Bad Request", "request_id": "..."}). | Werkzeug/Django/Laravel/Spring debug pages or SQL stack traces returned to clients. |
FP-03 | Session Cookie Security Flags | All authentication cookies set Secure; HttpOnly; SameSite=Lax (or Strict). | Session cookies missing HttpOnly or Secure flags. |
FP-04 | Cache-Control on Authenticated APIs | Sensitive endpoints set Cache-Control: no-store, private. | Authenticated PII responses cached by shared CDNs due to missing Cache-Control. |
FP-05 | Sibling & Staging Host Isolation | Staging/internal API hosts discovered in HAR traffic require VPN/mTLS or Zero-Trust auth. | Development subdomains (api-dev, staging) accessible publicly with debug flags enabled. |
FP-06 | HTTP Method Restriction | TRACE, TRACK, and unused WebDAV methods disabled at the reverse proxy. | TRACE enabled or OPTIONS exposing administrative verbs without auth. |
FP-07 | Content-Type & nosniff Enforcement | Every API response sets explicit Content-Type: application/json; charset=utf-8 + X-Content-Type-Options: nosniff. | Missing Content-Type allowing MIME-sniffing XSS on uploaded/reflected content. |
FP-08 | HSTS Transport Pinning | Strict-Transport-Security: max-age=63072000; includeSubDomains; preload enforced. | Missing HSTS or http:// endpoints accepting credentials in cleartext. |
| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| HIGH (7.5) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | Verbose exception handler leaks environment variables, DB credentials, or AWS keys in 500 tracebacks. |
| MEDIUM (5.3) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | Authenticated PII endpoints missing Cache-Control: no-store, enabling Web Cache Deception. |
| LOW (3.1) | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N | Session cookie missing Secure or HttpOnly attribute or verbose server version banner. |
# ❌ VULNERABLE: Returns raw exception traceback to client & sets insecure cookie
@app.errorhandler(Exception)
def handle_error(exc: Exception):
return jsonify({"error": str(exc), "trace": traceback.format_exc()}), 500
# ✅ HARDENED: Logs full traceback internally with correlation ID & returns sanitized envelope
@app.errorhandler(Exception)
def handle_error(exc: Exception):
req_id = str(uuid.uuid4())
logger.exception("Unhandled error [request_id=%s]", req_id, exc_info=exc)
resp = jsonify({"error": "Internal Server Error", "request_id": req_id})
resp.headers["Cache-Control"] = "no-store"
resp.headers["X-Content-Type-Options"] = "nosniff"
return resp, 500
viperclaw taint and viperclaw verify to confirm zero remaining unmitigated flows 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./viper-auth-oauth-jwtAuthentication, OAuth 2.0 / OIDC & JWT Security Auditor. Reviews token verification, algorithm allowlisting, claim validation, and OAuth redirect_uri configurations./viper-aws-iam-cloud-auditAWS IAM, STS, S3, KMS & Lambda Security Auditor (modeled on Prowler, Parliament & CloudSplaining). Reviews iam:PassRole escalation, STS ExternalId, S3 policies, and IMDSv2./viper-bola-idorObject & Function-Level Authorization (BOLA / BFLA) Audit Skill. Reviews resource access controls, tenant scoping, and ownership checks across API endpoints and controllers.Other plugins' skills for the same job