# Sh kb crypto

> Sh kb crypto is an open-source agent skill for finance and payments. Gives the agent a checklist for finding weak or misused cryptography in code. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/dmdhrumilmistry/indra/tree/main/plugins/indra/skills/sh-kb-crypto
- **Repository:** https://github.com/dmdhrumilmistry/indra
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** sh-kb-crypto
- **Collection:** https://github.com/dmdhrumilmistry/indra
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill is a hunter's knowledge base for spotting cryptographic failures during security review. It lists the weak algorithms, insecure randomness, static keys and IVs, ECB mode, missing integrity checks and disabled certificate verification the agent should look for, along with grep targets and language-specific safe and unsafe patterns for common stacks.

The workflow asks the agent to identify what each suspicious primitive protects and what threat model applies, then trace randomness and key or IV sources to their uses. It also covers variant hunting across sibling helpers and features, filters out non-security uses of MD5 or SHA1 and confirmed-safe patterns like AEAD, and suggests evidence to collect, defender detection signals, ATT&CK mappings and CWE and OWASP references.

The skill is plain markdown with no bundled scripts. It is meant to guide an agent that can read and search a codebase, and it does not run tools itself.

## When your agent uses it

> Knowledge base for finding cryptographic failures - weak hashing/encryption, insecure randomness, hardcoded/static keys and IVs, ECB mode, missing integrity, and predictable tokens. Use when hunting crypto misuse. CWE-327/328/330/326/916, OWASP A02:2021-Cryptographic Failures.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-kb-crypto)
- [License: MIT](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-kb-crypto)

## Features

- **Weak algorithm detection:** Identifies broken hashes, outdated ciphers and fast hashes used for password storage.
- **Insecure randomness tracing:** Traces non-cryptographic random values to tokens, session IDs and reset codes.
- **Key and IV review:** Checks where encryption keys and IVs come from, including hardcoded or reused values.
- **Encryption mode and integrity checks:** Flags ECB mode and encryption without authentication, such as CBC without a MAC.
- **TLS verification review:** Looks for disabled certificate checks and weak protocol settings across languages.
- **False-positive filters:** Lists safe patterns, such as non-security checksums and AEAD ciphers, to avoid over-reporting.

## Good for

- Audit a codebase for weak password hashing
- Check whether reset tokens come from a secure random source
- Find hardcoded encryption keys in a repository
- Review code for disabled TLS certificate verification
- Look for ECB mode or reused IVs in encryption code

## Install

### Claude Code

This skill ships in the `indra` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra
```

Or copy only this skill to `~/.claude/skills/sh-kb-crypto`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-kb-crypto &&
cp -R "$tmp/plugins/indra/skills/sh-kb-crypto" ~/.claude/skills/sh-kb-crypto &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sh-kb-crypto` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sh-kb-crypto` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-kb-crypto &&
cp -R "$tmp/plugins/indra/skills/sh-kb-crypto" ~/.agents/skills/sh-kb-crypto &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sh-kb-crypto` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sh-kb-crypto` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-kb-crypto &&
cp -R "$tmp/plugins/indra/skills/sh-kb-crypto" ~/.cursor/skills/sh-kb-crypto &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sh-kb-crypto` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-kb-crypto
```

Or copy the folder to `~/.gemini/skills/sh-kb-crypto` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sh-kb-crypto`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-kb-crypto &&
cp -R "$tmp/plugins/indra/skills/sh-kb-crypto" ~/.copilot/skills/sh-kb-crypto &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sh-kb-crypto` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git
```

Then copy `indra/plugins/indra/skills/sh-kb-crypto` into your agent's skills folder as `sh-kb-crypto`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Sh kb crypto need to run?

It is a markdown knowledge base with no scripts. The agent needs to read and search the code under review.

### When does Sh kb crypto trigger?

The description says to use it when hunting crypto misuse, and it targets cryptographic failures in the OWASP A02:2021 category.

### Does Sh kb crypto change any files?

No. It only guides the agent's review and does not describe any file modifications.

### How do I install Sh kb crypto in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-kb-crypto to use it in all your projects, or to .claude/skills/sh-kb-crypto in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

### Does Sh kb crypto run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sh kb crypto?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Sh kb crypto?

The closest alternatives to Sh kb crypto are Sh kb secrets, Sh kb auth, Sh kb misconfig, Cryptography and Sh kb deserialization.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Sh kb secrets](https://ai-powered.com/skills/sh-kb-secrets): Sh kb secrets is an open-source agent skill for security.
- [Sh kb auth](https://ai-powered.com/skills/sh-kb-auth): Sh kb auth is an open-source agent skill for security.
- [Sh kb misconfig](https://ai-powered.com/skills/sh-kb-misconfig): Sh kb misconfig is an open-source agent skill for cloud and infrastructure.
- [Cryptography](https://ai-powered.com/skills/cryptography): Cryptography is an open-source agent skill for security.
- [Sh kb deserialization](https://ai-powered.com/skills/sh-kb-deserialization): Sh kb deserialization is an open-source agent skill for security.
- [Source code scanning](https://ai-powered.com/skills/source-code-scanning): Source code scanning is an open-source agent skill for security.
- [Sh kb path traversal](https://ai-powered.com/skills/sh-kb-path-traversal): Sh kb path traversal is an open-source agent skill for security.
- [Sh kb injection](https://ai-powered.com/skills/sh-kb-injection): Sh kb injection is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sh-kb-crypto
