DDCC
Chapter 4

Shell Security

300KB+ security validation

The most powerful tool needs the tightest security

Key Source Files

src/BashTool/bashSecurity.ts
src/BashTool/bashPermissions.ts
src/bash/bashParser.ts
Total size ~ 535KB

Run Demo

# Directly runnable
$ cd Deep-Dive-Claude-Code
$ npx tsx agents/s04_bash_security.ts