/viperclaw:viper-tls-pki-mtls-certfrom viperclaw
Audits TLS 1.3 configuration, PKI certificate lifecycle, and mTLS SAN checks against NIST SP 800-52 and Mozilla SSL standards. Reviews cipher suites, HSTS headers, and cert verification settings.
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-tls-pki-mtls-cert)viper_fingerprint_traffic, viper_taint_scan, viper_verify_and_reportviperclaw fingerprint https://api.example.comflowchart LR
Client["Client / Service"] --> TLS["TLS 1.2+ / 1.3 + AEAD Ciphers"] --> Chain["CA Chain & Hostname Verification"] --> SAN["mTLS Client SAN / SPIFFE Allowlist"]
Transport confidentiality fails when HTTP clients disable certificate verification (verify=False, InsecureSkipVerify: true, rejectUnauthorized: false), servers negotiate deprecated TLS 1.0/1.1 or CBC/RC4 ciphers, or mTLS endpoints check only that a client certificate is signed by a CA without verifying its Subject Alternative Name (SAN).
# 1. Inspect live TLS/HSTS posture passively
viperclaw fingerprint https://api.example.com
# 2. Rapid static pattern discovery for disabled TLS checks
rg -n "(verify\s*=\s*False|CERT_NONE|InsecureSkipVerify\s*:\s*true|rejectUnauthorized\s*:\s*false|SSL_VERIFY_NONE)"
| Control ID | Audit Verification Target | Pass Criteria | Fail / Vulnerability Indicator |
|---|---|---|---|
TLS-01 | Strict TLS 1.2+ / TLS 1.3 Minimum | Servers disable SSLv3, TLS 1.0, and TLS 1.1; prefer TLS 1.3 with AEAD ciphers (AES-GCM, ChaCha20-Poly1305). | Legacy TLS 1.0/1.1 or weak CBC/RC4/3DES ciphers negotiated. |
TLS-02 | Certificate & Hostname Verification Enabled | All outbound HTTP/gRPC/DB clients validate both CA chain and hostname (check_hostname=True, CERT_REQUIRED). | verify=False, InsecureSkipVerify: true, or rejectUnauthorized: false in production code. |
TLS-03 | HSTS with Long Max-Age | Public HTTPS endpoints send Strict-Transport-Security: max-age=31536000; includeSubDomains. | Missing HSTS header allows initial HTTP downgrade. |
TLS-04 | mTLS Identity (SAN/CN) Authorization | Services requiring mTLS verify the client certificate's SAN/SPIFFE URI against an explicit allowlist. | Any certificate signed by the corporate CA is granted full admin access. |
TLS-05 | Automated Short-Lived Cert Rotation | Certificates rotate automatically via ACME, cert-manager, or SPIRE with <= 90-day leaf lifetimes. | Manual multi-year certificates causing outages or stale keys. |
TLS-06 | Private Key File Permissions | TLS private keys on disk are 0600 owned by the service user and never bundled in container layers or Git. | .key or .pem files committed to source control or world-readable. |
TLS-07 | Internal East-West Encryption | Database, Redis, Kafka, and internal microservice links enforce TLS (sslmode=verify-full). | Plaintext credentials transmitted over shared VPC/cluster networks. |
TLS-08 | Revocation & Expiration Monitoring | Alerting triggers at 30/14/7 days prior to expiration and supports OCSP stapling or short-lived certs. | Expired certificates silently break production or prompt engineers to disable verification. |
verify=False / CERT_NONE is in production code rather than a local unit test hitting 127.0.0.1.| Severity Tier | Baseline CVSS v3.1 Vector | Qualifying Security Impact |
|---|---|---|
| HIGH (7.4) | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | Disabled certificate verification on outbound auth/payment client or missing mTLS SAN authorization. |
| MEDIUM (5.3) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | Deprecated TLS 1.0/1.1 protocol enabled or cleartext internal database traffic. |
| LOW (3.1) | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | Missing includeSubDomains or short max-age on HSTS header. |
# ❌ VULNERABLE: Disables TLS certificate and hostname validation
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
# ✅ HARDENED: Enforces TLS 1.2+ with full CA chain and hostname validation
ctx = ssl.create_default_context()
ctx.minimum_version = ssl.TLSVersion.TLSv1_2
ctx.check_hostname = True
ctx.verify_mode = ssl.CERT_REQUIRED
viperclaw fingerprint against staging endpoints to verify HSTS and security headers.viperclaw secrets . to confirm no private key PEM files are committed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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