pci-dss-encryption-key-management

pci-dss-encryption-key-management is a skill for Claude Code, Codex from vaquarkhan/compliance-agent-skills. It costs 158 tokens per session (2,722 once invoked), scanned A, original, MIT.

A security review guide for protecting payment-card data when it is stored or sent across networks. PCI-DSS is the payment-card industry's security standard; PAN means a card number, and an HSM is a device designed to protect encryption keys.

In plain words
What is it for?
Checking key lifecycles, HSM use, card-number masking, tokenization, storage encryption, and TLS 1.2 or newer for systems that handle payment data.
Why use it?
It helps find gaps such as exposed card numbers, unsafe key handling, missing encryption, or weak network protection against PCI-DSS version 4.0 requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking key lifecycles, HSM use, card-number masking, tokenization, storage encryption, and TLS 1.2 or newer for systems that handle payment data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vaquarkhan/compliance-agent-skills --skill pci-dss-encryption-key-management
Clone the repo
git clone --depth 1 https://github.com/vaquarkhan/compliance-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pci-dss-encryption-key-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management/github.svg)](https://agentmods.dev/skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management)
Your own site
<a href="https://agentmods.dev/skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management"><img src="https://agentmods.dev/badge/skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pci-dss-encryption-key-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management"><img src="https://agentmods.dev/badge/skills/vaquarkhan/compliance-agent-skills/pci-dss-encryption-key-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,722 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00158 $0.02722
Opus 5 $0.00079 $0.01361
Sonnet 5 $0.00032 $0.00544
Haiku 4.5 $0.00016 $0.00272

Measured 12d ago against content hash 22dae89d6c51, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pci-dss-encryption-key-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pci-dss-encryption-key-management/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PCI-DSS Encryption and Key Management

Overview

This skill implements PCI-DSS v4.0 Requirements 3 and 4 for protecting account data at rest and in transit. These requirements apply to all systems that store, process, or transmit cardholder data (CHD) or sensitive authentication data (SAD).

Requirement 3 — Protect stored account data:

Sub-requirement Focus
3.1 Processes and mechanisms for protecting stored account data
3.2 SAD storage prohibited after authorization (full track, CVV, PIN)—never store post-auth
3.3 PAN masking when displayed (show first six/last four max per PCI guidance)
3.4 PAN rendered unreadable anywhere stored (encryption, hashing, tokenization, truncation)
3.5 Key management procedures documented and implemented
3.6 Cryptographic keys protected against disclosure and misuse
3.7 Key management documented for keys used to protect stored account data

Requirement 4 — Protect CHD during transmission:

Sub-requirement Focus
4.1 Processes for strong cryptography during transmission over open, public networks
4.2 PAN protected with strong cryptography during transmission
4.2.1 Inventory of trusted keys and certificates
4.2.2 Wireless networks transmitting PAN use strong cryptography

Key management lifecycle (Req 3.6–3.7): generation, distribution, storage, rotation, retirement, destruction. HSMs (Hardware Security Modules) or cloud KMS (AWS KMS, Azure Key Vault, GCP Cloud KMS) are standard for production PAN encryption.

This skill integrates Terraform MCP (mcp/terraform.mcp.json) and HashiCorp Vault patterns per references/compliance-as-code-patterns.md and compliance-as-code-governance.

When to Use

Use this skill when:

  • Scoping encryption for databases, logs, backups, and agent evidence stores touching CHD
  • Auditing key rotation, dual control, and split knowledge (Req 3.6)
  • Validating tokenization architecture for scope reduction
  • Reviewing TLS configuration on payment endpoints, APIs, and MCP transport (Req 4.2)
  • Scanning Terraform/IaC for unencrypted RDS, S3, or cleartext PAN fields
  • Assessing whether compliance agent/MCP logs or Postgres evidence DB contain PAN

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 191 lines · 158 tokens per session scan A 22dae89d6c51

Subscribe to this mod's changes

pci-dss-encryption-key-management is a skill published in the GitHub repository vaquarkhan/compliance-agent-skills (2 stars, last pushed 18d ago), licensed MIT. It adds 158 tokens to every session and 2,722 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cmmc-assessment-objectives

Verbatim reference for all 320 NIST 800-171A Rev 2 assessment objectives, plus the Rev 2 → Rev 3 control crosswalk. Use for AO-level lookups (e.g., 3.1.1[c]), evidence planning, and forward-mapping to Rev 3. Pairs with cmmc-expert.

GRCEngClub/claude-grc-engineering · 80 tokens

dora-expert

DORA expert for EU financial entities. Deep knowledge of Digital Operational Resilience Act including 5 pillars, ICT risk management, incident reporting, resilience testing, third-party oversight, and information sharing for financial sector digital resilience.

GRCEngClub/claude-grc-engineering · 49 tokens

cmmc-expert

CMMC v2.0 expert for DoD contractors. Covers NIST 800-171 Rev 2 (14 families, 110 controls), SPRS scoring, POA&M rules, 32 CFR Part 170, DFARS clauses, scoping, ESP/CSP, C3PAO assessment lifecycle, and Rev 2 → Rev 3 transition.

GRCEngClub/claude-grc-engineering · 80 tokens

eu-nis2-expert

EU NIS2 Directive (Directive (EU) 2022/2555) expert. Reference-depth knowledge of essential vs important entity classification, Article 20 governance, the Article 21 ten cybersecurity risk-management measures, the Article 23 24h/72h/1mo incident-reporting timeline, and supervision/enforcement under Articles 32-34.…

GRCEngClub/claude-grc-engineering · 90 tokens

gdpr-expert

GDPR expert for EU privacy compliance. Deep knowledge of General Data Protection Regulation including 99 articles, 7 principles, 6 lawful bases, data subject rights, DPO requirements, DPIA, breach notification, cross-border transfers, and enforcement.

GRCEngClub/claude-grc-engineering · 55 tokens

glba-expert

GLBA expert for financial institutions. Deep knowledge of Gramm-Leach-Bliley Act including Safeguards Rule (16 CFR Part 314), Privacy Rule (16 CFR Part 313), FTC enforcement, information security program requirements, vendor management, and consumer privacy notices.

GRCEngClub/claude-grc-engineering · 58 tokens