This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Summary
AI summaryFirst public release adds 14 PCI DSS v4.0.1 scanners, compliance orchestrator, and taint‑aware severity adjustment.
Full changelog
[0.1.0] - 2026-04-15
First public release. Covers the complete PCI DSS v4.0.1 scanner suite as a
Model Context Protocol server for Go payment-service codebases.
Security
- No known run-time vulnerabilities fixed in this release.
govulncheckis
clean against the dependency set at the time of release.
Added
- 14 MCP tools across 10 scanners covering PCI DSS v4.0.1 requirements
3.2.1, 3.3.1, 3.4.1, 3.5.1, 4.2.1, 6.2.4, 6.3.3, 6.4.3, 8.3.1, 8.3.6,
8.4.2, 8.6.2, 10.2.1, and 11.6.1. - Compliance orchestrator (
generate_compliance_report) that runs every
scanner and returns a typed, per-requirement PASS / FAIL / NOT_CHECKED
report with finding-levelrequirement_idmapping. - Triage engine (
triage_findings) that enriches active findings with
on-demandResourceLinkhints (per MCP spec 2025-06-18resource_link
content type), imports, middleware chain, and triage hints. Clients read
source from the hinted files using their ownReadtool rather than
receiving inline source bytes. - Taint-aware severity adjustment in the PAN scanner via a type-aware
data-flow engine built ongolang.org/x/tools/go/packages. Implements
the PCI SSC FAQ on non-persistent memory: transit-only CHD in request
DTOs is downgraded to INFO (or suppressed entirely forPAN-TYPE), while
CHD that flows to storage sinks keeps HIGH severity. - Multi-signal payment-context scorer (
PaymentContextScore/
IsPaymentContext) that classifies functions as payment-related based on
keyword, package path, import, and tag signals rather than a single
keyword gate. - Audit log field verification for the four popular Go logger APIs
(logrus, slog, zap, zerolog). Parses middleware bodies, resolves field
name constants from cross-package imports, and scores handler coverage
of the five PCI DSS 10.2.1 categories (timestamp, event type, user
identification, outcome, affected resource). - Cross-file middleware detection that walks parent package directories
to find logging middleware registered outside the handler's own package,
resolving method values liker.Use(m.requestLogger)by following
the receiver type. - Dependency vulnerability scanning via the OSV.dev advisory database
with an offline-capable local cache (update_vulnerability_dbrefreshes
the cache for air-gapped CI environments). - Delegation-only handler detection in the MFA scanner — skips
AUTH-MISSING-MFAon single-statement wrapper handlers that only forward
to anotherhttp.HandlerviaServeHTTP/ServeHTTPC/ gin / echo. - Verified-OK markers (
AUDIT-LOG-OK,CSP-OK) emitted for informational
visibility ingenerate_compliance_report. The triage engine automatically
skips markers whose rule ID ends with-OKvia a simpleHasSuffixrule. - Filter parameters (
min_severity,rule_filter,limit) on
generate_compliance_reportandtriage_findings. Filtering is applied
before serialization via a sharedFilterFindingshelper so responses
shrink on noisy projects. - Compact JSON output on every tool — no
json.MarshalIndent, no
hybrid text+JSON dual formats. Every tool declares a typedOutputSchema
auto-inferred from the output struct'sjsonschematags. - Golden vulnerable fixture at
testdata/vulnerable-payment-service/
with a machine-readableEXPECTED-FINDINGS.mdcontract covering every
production rule plus clean counter-examples. - Suppression system with
pci-ignoreinline comments and a
.pci-dss-mcp-ignorefile. Suppressed findings surface asSUPPRESSEDwith
reason — never silently dropped. - Documentation under
docs/covering tools reference, severity model,
taint scoping guidance, CI/CD integration, and PCI DSS coverage map.
Notes
- pci-dss-mcp is a static analysis tool. It covers approximately 6 percent of
PCI DSS v4.0.1 requirements (14 of 249). The remaining 94 percent require
manual review by a Qualified Security Assessor. - Taint analysis is ON by default. Use
include_taint: false(or
gen.GenerateFastfor library callers) to disable for fast dev iteration
at the cost of more transit-only false positives.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About shyshlakov/pci-dss-mcp
PCI DSS v4.0.1 static-analysis MCP server for Go payment codebases. 12 scanners detect PAN/CVV exposure, weak crypto, missing audit logs, vulnerable deps, TLS misconfig, auth weaknesses, plus CycloneDX 1.6 SBOM generation - each finding mapped to the exact PCI requirement. AI-assisted triage via triage_findings. Keyless-signed multi-arch Docker image on ghcr.io.
Related context
Beta — feedback welcome: [email protected]