pci-dss-script-audit

pci-dss-script-audit is a skill for Claude Code, Codex from vaquarkhan/compliance-agent-skills. It costs 115 tokens per session (2,312 once invoked), scanned A, original, MIT.

A repeatable audit guide for JavaScript running on payment pages under PCI-DSS version 4.0. It records scripts and browser changes, then compares cryptographic hashes and security headers with an approved baseline.

In plain words
What is it for?
Auditing checkout and payment pages, documenting script authorization and purpose, checking SHA-256 hashes, and monitoring weekly changes to scripts, the page structure, and HTTP security headers.
Why use it?
It helps detect unauthorized or modified browser code, including payment-page attacks that steal card details through the page itself.

Skill for Claude CodeCodex

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

Good fit Auditing checkout and payment pages, documenting script authorization and purpose, checking SHA-256 hashes, and monitoring weekly changes to scripts, the page structure, and HTTP security headers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit
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-script-audit
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-script-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit/github.svg)](https://agentmods.dev/skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit)
Your own site
<a href="https://agentmods.dev/skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit"><img src="https://agentmods.dev/badge/skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit/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-script-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit"><img src="https://agentmods.dev/badge/skills/vaquarkhan/compliance-agent-skills/pci-dss-script-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,312 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00115 $0.02312
Opus 5 $0.00057 $0.01156
Sonnet 5 $0.00023 $0.00462
Haiku 4.5 $0.00012 $0.00231

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

Security

Grade A, and why

pci-dss-script-audit scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. If Playwright MCP is unavailable, **stop** and report a blocking error—do not substitute manual curl or static HTML fetches for dynamic checkout pages.
skills/pci-dss-script-audit/SKILL.md · 171 lines

How it starts

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

PCI-DSS Script Audit

Overview

This skill drives a deterministic audit workflow for PCI-DSS v4.0 Requirement 6.4.3 (script management on payment pages) and Requirement 11.6.1 (change and tamper detection). The agent must treat the skill steps as mandatory sequence—not suggestions—and produce verifiable artifacts (DOM snapshots, script inventory, SHA-256 hashes, header baselines, and diff reports).

Payment-page script attacks (Magecart, formjacking, skimming) bypass traditional WAF controls because malicious code executes in the browser DOM. This skill closes that gap by combining headless browser extraction via the official Playwright MCP server with cryptographic integrity verification and continuous baseline comparison.

When to Use

Use this skill when:

  • Auditing a checkout, cart, or payment page for PCI-DSS v4.0 compliance
  • Building or refreshing a script inventory with authorization status and business justification
  • Verifying SHA-256 integrity hashes of inline and external JavaScript against an authorized baseline
  • Running Requirement 11.6.1 monitoring (headers + DOM) on a schedule (at least every 7 days)
  • Investigating alerts for unauthorized script additions, modifications, or deletions
  • Reviewing Content-Security-Policy (CSP) and other security headers on payment pages

Do not use this skill when:

  • The target is a non-payment page (blog, marketing landing page, internal admin console)
  • The task is purely backend infrastructure (database encryption, OS hardening, vault key rotation)
  • You lack authorization to scan the target URL or connect MCP tools to production systems
  • You need HIPAA PHI redaction only (use a HIPAA-focused skill instead)

Core Process

Execute the following steps in order. Do not skip or reorder steps.

Phase A — Requirement 6.4.3: Script Authorization, Inventory, and Integrity

Step 1: Initialize audit context
  1. Record the audit metadata:
    • Target payment page URL(s)
    • Audit timestamp (UTC)
    • Auditor identity / agent run ID
    • PCI scope identifier (e.g., CDE checkout flow name)
  2. Confirm you have MCP access to the Playwright MCP server (official @playwright/mcp or equivalent documented Playwright MCP implementation).
  3. If Playwright MCP is unavailable, stop and report a blocking error—do not substitute manual curl or static HTML fetches for dynamic checkout pages.

Read the full file on GitHub · 171 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. 11d ago First seen · 171 lines · 115 tokens per session scan A caf2b0a0353c

Subscribe to this mod's changes

pci-dss-script-audit is a skill published in the GitHub repository vaquarkhan/compliance-agent-skills (2 stars, last pushed 17d ago), licensed MIT. It adds 115 tokens to every session and 2,312 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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