compliance-checker
コードセキュリティコンプライアンスの確認
開発者はコードがセキュリティおよび規制基準を満たしていることを確認する必要があります。このスキルは、OWASP Top 10、PCI-DSS、HIPAA、GDPR、その他のフレームワークに対してコードを確認し、実行可能なコンプライアンスレポートを生成します。
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「compliance-checker」を使用しています。 Check this code for SQL injection vulnerabilities: const query = `SELECT * FROM users WHERE email = '${email}'`;
期待される結果:
- CRITICAL: SQL Injection Vulnerability Detected
- The code uses string interpolation to build SQL queries, allowing attackers to manipulate input.
- Fix: Use parameterized queries instead.
- Compliant code: const query = 'SELECT * FROM users WHERE email = ?'; db.query(query, [email]);
「compliance-checker」を使用しています。 Check this Node.js code for cryptographic compliance: const cipher = crypto.createCipher('des', 'password');
期待される結果:
- HIGH: Weak Cryptographic Algorithm Detected
- DES is deprecated and provides insufficient security for modern applications.
- Fix: Use AES-256-GCM or similar strong encryption algorithm.
- Compliant code: const cipher = crypto.createCipheriv('aes-256-gcm', key, iv);
セキュリティ監査
安全Pure prompt-based skill containing security compliance guidance with educational code examples. The static scanner flagged patterns in code comments that intentionally demonstrate security violations - this is the skill's core purpose. No actual executable code, network calls, filesystem access, or credential handling exists. All flagged patterns are false positives from educational content.
リスク要因
⚙️ 外部コマンド (91)
🌐 ネットワークアクセス (5)
⚡ スクリプトを含む (2)
📁 ファイルシステムへのアクセス (2)
🔑 環境変数 (4)
品質スコア
作れるもの
リリース前のセキュリティレビュー
プロダクション環境にデプロイする前に、コードがセキュリティ基準を満たしていることを確認します。
コンプライアンス監査サポート
規制コンプライアンス監査および認定のためのエビデンスとチェックリストを準備します。
CI/CDセキュリティゲート
セキュリティコンプライアンスチェックを開発ワークフローとパイプラインに統合します。
これらのプロンプトを試す
Check this code for security compliance issues related to OWASP Top 10: [paste code here]
Validate this code for [PCI-DSS|HIPAA|GDPR|SOC 2] compliance. List any violations and required fixes.
Generate a comprehensive compliance report for this codebase against OWASP Top 10, HIPAA, and GDPR standards.
Analyze these compliance violations and provide step-by-step remediation guidance with code examples.
ベストプラクティス
- 正確な分析のために、関数コンテキストを含む完全なコードスニペットを提供する
- ユースケースに関連するコンプライアンスフレームワークを指定する
- コンテキストを理解するために、修正を適用する前に生成されたレポートを確認する
回避
- 適切なコンテキストなしで不完全なコードフラグメントを提出する
- スキルがコードベースの脆弱性を自動的に修正することを期待する
- コンプライアンスチェックをペネトレーションテストの代わりに使用する