The Payment Card Industry Data Security Standard (PCI DSS) is mandatory for any organization that stores, processes, or transmits credit card data. If your AI application handles payment information — even in free-text customer messages — PCI DSS applies. Blindfold’sDocumentation Index
Fetch the complete documentation index at: https://docs.blindfold.dev/llms.txt
Use this file to discover all available pages before exploring further.
pci_dss policy automatically detects and protects cardholder data before it reaches AI providers, reducing your PCI scope.
Who Must Comply
PCI DSS applies to:- Merchants that accept card payments
- Service providers that store, process, or transmit cardholder data
- Any AI application that processes text containing card numbers, CVVs, or expiry dates
Key PCI DSS Requirements
| Requirement | Description | Blindfold Solution |
|---|---|---|
| Req 3 | Protect stored cardholder data | encrypt() with AES-256 |
| Req 3.3 | Mask PAN when displayed | mask() shows only last 4 digits |
| Req 3.4 | Render PAN unreadable in storage | encrypt() or hash() |
| Req 7 | Restrict access to cardholder data | Separate API keys per application |
| Req 10 | Track and monitor all access | Audit logs for every operation |
| Req 12 | Maintain a security policy | Policy-based detection rules |
pci_dss Policy
The pci_dss policy detects payment-related sensitive data:
| Entity Type | Examples |
|---|---|
| Credit Card Number | 4532-7562-9102-3456 |
| Credit Card Expiration | 12/25, 03/2027 |
| CVV / CVC | 123, 4567 |
| Credit Card Brand | Visa, Mastercard, Amex |
| Bank Account Number | 1234567890 |
| IBAN | DE89 3704 0044 0532 0130 00 |
| Person | Cardholder name |
| Email Address | Contact email |
Code Examples
Mask Card Numbers for Display (Req 3.3)
PCI DSS requires that PANs are masked when displayed, showing at most the first 6 and last 4 digits:Encrypt for Storage (Req 3.4)
Render cardholder data unreadable anywhere it is stored:Redact from Logs (Req 3)
Remove cardholder data from application logs permanently:Tokenize for AI Processing
If your AI chatbot might receive card numbers in customer messages:Reducing PCI Scope
By tokenizing cardholder data with Blindfold before it reaches your AI provider or logs:- AI provider is out of PCI scope — it never sees real card numbers
- Application logs are out of scope — redacted data has no cardholder data
- Your PCI audit is simpler — fewer systems in scope
PCI DSS Compliance Checklist
Encrypt cardholder data at rest
Use
blindfold.encrypt() before storing any text containing card data.Use separate API keys
Issue different Blindfold API keys for different applications to enforce access control.