/testssl-inspector:scanfrom testssl-inspector
Runs testssl.sh against HTTPS endpoints and maps findings to SOC 2, NIST 800-53, PCI DSS 4.0.1, ISO 27001, and SCF controls. Supports STARTTLS for SMTP/IMAP/POP3/FTP/LDAP/PostgreSQL/MySQL.
Ships in testssl-inspector. 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.
Wraps testssl.sh, normalizes its JSON output into the toolkit's v1 finding contract, and writes one document per target.
node "${CLAUDE_PLUGIN_ROOT}/scripts/scan.js" [options]
--target=host[:port] — repeatable; or pass targets positionally. Port defaults to 443 for HTTPS, or the protocol's default port when --starttls=<proto> is used.--starttls=<proto> — enable STARTTLS for the specified protocol. Supported protocols: smtp (25), imap (143), pop3 (110), ftp (21), ldap (389), postgres (5432), mysql (3306). When --starttls=<proto> is specified without an explicit port in the target, the target is automatically appended with the protocol's default port. For example, --target=mail.example.com --starttls=smtp becomes mail.example.com:25. If the target already includes an explicit port (e.g., --target=mail.example.com:587 --starttls=smtp), the explicit port is preserved. Implicit TLS services such as SMTPS on 465 should be scanned as normal TLS endpoints without --starttls.--fast — testssl.sh --fast (~3× faster, drops vulnerability checks).--full — full check set (default). Slower; includes CVE checks (Heartbleed, ROBOT, POODLE, BEAST, BREACH, SWEET32, FREAK, LOGJAM, DROWN, …).--docker / --no-docker — override the runner choice from the config.--scf-only — emit only SCF evaluations; skip fan-out to NIST/SOC2/PCI/ISO. Smaller output, no network. Useful for CI or air-gapped environments.--offline — never make network calls. Uses cached SCF crosswalks if present (under ~/.cache/claude-grc/scf/<version>/); otherwise falls back to the hardcoded framework table. testssl itself still has to reach the target.--output=summary|silent|json — default summary prints counts to stdout; json emits machine-readable run info; silent writes the cache file and nothing else.--quiet — suppress stderr progress lines.Each testssl.sh finding is mapped first to one or more SCF (Secure Controls Framework) control IDs, then fanned out to downstream frameworks via the SCF crosswalk at https://grcengclub.github.io/scf-api/. Crosswalks are cached at ~/.cache/claude-grc/scf/<version>/ (shared with the engineer plugin's SCF client) and refreshed every 7 days.
| testssl finding family | SCF anchors |
|---|---|
| Weak protocols (SSLv2/3, TLS 1.0/1.1) | CRY-01, CRY-03, NET-09 |
| Weak ciphers (NULL, EXPORT, 3DES, RC4, anon) | CRY-01.2, CRY-05 |
| Certificate posture (expiry, signature, chain, key size, OCSP, CT) | CRY-08 |
| Known CVEs (Heartbleed, ROBOT, POODLE, SWEET32, FREAK, LOGJAM, DROWN, BEAST, LUCKY13, …) | VPM-01, VPM-06 |
| HTTP transport headers (HSTS, HPKP, cookie flags) | CRY-03, WEB-03, NET-09 |
The SCF crosswalk fan-out resolves each anchor to its equivalent controls in:
CRY-01 → SC-08(01), SC-08(02), SC-13, SI-07(06))If the SCF mirror is unreachable (network error, --offline with no cache), the script falls back to a curated hardcoded table that covers the same five frameworks at one canonical control per family. This is the v0 behavior; you'll see a (scf expansion unavailable; framework fallback used) note in the summary line when it kicks in.
Severity translation: testssl FATAL/CRITICAL → critical; HIGH → high; WARN/MEDIUM → medium; LOW → low; OK/INFO → info (and pass for status). Anything else → inconclusive.
~/.cache/claude-grc/findings/testssl-inspector/<run_id>.json
One Finding doc per target with resource.type = "tls_endpoint", resource.id = "<host>:<port>", and resource.uri = "https://<host>:<port>/" for HTTPS or resource.uri = "starttls+<proto>://<host>:<port>/" for STARTTLS scans.
Critical findings and any with a CVE are also lifted into a findings[] narrative array for quick triage.
Summary printed to stdout unless --output=silent:
testssl-inspector: 2 targets, 2 resources, 47 evaluations, 9 failing (1 critical, 3 high, 4 medium, 1 low). → /home/.../<run_id>.json
0 — clean run, no scan errors2 — usage error (missing target)3 — testssl.sh / docker unavailable (or every target failed)4 — partial run (some targets failed but at least one succeeded)5 — not configured (no config file and no --target provided)# Fast scan of one HTTPS endpoint
/testssl-inspector:scan --target=example.com --fast
# Full vulnerability scan against two HTTPS endpoints, Docker runner
/testssl-inspector:scan --target=example.com --target=api.example.com:8443 --docker
# STARTTLS scan of SMTP service with default port
/testssl-inspector:scan --target=mail.example.com --starttls=smtp --output=json
# STARTTLS scan of SMTP service with explicit port
/testssl-inspector:scan --target=mail.example.com:587 --starttls=smtp --output=json
# STARTTLS scan of IMAP service
/testssl-inspector:scan --target=mail.example.com --starttls=imap --output=json
# Implicit TLS SMTPS service (no STARTTLS flag)
/testssl-inspector:scan --target=mail.example.com:465 --output=json
# Pipe summary into another step
/testssl-inspector:scan --target=example.com --output=json | jq '.counters'
--starttls=<proto> flag for protocols including SMTP, IMAP, POP3, FTP, LDAP, PostgreSQL, and MySQL. Implicit TLS endpoints such as SMTPS are regular TLS scans on their implicit-TLS port.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tls-scanner, ssl-testing, compliance-mapping, security-audit, testssl
4 skills in this plugin
/setupLocate testssl.sh (native install or Docker), record version, and write default targets to the connector config./statusShow configured testssl runner, version, target count, and recent scans on disk./testssl-inspector-expertInterpret testssl-inspector normalized findings, recommend remediations, and tie evidence back to SCF anchor controls plus SOC 2 / NIST 800-53 r5 / PCI DSS 4.0.1 / ISO 27002:2022 equivalents derived from SCF crosswalks.npx claudepluginhub grcengclub/claude-grc-engineering --plugin testssl-inspectorOther plugins' skills for the same job