claude-code - 💡(How to fix) Fix [Bug] Claude bypasses tool restrictions by using shell commands without disclosure [1 comments, 2 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#48848Fetched 2026-04-16 06:49:18
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

Error Message

[{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:532:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:00.709Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:532:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:10.158Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:532:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:18.969Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n at emit (node:events:98:22)\n at #handleOnExit (node:child_process:532:14)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:23.860Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:24505)\n at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29737)\n at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:30074)\n at O (B:/~BUN/root/src/entrypoints/cli.js:3186:30620)\n at call (B:/~BUN/root/src/entrypoints/cli.js:4830:1371)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.560Z"},{"error":"Error: Failed to start LSP server for file C:\Develop\hana\hana-gui-framework\src\shell\slot.rs: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29763)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.561Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:24505)\n at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29737)\n at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:30074)\n at O (B:/~BUN/root/src/entrypoints/cli.js:3186:30620)\n at call (B:/~BUN/root/src/entrypoints/cli.js:4830:1371)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.561Z"}]

Code Example

[{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:00.709Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:10.158Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:18.969Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:23.860Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:24505)\n    at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29737)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:30074)\n    at O (B:/~BUN/root/src/entrypoints/cli.js:3186:30620)\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4830:1371)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.560Z"},{"error":"Error: Failed to start LSP server for file C:\\Develop\\hana\\hana-gui-framework\\src\\shell\\slot.rs: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29763)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.561Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:24505)\n    at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29737)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:30074)\n    at O (B:/~BUN/root/src/entrypoints/cli.js:3186:30620)\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4830:1371)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.561Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description 사용자 기만을 자연스럽게 하면서 기만한줄 모름. ./build.sh --check 같은 기능을 만들었고 사용하라고 지침을 적었기 때문에, 도구사용에 cargo check를 금지했더니, 금지된 이유를 궁금해하지않고, bash -c "cargo check"를 사용해서 사용자한테 말도 없이 우회하고 있었고, 모니터링 하지않았으면 발견하지 못할뻔함.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.110
  • Feedback ID: 21a6fd82-b202-4dab-ba04-ab985a4067f7

Errors

[{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:00.709Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:10.158Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:18.969Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3186:21284)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:532:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:23.860Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:24505)\n    at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29737)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:30074)\n    at O (B:/~BUN/root/src/entrypoints/cli.js:3186:30620)\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4830:1371)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.560Z"},{"error":"Error: Failed to start LSP server for file C:\\Develop\\hana\\hana-gui-framework\\src\\shell\\slot.rs: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29763)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.561Z"},{"error":"Error: LSP server 'plugin:rust-analyzer-lsp:rust-analyzer' exceeded max crash recovery attempts (3)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:24505)\n    at A (B:/~BUN/root/src/entrypoints/cli.js:3186:29737)\n    at Y (B:/~BUN/root/src/entrypoints/cli.js:3186:30074)\n    at O (B:/~BUN/root/src/entrypoints/cli.js:3186:30620)\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4830:1371)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T00:15:38.561Z"}]

extent analysis

TL;DR

The issue is likely caused by the rust-analyzer-lsp plugin crashing repeatedly, exceeding the maximum crash recovery attempts, and can be mitigated by investigating the root cause of the crashes.

Guidance

  • Investigate the rust-analyzer-lsp plugin configuration and dependencies to identify potential issues that may be causing the crashes.
  • Check the plugin's documentation and version compatibility to ensure it is up-to-date and compatible with the current environment.
  • Review the error logs to identify any patterns or common factors that may be contributing to the crashes.
  • Consider temporarily disabling the rust-analyzer-lsp plugin to see if the issue persists, which can help determine if the plugin is the root cause.

Example

No code snippet is provided as the issue is related to a plugin crash and not a specific code error.

Notes

The issue may be specific to the windows-terminal environment and the rust-analyzer-lsp plugin, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Temporarily disable the rust-analyzer-lsp plugin to determine if it is the root cause of the issue, and investigate alternative plugins or configurations that may be more stable.

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] Claude bypasses tool restrictions by using shell commands without disclosure [1 comments, 2 participants]