codeguard-1-crypto-algorithms
Cryptographic Security Guidelines
Install / Use
npx skills add cisco-ai-defense/skill-scannerInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
SecuritySupported Platforms
Our assessment of codeguard-1-crypto-algorithms
codeguard-1-crypto-algorithms scores 80/100 on our quality scale, 1007th of 1,108 Security skills we index.
Its Cursor Rules is 3.8 KB long, well organised into 17 sections with 1 code example: a solid amount of guidance for an agent.
With 2,549 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so codeguard-1-crypto-algorithms is actively maintained.
- Our last check on 2026-11-08 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-01. Automated pattern scan on 2026-10-01. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
codeguard-1-crypto-algorithms compared with similar skills
All 4 of these similar skills score higher than codeguard-1-crypto-algorithms; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| codeguard-1-crypto-algorithms (this skill)by cisco-ai-defense | 80 | 2.5k | 53d ago | Cursor Rules |
| diagram-designby cathrynlavery | 100 | 63.5k | 20d ago | SKILL.md |
| protocol-reverse-engineeringby wshobson | 100 | 39.9k | 57d ago | SKILL.md |
| anndataby K-Dense-AI | 100 | 46.4k | 56d ago | SKILL.md |
| codeqlby github | 100 | 39.3k | 53d ago | SKILL.md |
Frequently asked questions
- How do I install codeguard-1-crypto-algorithms?
- Run
npx skills add cisco-ai-defense/skill-scanner. The install tabs above show the steps for each supported agent. - Which AI agents does codeguard-1-crypto-algorithms work with?
- It is written for Cursor, as a Cursor Rules file. Other agents that read the same format can often use it too.
- Is codeguard-1-crypto-algorithms safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is codeguard-1-crypto-algorithms still maintained?
- The repository was last updated about 2 months ago, so codeguard-1-crypto-algorithms is actively maintained.
Skill content
View source on GitHubdescription: Cryptographic Security Guidelines globs: */ version: 1.0.1 alwaysApply: true
rule_id: codeguard-1-crypto-algorithms
Cryptographic Security Guidelines
Banned (Insecure) Algorithms
The following algorithms are known to be broken or fundamentally insecure. NEVER generate or use code with these algorithms. Examples:
- Hash:
MD2,MD4,MD5,SHA-0 - Symmetric:
RC2,RC4,Blowfish,DES,3DES - Key Exchange: Static RSA, Anonymous Diffie-Hellman
- Classical:
Vigenère
Deprecated (Legacy/Weak) Algorithms
The following algorithms are not outright broken, but have known weaknesses, or are considered obsolete. NEVER generate or use code with these algorithms. Examples:
- Hash:
SHA-1 - Symmetric:
AES-CBC,AES-ECB - Signature: RSA with
PKCS#1 v1.5padding - Key Exchange: DHE with weak/common primes
Deprecated SSL/Crypto APIs - FORBIDDEN
NEVER use these deprecated functions. Use the replacement APIs listed below:
Symmetric Encryption (AES)
- Deprecated:
AES_encrypt(),AES_decrypt() - Replacement: Use EVP high-level APIs:
EVP_EncryptInit_ex() EVP_EncryptUpdate() EVP_EncryptFinal_ex() EVP_DecryptInit_ex() EVP_DecryptUpdate() EVP_DecryptFinal_ex()
RSA Operations
- Deprecated:
RSA_new(),RSA_up_ref(),RSA_free(),RSA_set0_crt_params(),RSA_get0_n() - Replacement: Use EVP key management APIs:
EVP_PKEY_new() EVP_PKEY_up_ref() EVP_PKEY_free()
Hash Functions
- Deprecated:
SHA1_Init(),SHA1_Update(),SHA1_Final() - Replacement: Use EVP digest APIs:
EVP_DigestInit_ex() EVP_DigestUpdate() EVP_DigestFinal_ex() EVP_Q_digest() // For simple one-shot hashing
MAC Operations
- Deprecated:
CMAC_Init(),HMAC()(especially with SHA1) - Replacement: Use EVP MAC APIs:
EVP_Q_MAC() // For simple MAC operations
Key Wrapping
- Deprecated:
AES_wrap_key(),AES_unwrap_key() - Replacement: Use EVP key wrapping APIs or implement using EVP encryption
Other Deprecated Functions
- Deprecated:
DSA_sign(),DH_check() - Replacement: Use corresponding EVP APIs for DSA and DH operations
Banned Insecure Algorithms - STRICTLY FORBIDDEN
These algorithms MUST NOT be used in any form:
Hash Algorithms (Banned)
- MD2, MD4, MD5, SHA-0
- Reason: Cryptographically broken, vulnerable to collision attacks
- Use Instead: SHA-256, SHA-384, SHA-512
Symmetric Ciphers (Banned)
- RC2, RC4, Blowfish, DES, 3DES
- Reason: Weak key sizes, known vulnerabilities
- Use Instead: AES-128, AES-256, ChaCha20
Key Exchange (Banned)
- Static RSA key exchange
- Anonymous Diffie-Hellman
- Reason: No forward secrecy, vulnerable to man-in-the-middle attacks
- Use Instead: ECDHE, DHE with proper validation
Broccoli Project Specific Requirements
- HMAC() with SHA1: Deprecated per Broccoli project requirements
- Replacement: Use HMAC with SHA-256 or stronger:
// Instead of HMAC() with SHA1 EVP_Q_MAC(NULL, "HMAC", NULL, "SHA256", NULL, key, key_len, data, data_len, out, out_size, &out_len);
Secure Crypto Implementation Pattern
// Example: Secure AES encryption
EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
if (!ctx) handle_error();
if (EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, key, iv) != 1)
handle_error();
int len, ciphertext_len;
if (EVP_EncryptUpdate(ctx, ciphertext, &len, plaintext, plaintext_len) != 1)
handle_error();
ciphertext_len = len;
if (EVP_EncryptFinal_ex(ctx, ciphertext + len, &len) != 1)
handle_error();
ciphertext_len += len;
EVP_CIPHER_CTX_free(ctx);
Code Review Checklist
- [ ] No deprecated SSL/crypto APIs used
- [ ] No banned algorithms (MD5, DES, RC4, etc.)
- [ ] HMAC uses SHA-256 or stronger (not SHA1)
- [ ] All crypto operations use EVP high-level APIs
- [ ] Proper error handling for all crypto operations
- [ ] Key material properly zeroed after use
Related Skills
diagram-design
63.5kCreate branded architecture, architecture delta, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, exploded axonometric, axonometric plan, Venn, py…
protocol-reverse-engineering
39.9kMaster network protocol reverse engineering including packet analysis, protocol dissection, and custom protocol documentation
anndata
46.4kHandles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
codeql
39.3kComprehensive guide for setting up and configuring CodeQL code scanning via GitHub Actions workflows and the CodeQL CLI. This skill should be used when users need help with code scanning configuration, CodeQL workflow files, CodeQL CLI commands, SARIF output, security analysis setup, or troubleshoot…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
