Skip to content
1 min read · 16 words

Variable: DANGEROUS_FILES

ts
const DANGEROUS_FILES: readonly [
  ".gitconfig",
  ".gitmodules",
  ".bashrc",
  ".bash_profile",
  ".zshrc",
  ".zprofile",
  ".profile",
  ".ripgreprc",
  ".mcp.json",
];

Defined in: src/batteries/sandbox/node/fs_node.ts:306

The exact upstream dangerous file names, retained for parity tests.