本文へスキップ
Skillpedia
セキュリティ35k · #8212

performing-cryptographic-audit-of-application

できること

このツールは、コードや設定ファイルに含まれる暗号に関するセキュリティ上の問題をチェックします。パスワードの露出、弱い、または古い暗号化方式、そのほかデータを危険にさらす可能性のある欠陥を探します。

使う場面

  • ✓新しいアプリケーションのセキュリティを確認するとき。
  • ✓大きなコード更新の後。
  • ✓定期的に、すべてが安全であることを確認するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-cryptographic-audit-of-application/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-cryptographic-audit-of-application/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のPythonコードに、安全でないパスワードや暗号化方式がないかスキャンしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールはコードと設定ファイルを分析します。暗号の弱点としてよく知られたパターンを検索します。たとえば、コードに直接書かれたパスワードや、もはや安全とみなされていない暗号化アルゴリズムの使用などです。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Performing Cryptographic Audit of Application

Overview

A cryptographic audit systematically reviews an application's use of cryptographic primitives, protocols, and key management to identify vulnerabilities such as weak algorithms, insecure modes, hardcoded keys, insufficient entropy, and protocol misconfigurations. This skill covers building an automated crypto audit tool that scans Python and configuration files for common cryptographic weaknesses.

When to Use

  • When conducting security assessments that involve performing cryptographic audit of application
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with cryptography concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Detect usage of deprecated algorithms (MD5, SHA-1, DES, RC4)
  • Identify insecure cipher modes (ECB) and padding schemes
  • Find hardcoded keys, passwords, and secrets in source code
  • Verify TLS/SSL configuration strength
  • Check key derivation function parameters
  • Validate random number generator usage
  • Produce a structured audit report with findings and remediation

Key Concepts

Cryptographic Weakness Categories

Category Examples Risk Level
Weak Hashing MD5, SHA-1 for integrity/signatures High
Insecure Encryption DES, 3DES, RC4, Blowfish High
Bad Cipher Mode ECB mode for any block cipher High
Insufficient Key Size RSA < 2048, AES-128 for long-term Medium
Hardcoded Secrets Keys/passwords in source code Critical
Weak KDF Low iteration PBKDF2, plain MD5 High
Poor Entropy time-based seeds, predictable IVs High
Deprecated Protocols SSLv3, TLS 1.0, TLS 1.1 High

Security Considerations

  • Review both application code and configuration files
  • Check third-party dependencies for known crypto vulnerabilities
  • Verify certificates and TLS configurations on deployed servers
  • Ensure secrets are loaded from environment variables or vaults
  • Review key storage and rotation practices

Validation Criteria

  • Scanner detects all injected test weaknesses
  • MD5/SHA-1 usage for security purposes is flagged
  • ECB mode usage is flagged
  • Hardcoded keys/passwords are detected
  • Weak KDF parameters are identified
  • Report includes severity, location, and remediation
  • False positive rate is below 10%
よくある質問

「暗号プリミティブ」とは何ですか?

ハッシュアルゴリズム(データの整合性を確認するため)や暗号化アルゴリズム(データを変換して読めなくするため)など、暗号の基本的な構成要素のことです。

「鍵管理」とはどういう意味ですか?

暗号で使われる秘密鍵を、安全に作成、保管、使用、破棄する方法のことです。

「弱いアルゴリズム」とは何ですか?

古くなり、ハッカーによって比較的簡単に破られてしまい、データのセキュリティを損なう暗号化方式のことです。

詳細

作者による元の説明

A cryptographic audit systematically reviews an application's use of cryptographic primitives, protocols, and key management to identify vulnerabilities such as weak algorithms, insecure modes, hardco

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#8212
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル