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

[Bug] Cyber safeguard false positive blocks smart contract security audits

Open Yonkoo11 opened this issue 1 month ago • 0 comments

Bug Description Subject: False positive on cyber safeguard blocking legitimate smart contract audit work

Hi team,

I'm an independent smart contract security auditor. I compete in audit contests on Sherlock and Immunefi and do private reviews of DeFi protocols. I use Claude Code daily as part of that work, mostly for reading unfamiliar codebases, reasoning about invariants, triaging suspected findings, and writing up reports.

I keep getting this error on ordinary audit requests:

"Opus 4.8's safeguards flagged this message... Details: [cyber]"

Request ID: req_011CgacRgXV6udUhpHd671eM Message ID: msg_011CgacRhVHL4mWxr4W67K7e

What I was doing when it fired: testing for cross-account authorization (IDOR) on Ticko's bug bounty testnet, per the rules at docs.ticko.xyz/resources/ticko-bug-bounty. I'd confirmed order/cancel writes bind the account inside the signed request (negative), and was trying to reach the app's own signer in-browser to run the same check on a state-change write (leverage) targeting a second account I created myself, to see if the backend would accept it. It kept flagging on the step where I was enumerating module exports to find the live signer object.

Why I think it's a false positive: this is defensive review of code I was authorized to audit, and the output goes into a report for the protocol team. To judge severity honestly you have to reason about how a bug could be exploited, so the safeguard ends up blocking the exact step that makes an audit useful. It has happened several times, and it's often on the first message, so I can't easily rephrase my way around it.

I understand why the filter is broad and I'm not asking for it to be removed. I'm asking whether there's a way for verified security researchers to avoid these blocks, or whether these examples can be used to tune the classifier for audit and bug bounty workflows. Happy to share more examples or sanitized prompts if that helps.

I applied for the cyber verification program (it’s my 2nd time applying) using my country’s national passport unfortunately my identity verification was not approved so my application does not get a review. I'd appreciate all the help i can get as this severely impacts my work as a security researcher

https://x.com/soligxbt/status/2111552719848939812

Thanks, dr. alex (GitHub: Yonkoo11)

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.316
  • Feedback ID: 1b33d52d-97ec-446c-80c8-a77ab9749e3e

Yonkoo11 avatar Nov 01 '26 09:11 Yonkoo11