Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
analysis
Package analysis provides shared data classification utilities for PCI DSS scanners.
|
Package analysis provides shared data classification utilities for PCI DSS scanners. |
|
detector
Package detector provides framework-aware HTTP handler detection for use across PCI DSS scanners.
|
Package detector provides framework-aware HTTP handler detection for use across PCI DSS scanners. |
|
keywords
Package keywords provides shared keyword matching for payment-related function names and URL path segments.
|
Package keywords provides shared keyword matching for payment-related function names and URL path segments. |
|
taint
Package taint is the type-aware data-flow analysis engine for the PCI-MCP compliance scanner.
|
Package taint is the type-aware data-flow analysis engine for the PCI-MCP compliance scanner. |
|
taint_ssa
Package taint_ssa is a research-only PoC that ports two PCI DSS detection rules (PAN-LOGGER, CRYPTO-HARDCODED-KEY) from the existing AST taint engine in internal/taint to an SSA-based engine built on golang.org/x/tools/go/ssa.
|
Package taint_ssa is a research-only PoC that ports two PCI DSS detection rules (PAN-LOGGER, CRYPTO-HARDCODED-KEY) from the existing AST taint engine in internal/taint to an SSA-based engine built on golang.org/x/tools/go/ssa. |
|
tools/sbomdump
command
|
|
|
Package scanner defines shared types for all PCI DSS compliance scanners.
|
Package scanner defines shared types for all PCI DSS compliance scanners. |
|
auditscanner
Package auditscanner detects payment HTTP handlers missing structured audit logging as required by PCI DSS 10.2.1.
|
Package auditscanner detects payment HTTP handlers missing structured audit logging as required by PCI DSS 10.2.1. |
|
authscanner
Package authscanner implements the authentication strength scanner that detects weak authentication patterns in Go source files: hardcoded passwords, weak password policies, and missing MFA middleware on payment routes.
|
Package authscanner implements the authentication strength scanner that detects weak authentication patterns in Go source files: hardcoded passwords, weak password policies, and missing MFA middleware on payment routes. |
|
cryptoscanner
Package cryptoscanner implements the encryption scanner that detects weak hash algorithms, hardcoded encryption keys/IVs, and plain HTTP URLs in Go source files.
|
Package cryptoscanner implements the encryption scanner that detects weak hash algorithms, hardcoded encryption keys/IVs, and plain HTTP URLs in Go source files. |
|
depscanner
Package depscanner implements PCI DSS 6.3.3 dependency vulnerability scanning.
|
Package depscanner implements PCI DSS 6.3.3 dependency vulnerability scanning. |
|
errorscanner
Package errorscanner implements the error handling scanner that detects payment handlers leaking internal error details to HTTP responses.
|
Package errorscanner implements the error handling scanner that detects payment handlers leaking internal error details to HTTP responses. |
|
httpinputscanner
Package httpinputscanner detects HTTP framework input flowing into log, error, and panic sinks without a sanitizer barrier.
|
Package httpinputscanner detects HTTP framework input flowing into log, error, and panic sinks without a sanitizer barrier. |
|
hybridcache
Package hybridcache provides the session cache and cursor encoding used by the three MCP tools (generate_compliance_report, triage_findings, scan_pan_data) to share paginated results.
|
Package hybridcache provides the session cache and cursor encoding used by the three MCP tools (generate_compliance_report, triage_findings, scan_pan_data) to share paginated results. |
|
panscanner
Package panscanner implements PAN/cardholder data detection primitives.
|
Package panscanner implements PAN/cardholder data detection primitives. |
|
retentionscanner
Package retentionscanner detects unsafe data retention patterns that violate PCI DSS 3.2.1 and 3.3.1: Redis/DB storage of sensitive authentication data without TTL, config files missing TTL on sensitive keys, and incorrect memory zeroing timing after authorization.
|
Package retentionscanner detects unsafe data retention patterns that violate PCI DSS 3.2.1 and 3.3.1: Redis/DB storage of sensitive authentication data without TTL, config files missing TTL on sensitive keys, and incorrect memory zeroing timing after authorization. |
|
scriptscanner
Package scriptscanner detects CSP header violations in Go payment handlers and SRI/nonce violations in HTML templates as required by PCI DSS 6.4.3 and 11.6.1.
|
Package scriptscanner detects CSP header violations in Go payment handlers and SRI/nonce violations in HTML templates as required by PCI DSS 6.4.3 and 11.6.1. |
|
secretscanner
Package secretscanner implements a secrets scanner that detects hardcoded secrets in configuration files (.env,.yaml,.json,.toml).
|
Package secretscanner implements a secrets scanner that detects hardcoded secrets in configuration files (.env,.yaml,.json,.toml). |
|
sqlscanner
Package sqlscanner detects sensitive cardholder columns in SQL schema files and Go gorm/db/sql struct tags that persist PAN/SAD without application-level encryption.
|
Package sqlscanner detects sensitive cardholder columns in SQL schema files and Go gorm/db/sql struct tags that persist PAN/SAD without application-level encryption. |
|
suppression
Package suppression provides centralized suppression of scanner findings via inline pci-ignore comments and.pci-dss-mcp-ignore file rules.
|
Package suppression provides centralized suppression of scanner findings via inline pci-ignore comments and.pci-dss-mcp-ignore file rules. |
|
tlsscanner
Package tlsscanner implements the TLS configuration scanner that detects InsecureSkipVerify, weak MinVersion, missing MinVersion, and prohibited cipher suites in tls.Config composite literals and field assignments.
|
Package tlsscanner implements the TLS configuration scanner that detects InsecureSkipVerify, weak MinVersion, missing MinVersion, and prohibited cipher suites in tls.Config composite literals and field assignments. |
Click to show internal directories.
Click to hide internal directories.