agentic-security:security-weak-crypto

Block code writes using MD5, SHA1, DES, RC4, or static IVs.

73|15|Updated May 6, 2026
One-click install
npx skills add https://github.com/Clear-Capabilities/agentic-security --skill agentic-security-security-weak-crypto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentic-security:security-weak-crypto
Source: https://github.com/Clear-Capabilities/agentic-security/tree/main/skills/security-weak-crypto
Command: npx skills add https://github.com/Clear-Capabilities/agentic-security --skill agentic-security-security-weak-crypto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevent cryptographic weaknesses by catching and stopping edits that introduce weak primitives like MD5, SHA1, DES, RC4, or static IVs.

Core Features & Use Cases

  • Stop unsafe crypto usage by detecting and blocking weak primitives in edits.
  • Applies to password hashing, symmetric encryption, and randomness generation in code before deployment.
  • Use case: When editing code that calls crypto.createHash('md5') or DES ciphers, the skill halts the write and suggests safer alternatives.

Quick Start

Enable the pre-write guard so edits using weak crypto such as MD5, SHA1, DES/RC4, or static IVs are refused.

Frequently Asked Questions about agentic-security:security-weak-crypto

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent weak crypto like MD5 or RC4 from being written into my codebase?

To prevent weak crypto usage, you can enable a pre-write guard that detects and blocks code edits introducing MD5, SHA1, DES, RC4, or static IVs. It halts the write and suggests secure replacements like bcrypt or AES-GCM.

What is the best way to stop unsafe password hashing during code generation?

Stopping unsafe password hashing requires applying a pre-write guard during code edits or generation. It detects weak primitives, blocks the write, and suggests secure alternatives such as bcrypt or argon2 for password hashing.

Does this weak crypto detection work with symmetric encryption and IV handling?

Yes, weak crypto detection works with symmetric encryption and IV handling by catching edits that use DES ciphers or static IVs. It blocks these writes and suggests AES-GCM with per-message IVs and secure random values.

Why should I block static IVs and SHA1 in code edits before deployment?

Blocking static IVs and SHA1 in code edits prevents cryptographic weaknesses before deployment. Halting these writes during the editing phase ensures unsafe primitives are replaced with secure random values and modern algorithms.

Can I use this guard to replace DES ciphers with secure encryption automatically?

You can use this guard to block DES ciphers and suggest secure encryption replacements. When a code edit calls DES, the skill halts the write and recommends AES-GCM with per-message IVs for secure symmetric encryption.

What are the limitations of using a pre-write guard for weak crypto detection?

The limitation of this weak crypto pre-write guard is that it only applies during edits or code-generation steps. It specifically targets password hashing, symmetric encryption, and IV handling, blocking writes rather than fixing existing code.