Repository navigation
Working with PCI DSS
This server stands on its own. If your application handles payment card data, also connect the PCI DSS compliance assistant, which looks up PCI DSS v4.0.1 from a dataset you build from your own copy of the standard and scans for card data, PCI configuration issues and payment page scripts.
MCP servers do not call each other. The assistant in your client uses both, and each server's instructions tell it how to use the other.
Build the PCI DSS dataset once (see its Quickstart), then add both servers to your client:
{
"mcpServers": {
"asvs": {
"command": "uvx",
"args": ["mcp-server-asvs-security-assistant"]
},
"pci-dss": {
"command": "uvx",
"args": ["mcp-server-pci-dss-compliance-assistant"]
}
}
}The links between the servers need PCI DSS compliance assistant v1.1.0 or later.
-
Shared IDs. This server's requirements, checklists and findings carry
pci_dss_ids; the PCI DSS assistant's findings carryasvs_requirement_ids. The model looks each standard's IDs up on the other server. -
One mapping, both directions.
get_pci_dss_mappinganswers "which ASVS requirements help with PCI DSS 6.2.4?" and "which PCI DSS requirements does V9.1.1 relate to?". -
One review.
unified_compliance_review_promptruns both servers'audit_directoryon the same folder and merges findings that share a file and line, so a SQL injection appears once with both6.2.4andV1.2.4. It keeps what only one server finds (card numbers and track data from PCI DSS; deserialization or JWT checks from ASVS) and reports one table with PCI DSS, ASVS and CWE columns. Without the PCI DSS assistant it runs the ASVS part and lists PCI DSS IDs without their text.
61 PCI DSS controls in Requirements 2, 3, 4, 6, 7, 8, 10, 11, 12 are mapped to 105 ASVS requirements. Network, physical and policy controls are left out. It is a community mapping of requirement IDs, with notes in this project's own words: it contains no PCI SSC text, and meeting an ASVS requirement does not mean a PCI DSS requirement is satisfied.
For systems in PCI DSS scope, the PCI DSS rule applies; document the ASVS deviation.
| PCI DSS | Kind | ASVS | How to meet both |
|---|---|---|---|
| 8.2.8 | pci stricter | V7.3.1 | PCI DSS fixes the idle timeout at 15 minutes, while ASVS V7.3.1 leaves it to risk analysis. Use 15 minutes or less for sessions that can reach cardholder data. |
| 8.3.4 | pci stricter | V6.1.1, V6.3.1 | PCI DSS requires locking a user ID after at most 10 failed attempts (for at least 30 minutes or until identity is confirmed), while ASVS asks that brute-force defences avoid malicious account lockout. Apply the PCI DSS lockout, and add rate limiting, alerting and user notification to limit abuse. |
| 8.3.6 | conflict | V6.2.1, V6.2.5 | PCI DSS requires passwords of at least 12 characters (8 where a system cannot support 12) that contain both letters and digits. ASVS asks for at least 8 characters (15 recommended) and V6.2.5 forbids composition rules. A 15-character minimum meets both length rules; for systems in PCI DSS scope, enforce the letters-and-digits rule and document it as a deviation from V6.2.5. |
| 8.3.7 | pci only | none | PCI DSS forbids reusing any of the last four passwords. ASVS has no equivalent, so add it for systems in PCI DSS scope. |
| 8.3.9 | conflict | V6.2.10 | PCI DSS requires passwords used as the only factor to change at least every 90 days, unless access is decided by a dynamic analysis of the account's security posture. ASVS V6.2.10 forbids periodic rotation. Multi-factor authentication (which takes the system out of 8.3.9) or the risk-based alternative meets both. |
To propose a mapping change, see Contributing.
Independent community project, not affiliated with or endorsed by the OWASP Foundation or PCI Security Standards Council. Not an ASVS verification. Code licensed under Apache-2.0; bundled OWASP ASVS content © OWASP Foundation, CC BY-SA 4.0.
ASVS Security Assistant
- Home
- Installation
- Connecting Clients
- Tools Reference
- Scanner Rules
- Working with PCI DSS
- How It Works
- Troubleshooting and FAQ
- Contributing
Links