Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8212

performing-cryptographic-audit-of-application

Skill này làm gì

Công cụ này kiểm tra mã và tệp cấu hình của bạn để tìm các vấn đề bảo mật liên quan đến mật mã. Nó tìm mật khẩu bị lộ, phương pháp mã hóa yếu hoặc đã lỗi thời và các lỗi khác có thể làm dữ liệu dễ bị tổn thương.

Khi nào nên dùng

  • ✓Khi kiểm tra bảo mật của một ứng dụng mới.
  • ✓Khi sau một lần cập nhật mã lớn.
  • ✓Khi cần kiểm tra định kỳ để đảm bảo mọi thứ vẫn an toàn.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-cryptographic-audit-of-application/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Quét mã Python của tôi để tìm mật khẩu không an toàn hoặc phương pháp mã hóa yếu.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích mã và tệp cấu hình của bạn. Nó tìm các mẫu đã biết về điểm yếu mật mã, như mật khẩu được viết thẳng vào mã hoặc việc dùng thuật toán mã hóa không còn được coi là an toàn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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%
Câu hỏi thường gặp

“Cryptographic primitive” là gì?

Đây là các khối xây dựng cơ bản của mật mã, như thuật toán băm (để kiểm tra tính toàn vẹn) và thuật toán mã hóa (để xáo trộn dữ liệu).

“Quản lý khóa” nghĩa là gì?

Đó là cách các khóa bí mật dùng trong mật mã được tạo, lưu trữ, sử dụng và hủy một cách an toàn.

“Thuật toán yếu” là gì?

Đó là phương pháp mã hóa đã lỗi thời và hacker có thể bẻ khóa tương đối dễ dàng, làm tổn hại an toàn dữ liệu.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8212
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự