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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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%
자주 묻는 질문
'암호화 기본 요소(cryptographic primitives)'란 무엇인가요?
암호학의 기본 구성 요소로, 무결성을 확인하는 해시 알고리즘과 데이터를 뒤섞는 암호화 알고리즘 등이 있습니다.
'키 관리'는 무엇을 뜻하나요?
암호화에 사용되는 비밀 키를 안전하게 생성하고, 보관하고, 사용하고, 폐기하는 방법을 뜻합니다.
'약한 알고리즘'이란 무엇인가요?
오래되어 해커가 비교적 쉽게 깰 수 있는 암호화 방식으로, 데이터 보안을 위협합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 35k
- 순위
- #8212
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.