All skills
simota avatar

/canon

@e307415
by shingo imotasimota/agent-skills85 stars
15

Assessing standards, regulatory controls, and legal-document coverage with cited evidence and proposed wording. Use for OWASP/WCAG/SOC2/PCI/HIPAA or ToS/privacy/DPA reviews; not legal advice or code fixes.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/canon

This session only. Nothing lands on disk.

referenceregulatory-frameworks.md

≈3.7k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Regulatory Frameworks Reference

SOC2 Trust Service Criteria

Overview

SOC2 reports are issued by CPA firms under AICPA standards. Type I evaluates control design at a point in time; Type II evaluates operating effectiveness over a period (typically 6-12 months). Current authoritative version: 2017 Trust Service Criteria with 2022 Revised Points of Focus + 2018 Description Criteria with 2022 Revised Implementation Guidance — no newer revision as of 2025. Sources: AICPA SOC 2 overview | AICPA-CIMA SOC resources

Trust Service Criteria (TSC)

Category ID Range Key Controls
Security (Common Criteria) CC1-CC9 CC6.1 Logical/physical access, CC6.3 Access removal, CC7.2 Monitoring, CC8.1 Change management
Availability A1.1-A1.3 Capacity planning, disaster recovery, backup/restore
Processing Integrity PI1.1-PI1.5 Data completeness, accuracy, timeliness
Confidentiality C1.1-C1.2 Data classification, confidential data protection
Privacy P1-P8 Notice, choice, collection, use, access, disclosure, quality, monitoring

Key Controls for Engineering Teams

Control Description Implementation Pattern
CC6.1 Logical access security RBAC/ABAC, MFA, SSO integration
CC6.2 Access provisioning/deprovisioning Automated onboarding/offboarding, access reviews
CC6.3 Access removal on termination Automated deprovisioning triggers
CC7.1 Configuration management Infrastructure as Code, drift detection
CC7.2 System monitoring SIEM, anomaly detection, alerting
CC8.1 Change management PR reviews, CI/CD gates, rollback procedures
CC9.1 Risk mitigation Risk register, control testing

PCI-DSS v4.0.1

Active version since January 2025. PCI-DSS v4.0 retired December 31 2024; v3.2.1 retired March 31 2024 — assessments against either retired version are audit failures. Source: PCI SSC Document Library | PCI DSS v4.0.1 blog

12 Requirements

Goal Req Description Technical Focus
Build/Maintain Secure Network 1 Install and maintain network security controls Firewalls, NSCs, microsegmentation
2 Apply secure configurations CIS benchmarks, hardening guides
Protect Account Data 3 Protect stored account data Encryption at rest (AES-256), tokenization, truncation, hashing
4 Protect data in transit TLS 1.2+, certificate management
Maintain Vuln Mgmt 5 Protect from malicious software Anti-malware, endpoint detection
6 Develop and maintain secure systems SDLC, code review, SAST/DAST, WAF
Access Control 7 Restrict access by business need Least privilege, RBAC
8 Identify users and authenticate MFA, password policies, service account management
9 Restrict physical access Physical security (less relevant for cloud-native)
Monitor/Test 10 Log and monitor all access Centralized logging, NTP sync, log integrity, 12-month retention
11 Test security regularly Vulnerability scans, penetration tests, IDS/IPS, change detection
InfoSec Policy 12 Support information security with policies Security awareness, incident response, risk assessment

PCI-DSS v4.0.1 Key Changes from v4.0 (June 2024 limited revision)

  • Clarified critical-vulnerability patch timeline (30 days applies only to critical vulnerabilities, reverting to v3.2.1 language)
  • Added Applicability Notes for payment page script management (Req 6.4.3)
  • Clarified MFA exemption: non-administrative CDE access authenticated with phishing-resistant factors is exempt from Req 8.3.6
  • Removed sample Customized Approach templates from Appendix E (moved to PCI SSC website)
  • No new or deleted requirements from v4.0

All 51 Future-Dated Requirements Now Mandatory (since March 31 2025)

Key mandates enforced:

  • Req 6.4.3: Payment page scripts — authorized inventory + integrity check required
  • Req 11.6.1: Change-detection mechanism for payment page HTTP headers and scripts
  • Req 8.3.6: Minimum 12-character passwords for all CDE user accounts
  • Req 8.4.2: MFA for all CDE access including third-party remote access
  • Req 12.3.1: Targeted Risk Analysis (TRA) for flexible-frequency requirements

Key Changes from v3.2.1 (for historical context only — do not assess against v3.2.1)

  • Customized approach allowed as alternative to defined approach
  • Enhanced authentication requirements (Req 8.3.6: MFA for all CDE access)
  • Targeted risk analysis for flexible implementation
  • New e-commerce and phishing protections (Req 6.4.3: script integrity)
  • Roles and responsibilities explicitly defined per requirement

Cardholder Data Environment (CDE) Scoping

  • CDE systems: Directly store, process, or transmit cardholder data
  • Connected-to systems: Connect to CDE but don't handle CHD directly
  • Out of scope: Segmented, no connectivity to CDE
  • Scope reduction: Tokenization, P2PE, network segmentation

HIPAA

Safeguard Categories

Category Key Rules Technical Controls
Administrative (§164.308) Risk analysis, workforce training, contingency planning, BAA management Risk assessment tools, training records, DR plans
Physical (§164.310) Facility access, workstation security, device controls Physical access logs, device encryption, media disposal
Technical (§164.312) Access control, audit controls, integrity controls, transmission security Unique user IDs, emergency access, auto-logoff, encryption
Breach Notification (§164.400-414) Individual notice (60 days), HHS notice, media notice (500+) Breach detection, notification workflows

Technical Safeguard Details (§164.312)

Standard Implementation Required/Addressable
Access control (a)(1) Unique user IDs, emergency access, auto-logoff, encryption Required
Audit controls (b) Record and examine system activity Required
Integrity (c)(1) Mechanisms to authenticate ePHI Required
Authentication (d) Verify person seeking access to ePHI Required
Transmission security (e)(1) Integrity controls, encryption for ePHI in transit Required

HIPAA Security Rule NPRM — Proposed Changes (2025-2026)

NPRM published January 6 2025 in the Federal Register. Comment period closed March 7 2025 (~5,000 comments received). Finalization tracked on OCR's regulatory agenda targeting May 2026; exact date not confirmed. The Trump administration has not withdrawn the NPRM. Factor proposed changes into readiness assessments now.

Key proposed changes:

  • Eliminate required/addressable distinction — all safeguards become mandatory
  • Mandate encryption at rest and in transit for all ePHI (no exceptions)
  • Business associates must report security incidents to covered entities within 24 hours
  • Mandatory technology asset inventory and network map (annual update)
  • Vulnerability scanning every 6 months; penetration testing annually
  • Anticipated compliance window: 60-day effective date + 180-day compliance period after final rule (~Q4 2026 if finalized May 2026)

Sources: Federal Register NPRM (2025-01-06) | HHS HIPAA Security Rule NPRM | Alston & Bird: Still on Track (Nov 2025)

Business Associate Agreement (BAA)

  • Required when sharing ePHI with third parties
  • Must specify permitted uses, safeguards, breach reporting
  • Cloud providers (AWS, GCP, Azure) offer BAA-eligible services
  • Not all cloud services are BAA-eligible (verify per service)

ISO 27001:2022

ISO 27001:2013 certificates expired October 31 2025 — assessments against the 2013 version are audit failures. Sources: ISO/IEC 27001:2022 | ISO/IEC 27002:2022 (controls guidance)

Annex A Control Themes (93 controls)

Theme Count Key Controls
Organizational (A.5) 37 A.5.1 InfoSec policies, A.5.9 Asset inventory, A.5.15 Access control, A.5.23 Cloud security, A.5.36 Compliance
People (A.6) 8 A.6.1 Screening, A.6.3 Awareness/training, A.6.5 Responsibilities after termination
Physical (A.7) 14 A.7.1 Physical perimeters, A.7.9 Off-premises security, A.7.14 Secure disposal
Technological (A.8) 34 A.8.1 User endpoint devices, A.8.5 Secure auth, A.8.9 Config management, A.8.12 DLP, A.8.24 Cryptography, A.8.25 SDLC, A.8.28 Secure coding

ISO 27001:2022 Key Changes from 2013

  • Reduced from 114 to 93 controls (merged/reorganized)
  • New controls: Threat intelligence (A.5.7), Cloud security (A.5.23), ICT readiness for business continuity (A.5.30), Data masking (A.8.11), DLP (A.8.12), Monitoring (A.8.16), Web filtering (A.8.23), Secure coding (A.8.28)
  • 4 themes replace 14 domains

Statement of Applicability (SoA)

  • Lists all 93 Annex A controls
  • States applicability (applicable/not applicable) with justification
  • Links each control to risk treatment plan
  • Evidence of implementation for applicable controls

NIST Cybersecurity Framework (CSF) 2.0

Released February 26 2024 — first major revision in 10 years. Source: NIST CSF 2.0 Final | NIST announcement

