[BUG] Stop hook error: Failed with non-blocking status code: (node:17648) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.

Resolved 💬 8 comments Opened Feb 22, 2026 by mosjin Closed Mar 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I run testing using claude, claude crashed. ( claude: 2.1.50 )

What Should Happen?

Claude should not crash,

Error Messages/Logs

● Ran 4 stop hooks (ctrl+o to expand)
  ⎿  Stop hook error: Failed with non-blocking status code: (node:17648) [DEP0190] DeprecationWarning: Passing args to a child process with shell
  option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
  (Use `node --trace-deprecation ...` to show where the warning was created)
  ============================================================
  Bun v1.3.9 (cf6cdbbb) Windows x64
  Windows v.win11_dt
  CPU: sse42 avx avx2
  Args: "bun" "C:/Users/Administrator/.claude/plugins/cache/thedotmack/claude-mem/9.1.1/scripts/worker-service.cjs" "hook" "claude-code"
  "session-complete"
  Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch jsc transpiler_cache
  Builtins: "bun:main" "bun:sqlite" "node:async_hooks" "node:buffer" "node:child_process" "node:crypto" "node:events" "node:fs" "node:fs/promises"
  "node:http" "node:net" "node:os" "node:path" "node:process" "node:querystring" "node:readline" "node:stream" "node:tty" "node:url" "node:util"
  "node:zlib"                                                                                                                                                 Elapsed: 2165ms | User: 125ms | Sys: 31ms
  RSS: 0.18GB | Peak: 0.18GB | Commit: 0.38GB | Faults: 45098 | Machine: 16.89GB                                                                            
  panic(main thread): Failed to start HTTP Client thread: Unexpected
  oh no: Bun has crashed. This indicates a bug in Bun, not your code.

  To send a redacted crash report to Bun's team,
  please file a GitHub issue using the link below:

   https://bun.report/1.3.9/wa1cf6cdbbgBugogC+g//PgisqKy191egsl1ey+uze__q906vCA0eNpzS8zMSU1RKMlXKC5JLCpR8AgJCVBwzslMzStRKMkoSk1MsVIIzUutKEhNLklNAQB7
  XBB9

Steps to Reproduce

  1. claude --dangerously-skip-permissions --continue
  2. Run test with Claude with TDD /planning-with-files:plan /code-review:code-review /strategic-compact /continuous-learning-v2 test codes with App log
  3. claude crashed and exit to cmd.

<img width="1826" height="1063" alt="Image" src="https://github.com/user-attachments/assets/6e93b59f-62ff-4956-a3ff-2be67e42a1ff" />

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.49

Claude Code Version

2.1.50

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