Crypto bug found? Review the cause and proposed repair separately

Use Claude Code with authorized code, test vectors and failure logs to prepare a cause-hypothesis and repair-review table through the test workflow below, then review it. Matching tools and permissions are required.

Execution environment and usage

AI / software

Claude Code

Where to operate

Claude Code in a terminal, opened in a separate test folder.

Getting started

  1. Follow the linked official setup guide; open a terminal in the test folder, run claude and sign in.
  2. Supply authorized code, test vectors and failure logs and the prompt below. Confirm the scope before allowing necessary actions.
  3. Inspect the resulting cause-hypothesis and repair-review table; record anything not run or not verified.

Setup and plan requirements

Requires access to Claude Code, authorized test data and a matching runtime; file writes and shell commands must stay within approved scope. Preparation: Use authorized code copies, public test vectors and reproducible failure records.

Prompt portability limits

Adapt the wording to another coding assistant only after separately configuring files, runtime, test tools and integrations. Renaming the tool does not establish compatibility.

Usage limitations

Start by reading data and proposing changes; no automatic writes or commands are authorized. Approve the runtime and commands separately for subsequent tests.

Environment sources

適用情境 / When to use

Use Claude Code with authorized code, test vectors and failure logs to prepare a cause-hypothesis and repair-review table through the test workflow below, then review it. Matching tools and permissions are required. The author also discloses receiving free access.

步驟 / Steps

  1. Use authorized code copies, public test vectors and reproducible failure records.
  2. Separate root-cause hypotheses, supporting locations and patch proposals.
  3. Have a maintainer check known answers, regressions and changed security assumptions.

提示詞 / Prompt

Read [isolated code copy/version] and [public test vectors/failure records]. List checkable root-cause hypotheses with code locations. Separately propose a minimal patch, counterexamples and regression tests, distinguishing inference from executed results. Prepare this for a qualified maintainer; do not use secret keys, deploy or claim security certification.

留意事項 / Cautions

  • Never supply real private keys, passwords or customer data.
  • Do not invent cryptography or deploy proposed fixes directly.

來源限制 / Evidence limits

This expert account is neither cryptographic security certification nor a guarantee of safe automated fixes.

流程說明 / Workflow note

These steps and prompts are original, untested exercises by this site, not the author’s verbatim workflow. Reported results do not guarantee exercise outcomes.

原始工具組合 / Original tool stack

Claude Code; Opus 4.1; Go

Source publication date: 2025-11-01

Source checked: 2026-10-20

Claude Code Can Debug Low-level Cryptography