Skip to main content

mitm-find-checksum

Find checksum and signature vulnerabilities. Use when user asks about hash validation, signature bypass, checksum manipulation, or cryptographic weaknesses.

설치로 이동

소스 정보

저장소
instavm/security-skills
최근 소스 활동
2026년 3월 23일 05:24
감지된 SKILL.md 언어
영어
스타
86
포크
11

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
mitm-find-checksum
description
Find checksum and signature vulnerabilities. Use when user asks about hash validation, signature bypass, checksum manipulation, or cryptographic weaknesses.
# Find Checksum/Signature Vulnerabilities Analyze the mitmproxy dump (log.txt) for checksum issues for: $ARGUMENTS > **Requires**: `log.txt` in the current directory. If it's missing, capture traffic first: > ```bash > mitmdump --set flow_detail=3 2>&1 | tee log.txt > ``` ## Vulnerability Types ### 1. Checksum Generation Exposed - API returns hash even on error - Can generate arbitrary checksums - Checksum endpoint accessible without auth ### 2. Weak Algorithms - MD5 without salt - SHA1 (deprecated) - Simple concatenation ### 3. Signature Collision - Same signature for different operations - Payment and refund use same algorithm - Parameter reordering gives same hash ### 4. Missing Fields in Checksum - Amount not in checksum calculation - Status not included - Critical fields missing ### 5. Checksum Not Validated - Hash parameter present but ignored - Backend accepts any hash value - Validation only on specific endpoints ## Patterns to Find ``` # Look for hash/checksum parameters hash=, checksum=, signature=, sign=, hmac= # Look for checksum generation APIs /generateHash, /getChecksum, /createSignature # Error responses with valid checksums "error": "...", "checksum": "valid_hash" ``` ## Testing Approach ```bash # Test if checksum is validated curl -X POST "https://target.com/callback" \ -d "amount=100&status=success&hash=invalid" # Test checksum generation curl "https://target.com/api/generateChecksum" \ -d "amount=1&status=success" ``` ## Output Format For each finding: - **Endpoint**: Where checksum is used - **Issue**: Type of vulnerability - **Algorithm**: If identifiable - **Fields Included**: What's in the hash - **Exploit**: How to bypass/generate - **Impact**: Payment fraud, data tampering - **Fix**: Strong HMAC, include all fields
GitHub에서 보기