agentsclimarketplace

Pci dss

Skill Mattakushi432/Claude-Code-Skills-Custom-DevTools-Pack/plugins/devtools-pack/skills/pci-dss

When to activate: PCI DSS, PCI compliance, payment card security, cardholder data, SAQ, QSA, card data environment, tokenization, network segmentationFrom its SKILL.md

Install
npx -y skills add Mattakushi432/Claude-Code-Skills-Custom-DevTools-Pack --skill pci-dss

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.6 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

PCI DSS Patterns

Merchant Levels by Transaction Volume

LevelVisa/MC transactions/yearCompliance path
1> 6 millionOn-site QSA audit + ASV scans quarterly
21–6 millionSAQ + ASV scans quarterly
320,000–1 million (e-commerce)SAQ + ASV scans quarterly
4< 20,000 (e-commerce) or < 1M (all)SAQ recommended + ASV scans

Service providers: Level 1 (> 300K tx/yr) or Level 2 (< 300K).

Cardholder Data Environment (CDE) Scoping

What is In-Scope

  • Systems that store cardholder data (PAN, SAD, CVV, expiry, name)
  • Systems that process cardholder data (payment page, POS, gateway)
  • Systems that transmit cardholder data (networks carrying card data)
  • Systems connected to any of the above (jump servers, AD, monitoring)

Scope Reduction Strategies

  1. Tokenization — replace PAN with a token; only token vault is in-scope
  2. Point-to-Point Encryption (P2PE) — validated P2PE solution can reduce scope to physical terminals only
  3. Redirect / iFrame — offload payment page to a PCI-certified processor
  4. Network segmentation — firewall CDE from out-of-scope systems; validate segmentation annually

Segmentation Validation

  • Penetration test the segmentation controls annually (and after significant changes)
  • Document all data flows crossing the CDE boundary
  • Confirm no cardholder data exists outside the defined CDE

SAQ Types

SAQWho uses itKey characteristics
ACard-not-present merchants, fully outsourcedNo electronic storage/processing/transmission
A-EPE-commerce, third-party payment page but own websiteJavaScript or redirect from own server
BImprint machines or standalone dial-out terminalsNo electronic cardholder data storage
B-IPIP-connected terminals, no electronic storageTerminals isolated on network
C-VTVirtual terminal on dedicated computerManually entered, no electronic storage
CPayment application connected to internetNo electronic storage of cardholder data
DAll other merchants and service providersFull questionnaire

12 PCI DSS Requirements Summary

#RequirementKey controls
1Install and maintain network security controlsFirewall rules, deny-all default, CDE isolation
2Apply secure configurationsNo vendor defaults, system hardening standards
3Protect stored cardholder dataMinimize storage, encrypt PAN at rest, mask display
4Protect cardholder data in transitTLS 1.2+ everywhere, no weak protocols
5Protect systems from malwareAV/EDR on all applicable systems, anti-phishing
6Develop and maintain secure systemsPatch within 1 month (critical: 1 month), SDLC
7Restrict access by business needLeast privilege, role-based access
8Identify and authenticate accessUnique IDs, MFA for remote and admin access
9Restrict physical accessBadge access, CCTV, visitor logs, media destruction
10Log and monitor all accessAudit logs, log review daily, retain 12 months
11Test security systems and processesQuarterly scans, annual pen test, IDS/IPS
12Support information security with policiesWritten policies, risk assessment annual

Encryption Requirements

Data at Rest

  • PAN must be rendered unreadable: strong cryptography (AES-256), truncation, tokenization, or one-way hash
  • CVV2/CVC2: must never be stored post-authorization (not even encrypted)
  • Full magnetic stripe data: must never be stored
  • PIN/PIN block: must never be stored

Data in Transit

  • TLS 1.2 minimum (TLS 1.3 preferred)
  • Disable SSL, TLS 1.0, TLS 1.1
  • Valid certificates from trusted CA
  • No mixed content (HTTP + HTTPS on same page)

Penetration Testing Requirements

TypeFrequencyScope
External network pen testAnnual + after significant changesAll external-facing CDE IPs
Internal network pen testAnnual + after significant changesAll internal CDE systems
Application layer pen testAnnual + after significant changesPayment application, APIs
Segmentation testAnnual + after significant changesValidate CDE isolation

Pen Test Minimum Coverage

  • All CDE IP addresses and web application surfaces
  • Testing from both internal and external perspectives
  • Exploit vulnerabilities — not just discover them
  • Retain results and evidence of remediation

QSA Engagement Guide

When You Need a QSA

  • Level 1 merchants (required)
  • Level 1 service providers (required)
  • Level 2 merchants opting for on-site assessment over SAQ

QSA Engagement Phases

  1. Scoping — define CDE boundary, agree on scope document
  2. Gap assessment (optional) — identify gaps before formal audit
  3. Remediation — fix identified gaps
  4. Assessment — QSA validates controls, interviews staff, inspects evidence
  5. Report on Compliance (ROC) — formal output; file with acquirer

Evidence to Prepare

  • Network diagrams showing CDE segmentation
  • Data flow diagrams for cardholder data
  • Firewall rule sets and change logs
  • System hardening standards and evidence of application
  • Patch levels for all in-scope systems
  • Access control lists and user account inventory
  • Log samples and review evidence
  • Penetration test reports with remediation evidence
  • Policies and procedures documents
  • Training completion records

Common Compliance Gaps

GapFix
Default passwords not changedInventory all systems; enforce password change at provisioning
CVV stored in logsAudit all log outputs; mask or remove CVV from logs
No MFA for admin accessEnforce MFA for all non-console administrative access
Logs not reviewed dailyAutomate log review with SIEM alerts; document review
No formal change controlImplement change management process with approval workflow
SAQ scope understatedMap all systems touching cardholder data; include connected systems
Pen test only externalMust include internal and application layer testing
Missing patch for > 1 monthAutomate patch scanning; track SLA breach

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,834. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.