Six Core Functions (added Govern in 2.0)

Function Abbrev Description
Govern (NEW) GV Cybersecurity risk governance — strategy, policy, roles, supply chain risk management
Identify ID Understand assets, risks, and organizational context
Protect PR Safeguards to limit or contain cybersecurity events
Detect DE Identify cybersecurity events
Respond RS Actions regarding detected cybersecurity events
Recover RC Restore capabilities impaired by cybersecurity events

Key Changes from CSF 1.1

  • Govern function added (center of the framework wheel) — treats cybersecurity governance as enterprise risk management concern for senior leadership
  • Expanded scope beyond critical infrastructure to all organizations
  • Supply chain risk management (SCRM) elevated with dedicated Govern category (GV.SC)
  • Tiers include separate descriptions for Cybersecurity Risk Governance (Govern) and Cybersecurity Risk Management (other 5 functions)
  • CSF 2.0 profiles and implementation examples available at nist.gov/cyberframework

NIST SP 800-171 Rev. 3 (2024)

Finalized May 14 2024. Governs protection of Controlled Unclassified Information (CUI) in nonfederal systems. Required for US federal contractors under DFARS 252.204-7012. Source: NIST SP 800-171r3 Final | NIST SP 800-171Ar3 (Assessment)

Key Changes from Rev. 2

  • Aligned to NIST SP 800-53 Rev. 5 control structure
  • Organization-Defined Parameters (ODP) introduced for tailoring requirements
  • 17 security requirement families (consistent with SP 800-53r5)
  • New tailoring criteria reduce redundancy
  • SP 800-171r2 withdrawn; do not assess against it

Per-Recipe Behavior Notes (SKILL.md excerpt)

  • soc2: SOC2 Type I (design effectiveness) / Type II (operating effectiveness) assessment. Map all 5 Trust Service Criteria (Security, Availability, Processing Integrity, Confidentiality, Privacy) to every CC control.
  • pci: PCI-DSS v4.0.1 all 12 requirements, CDE scope definition, SAQ/ROC preparation support. Assess against the latest version, including the 51 future-dated requirements (mandatory since March 2025).
  • hipaa: Technical/administrative/physical safeguard assessment + ePHI handling patterns + BAA requirement check. Factor in NPRM readiness (all safeguards mandatory, encryption required, 24h reporting) — treat NPRM as planning baseline; final rule NOT yet published as of June 2026.
  • iso: ISO 27001:2022 Annex A 93 controls (4 themes) mapping + SoA draft generation. Always assess against the 2022 version since the 2013 version is invalid (since October 2025).
  • policy: OPA/Rego policy authoring, Kyverno YAML policies, CI/CD compliance gate integration. All implementation is delegated to Builder.
  • gdpr: GDPR + EU AI Act regulatory mapping at article level (Art. 5/6/7/13/14/15-22/25/32/33/34), DPIA triggers, ROPA template, lawful-basis selection, SCC/BCR transfer decision, DSAR workflow, and AI Act risk tiering (prohibited / high-risk / limited / minimal). For privacy-engineering implementation (consent SDK, PII scanner, pseudonymization code) use Cloak; for cryptographic key management under Art. 32 use Crypt; for breach detection rule authoring use Vigil.
  • audit: Audit readiness orchestration — evidence tiering, evidence-room structure with chain-of-custody, AICPA-aligned sampling strategy, auditor interview prep, findings remediation tracking, and 48-hour drift flagging for continuous audit. For detection rule coverage that feeds CC7.2 / PCI Req 10 evidence use Vigil; for cryptographic evidence artifacts (KMS rotation logs, HSM attestations) use Crypt.
  • vendor: Third-party vendor risk program — inventory sweep, critical/high/medium/low tier classification, DPA/BAA/SCC contract gating, SIG/CAIQ questionnaire handling, SOC 2 report review (scope, period, CUECs, exceptions, subservice organizations), tier-driven monitoring cadence, and subprocessor chain visibility. For processor/sub-processor privacy analysis under GDPR Art. 28 pair with Cloak; for validating vendor cryptographic claims use Crypt; for vendor SDK CVE scanning use Sentinel.

Source: SKILL.md on GitHub

1 warning13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The 'canon' skill is a comprehensive framework for assessing software against security, accessibility, quality, and regulatory standards. It provides extensive reference documentation and templates for auditing projects. The skill is verified as safe, with all identified behaviors—such as the use of well-known auditing tools and policy-as-code execution—being standard practices within its functional domain.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    2/6 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/canon