agentusecases.aiAll 2,316 use cases
Security, Science & Hardware

Debug low-level cryptography code

Cryptography engineer Filippo Valsorda's write-up on Claude Code debugging low-level crypto. · Nov 1, 2025

Done withCCClaude Code

What they did
Filippo Valsorda ran Claude Code (Opus 4.1, no system prompt) on his new Go ML-DSA implementation. His prompt named the test command and code directory, described the failing symptom, and asked it to think hard. It read the code and traced the bug. It also tested a hypothesis with a small test of its own. He then repeated this on two earlier signing bugs, using a fresh session for each.
How it went
It found all three bugs in one shot without help. The Verify bug took minutes: high bits were taken twice. Its proposed fixes were mediocre, so Valsorda threw them away and rewrote them himself.
Worth knowing
Use well-scoped failing tests, start a fresh session for each independent bug, and treat the agent's output as a pointer to the bug, not a fix to merge.

Try it yourself with Claude Code

I have a failing test in my cryptography code at [path], where [describe the symptom, e.g. wrong output for certain inputs]. Investigate why it fails, compare against [reference implementation or test vectors], and propose a fix. Finished means the tests pass and you've explained the root cause, and you should show me the diff before changing any files.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Discussion on HN · Nov 1, 2025

Related use cases

  • CC

    Turn tickets into merged pull requests

    Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.

    Claude CodeCodex

  • CC

    Automate event social posting across platforms

    Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.

    Claude Code

  • CC

    Send daily WhatsApp reminders of what to pack for school

    A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.

    Claude Code

  • CL

    Find exploitable bugs in smart contracts

    Anthropic's red team reports agents finding $4.6M worth of blockchain smart contract exploits.

    Claude

  • PC

    Open recent protein-ligand structures in PDB

    A researcher had Comet find the three latest GSK3B protein-ligand complexes in the PDB and open each in Ligand Interaction view.

    Perplexity Comet

  • CL

    Reverse engineer device hardware and write drivers

    A user points Claude at their own electronics to write drivers, such as one for an old printer that stopped working on a new macOS, with the user acting as its hands for diagnosis.

    Claude

Keep browsing

All 334 Claude Code use casesAll 46 Security, Science & Hardware use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us