Rule set sha256:a7e715b79299
PCI_DSS_INPUT_001
One rule of the rule set with digest a7e715b792994b004a7cc9714100077fad036164172ce42812ed396af0b727f5. An audit record that names this digest and this rule was decided by the rule as shown here. Every rule in this set.
| Rule | PCI_DSS_INPUT_001 |
|---|---|
| Rule version | 4d56a34534c997bde407fd226b6351c6f385f40c1c7bd32b23e7b6e8e1899354 |
| Provision | PCI DSS v4.0.1, Requirement 3 (Protect Stored Account Data), industry standard, not law; standard text behind PCI SSC licence not read Official publication: https://www.pcisecuritystandards.org/document_library/ |
| Approval | Approved Approved by Leo Celis (via agent review per §5.1 amendment v1.1) on 2026-10-22 |
rules/regulations/global/pci_dss_input_detection.yaml
- Citation
- Requirement 3 (Protect Stored Account Data)
- Condition
- Covers payment card account data (primary account numbers and card security codes) entered in user inputs, which PCI DSS Requirement 3 (Protect Stored Account Data) requires an entity not to store unprotected. PCI DSS is an industry standard enforced through card-brand and acquirer contracts, not a law.
- Layer 1 detects
- a card-number format written as one run of digits (13 or 16 digits starting with 4; 16 digits starting with 51 to 55; 15 digits starting with 34 or 37; 16 digits starting with 6011 or 65), or written in groups with the same separator, a space or a hyphen, throughout (four groups of four digits starting with 4, 51 to 55, 6011 or 65; or groups of 4, 6 and 5 digits starting with 34 or 37). No checksum is computed: any digit run of that shape fires, a valid card number or not, and other card ranges (Mastercard numbers starting with 2, JCB, Diners, 19-digit cards) are not matched. It also fires on the words credit card, debit card, card number, CVV or CVC; on my card, my credit or my debit; and on the word card followed later on the same line by four digits that end a word. The fragment "expir" in the pattern is bounded as a whole word and does not match expiry or expiration. It matches formats and words, not purpose: it fires on a question about payment methods ("Do you accept credit card payments?") and on a masked reference ("My card ending in 1234 was declined."), although the rule lists masked references as an exception. Whether a text holds cardholder data is judged in Layer 2.
- Condition type
- regex
- Status in the file
- approved