PCI-DSS 合规验证
validating-pci-dss-compliance
验证 PCI-DSS 合规性,评估支付卡数据安全。适用于审计支付系统。触发词:'验证 PCI-DSS'、'检查支付安全'或'审计卡数据'。
- License 许可
- MIT
- 最近更新
- 2025-12-18
- Stars
- ★ 29
- Forks
- 9
01 前言 Front Matter
- name
- validating-pci-dss-compliance
- license
- MIT
- version
- 1.0.0
- description
- Validate PCI-DSS compliance for payment card data security. Use when auditing payment systems. Trigger with 'validate PCI-DSS', 'check payment security', or 'audit card data'.
- allowed-tools
- [ "Read", "Write", "Edit", "Grep", "Glob", "Bash(security:*)", "Bash(scan:*)", "Bash(audit:*)" ]
02 资源文件 6
- 资产文件assets/README.md515 B
- 参考文档references/README.md759 B
- 脚本scripts/generate_report.py3.7 KB
- 脚本scripts/pci_dss_scan.py3.0 KB
- 脚本scripts/README.md689 B
- 脚本scripts/remediation_suggestions.py3.0 KB
03 SKILL.md 正文
Overview
This skill streamlines PCI DSS compliance checks by automatically analyzing code and configurations. It flags potential issues, allowing for proactive remediation and improved security posture. It is particularly useful for developers, security engineers, and compliance officers.
How It Works
- Analyze the Target: The skill identifies the codebase, configuration files, or infrastructure resources to be evaluated.
- Run PCI DSS Validation: The pci-dss-validator plugin scans the target for potential PCI DSS violations.
- Generate Report: The skill compiles a report detailing any identified vulnerabilities or non-compliant configurations, along with remediation recommendations.
When to Use This Skill
This skill activates when you need to:
- Evaluate a new application or system for PCI DSS compliance before deployment.
- Periodically assess existing systems to maintain PCI DSS compliance.
- Investigate potential security vulnerabilities related to PCI DSS.
Examples
Example 1: Validating a Web Application
User request: "Validate PCI compliance for my e-commerce web application."
The skill will:
- Identify the source code repository for the web application.
- Run the pci-dss-validator plugin against the codebase.
- Generate a report highlighting any PCI DSS violations found in the code.
Example 2: Checking Infrastructure Configuration
User request: "Check PCI DSS compliance of my AWS infrastructure."
The skill will:
- Access the AWS configuration files (e.g., Terraform, CloudFormation).
- Execute the pci-dss-validator plugin against the infrastructure configuration.
- Produce a report outlining any non-compliant configurations in the AWS environment.
Best Practices
- Scope Definition: Clearly define the scope of the PCI DSS assessment to ensure accurate and relevant results.
- Regular Assessments: Conduct regular PCI DSS assessments to maintain continuous compliance.
- Remediation Tracking: Track and document all remediation efforts to demonstrate ongoing commitment to security.
Integration
This skill can be integrated with other security tools and plugins to provide a comprehensive security assessment. For example, it can be used in conjunction with static analysis tools to identify vulnerabilities in code before it is deployed. It can also be integrated with infrastructure-as-code tools to ensure that infrastructure is compliant with PCI DSS from the start.
Prerequisites
- Access to codebase and configuration files in {baseDir}/
- Security scanning tools installed as needed
- Understanding of security standards and best practices
- Permissions for security analysis operations
Instructions
- Identify security scan scope and targets
- Configure scanning parameters and thresholds
- Execute security analysis systematically
- Analyze findings for vulnerabilities and compliance gaps
- Prioritize issues by severity and impact
- Generate detailed security report with remediation steps
Output
- Security scan results with vulnerability details
- Compliance status reports by standard
- Prioritized list of security issues by severity
- Remediation recommendations with code examples
- Executive summary for stakeholders
Error Handling
If security scanning fails:
- Verify tool installation and configuration
- Check file and directory permissions
- Validate scan target paths
- Review tool-specific error messages
- Ensure network access for dependency checks
Resources
- Security standard documentation (OWASP, CWE, CVE)
- Compliance framework guidelines (GDPR, HIPAA, PCI-DSS)
- Security scanning tool documentation
- Vulnerability remediation best practices
04 同仓库更多 Skills
UI 视觉回归测试
testing-visual-regression
使用截图比较检测 UI 组件中的视觉变化。 在检测意外的 UI 更改或像素差异时使用。 用“测试视觉变化”、“比较截图”或“检测 UI 回归”等短语触发。
单元测试自动生成
generating-unit-tests
从源代码自动生成全面的单元测试,覆盖正常路径、边界条件和错误情况。 在为函数、类或模块创建测试覆盖时使用。 用“生成单元测试”、“为…创建测试”或“添加测试覆盖”等短语触发。
测试报告生成与可视化
generating-test-reports
生成包含指标、覆盖率和可视化内容的全面测试报告。 在执行专项测试时使用。 用“生成测试报告”、“创建测试文档”或“显示测试指标”等短语触发。
测试执行编排与协调
orchestrating-test-execution
协调跨多个环境和框架的并行测试执行。 在执行专项测试时使用。 用“编排测试”、“运行并行测试”或“协调测试执行”等短语触发。
managing-test-environments
Provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".