claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Anthropic API Incorrectly Blocking Legitimate Cryptography Request

Open Sead-world opened this issue 1 year ago • 3 comments

Bug Description the following prompt is refused abnormally by claude code as violating the use policy although the request has nothing that legitimates this refusal, especially for public standards and knowledge such as BI39 and key derivation algorithms. The prompt is the following : "écrit une page HTML ou je penux entrer 24 mots au format BIP 39 et qui dérive en clé bitcoin bech32" which translates in english to : "write an html page where I can enter 24 words according to the BIP39 format and that derives a bitcoin key following the bech32 standard"

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.0.8
  • Feedback ID: ff1ff8cd-5f24-4062-94fd-c77713181591

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at mN (file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at IncomingMessage.J0 (file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:716:9955)\n    at IncomingMessage.emit (node:events:531:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at yQ1.request (file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async CWA (file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:876:25965)","timestamp":"2025-10-06T11:09:10.999Z"},{"error":"SyntaxError: Unexpected non-whitespace character after JSON at position 67 (line 6 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:747:9932\n    at Q (file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:713:13287)\n    at Ty2 (file:///C:/Users/olivi/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1037:37823)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-06T11:09:56.699Z"}]

Sead-world avatar Oct 06 '25 11:10 Sead-world

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/8891
  2. https://github.com/anthropics/claude-code/issues/7011
  3. https://github.com/anthropics/claude-code/issues/4210

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 06 '25 11:10 github-actions[bot]

This issue has been automatically closed as a duplicate of #8891.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 10 '25 09:10 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Oct 17 '25 14:10 github-actions[bot]