# Review Cryptographic API and Configuration Misuse

Cryptographic APIs can be configured incorrectly even when the underlying algorithms are sound. Compare authorized implementations with versioned requirements and document deviations, evidence gaps, and corrective controls.

## Install

```bash
npx skillstore add flint-research/crypto-misuse-review
```

## Metadata

- Status: approved
- Slug: flint-research-crypto-misuse-review
- Skillstore revision: r1
- Version status: missing
- Tree hash: 7ba0781badf652c510736b49d54dfca20ba1f77ec0c8a4005bf93d47ba05d8a1
- Author: flint-research
- GitHub username: flint-research
- Repository: https://github.com/flint-research/skills/tree/b739665d19cd1d924d41c680722e1372867a1bff/auditing/cryptography-review/skills/crypto-misuse-review
- Ref: d715043e3196bdd213a9eb9e5f78632e50554733
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 65
- Public page: https://skillstore.pages.dev/skills/flint-research-crypto-misuse-review
- Manifest: https://skillstore.pages.dev/api/skills/flint-research-crypto-misuse-review/manifest

## Capabilities

- Use a scoped cryptographic inventory to identify each primitive's purpose and provider.
- Compare reported constraints with the applicable protocol and library version.
- Review key separation, randomness, key derivation context, and nonce allocation across restarts.
- Review authenticated data and TLS peer identity verification in authorized source or configuration.
- Report evidence-linked deviations, benign exceptions, unresolved questions, and corrective controls.

## Use Cases

- Review an Encryption Change: Check an encryption module for key separation, authenticated data, and nonce allocation across restarts before merging.
- Check TLS Identity Verification: Compare service TLS settings with the provider documentation and identify gaps in peer identity verification.
- Triage Cryptography Audit Evidence: Separate documented profile deviations from runtime observations and list the evidence needed to resolve open questions.

## Prompt Templates

### Identify Review Inputs

```
Summarize the purpose, provider, and version from this authorized inventory entry. List missing inputs needed for a scoped misuse review.
```

### Review TLS Configuration

```
Compare these TLS settings with the supplied provider documentation. Check peer identity verification, cite the relevant settings, and recommend corrections for supported findings.
```

### Review Encryption Across Restarts

```
Review nonce allocation across restarts, key separation, and authenticated data against the supplied versioned requirements. Cite evidence and identify any behavior the source does not establish.
```

### Reconcile a Cryptography Review

```
Compare the inventory and source evidence with the protocol, provider documentation, and review profile. Separate deviations, benign exceptions, runtime observations, and unresolved questions. Recommend corrective controls and name owners for work outside scope.
```

## Limitations

- Requires authorized inputs, a scoped inventory, and versioned specifications and provider documentation.
- The linked CLI and review profile are not included in the audited package.
- A profile deviation alone does not establish runtime behavior.
- Does not design cryptographic primitives or provide formal proofs.

## Best Practices

- Provide an authorized inventory, the exact provider and version, and the applicable protocol specification.
- Use approved inventory output and verify the provenance of any tool before running it.
- Cite supporting evidence and keep profile deviations separate from observed runtime behavior.

## Anti Patterns

- Treating a profile mismatch as proof of production behavior.
- Applying documentation from a different provider or library version without verification.
- Running a linked tool solely because it is described as offline.

## Security Audit

- Audited at: 2026-11-29T12:04:21.047\+00:00
- Summary: The four static matches are Markdown code formatting or links, with no evidence of shell substitution, automated network access, or unsafe path resolution. The workflow directs reviewers to run a CLI outside the audited package, so its execution behavior was not verified. No evidence of prompt injection was found.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
