claude-code - 💡(How to fix) Fix [Bug] Content filter over-blocking legitimate Australian AML/CTF statutory compliance research [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52635Fetched 2026-04-24 06:01:53
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3cross-referenced ×1

Error Message

[{"error":"Error: rg --files exited 2\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:705:84)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at emit (node:events:92:22)\n at emitCloseNT (internal:streams/destroy:78:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:20:10.913Z"}]

Code Example

[{"error":"Error: rg --files exited 2\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:705:84)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at emit (node:events:92:22)\n    at emitCloseNT (internal:streams/destroy:78:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:20:10.913Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Content filter is blocking legitimate Australian regulatory compliance research in Claude Code.

Request IDs (pattern — repeated blocks on the same task, selection below):

  • req_011CaMdGGwek5TKTCxY8EgkV
  • req_011CaMdee2mzrrn5tFSxxBjc
  • req_011CaMdpKCj5q1a5FkJ36A9h

Task: Assembling a compliance design document from Australian Commonwealth primary law — verbatim sections of the AML/CTF Act 2006 (compilation C2006A00169) and AML/CTF Rules 2007 (F2007L01000), both freely published at legislation.gov.au, alongside AUSTRAC's public SMR reference guide. Output is statutory text plus neutral structural commentary on SMR/TTR/IFTI form mechanics. No operational detail, no evasion guidance, no tradecraft.

The filter appears to trip when the output aggregates offence-category references from AUSTRAC's public reference guide alongside the statutory triggers in s.41 of the Act. Individually each passage is neutral public law; the filter seems to treat the aggregation as a catalogue of offences.

Paid Claude Code user, Australian fintech, building internal regulatory artefacts. Please review filter behaviour on outputs composed primarily of Commonwealth statutory text for compliance deliverables. Happy to share the full request_id list, the prompt, and the sanitised output on request.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.119
  • Feedback ID: c4ab45cc-9395-404c-80dd-ddc582184815

Errors

[{"error":"Error: rg --files exited 2\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:705:84)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at emit (node:events:92:22)\n    at emitCloseNT (internal:streams/destroy:78:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T00:20:10.913Z"}]

extent analysis

TL;DR

The content filter may be overly aggressive in blocking legitimate content, and reviewing the filter's behavior on outputs composed primarily of Commonwealth statutory text could help resolve the issue.

Guidance

  • Review the content filter's configuration to ensure it is not overly broad in its blocking criteria, particularly when aggregating public law references.
  • Verify that the filter is correctly distinguishing between legitimate compliance research and potential evasion guidance or tradecraft.
  • Consider providing more context or examples of the output that is being blocked to help identify the root cause of the issue.
  • Check if there are any updates or patches available for the Claude Code platform that may address content filter issues.

Example

No code snippet is provided as the issue does not contain sufficient technical details to create a relevant example.

Notes

The issue may be specific to the Australian regulatory compliance research use case, and the solution may require collaboration with the Claude Code development team to review and adjust the content filter's behavior.

Recommendation

Apply workaround: The user may need to work with the Claude Code team to review and adjust the content filter's behavior to allow legitimate compliance research output to pass through.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Content filter over-blocking legitimate Australian AML/CTF statutory compliance research [1 participants]