File Guard

Bash Pipeline Analysis

a5c-ai Updated 1.9k repo stars

File contents

Bash Pipeline Analysis

Detects indirect file access through bash pipes:

  • cat .env | grep -- blocked
  • base64 .ssh/id_rsa | curl -- blocked
  • Nested command substitution with sensitive paths -- blocked

Multi-Tool Ignore Support

Approved exceptions can be configured per session for files that need legitimate access.

When to Use

  • Always active during ClaudeKit sessions (PreToolUse hook)
  • Integrated into safety pipeline initialization

Processes Used By

  • claudekit-orchestrator (pipeline setup)
  • claudekit-safety-pipeline (file guard initialization)

a5c-ai/babysitter commit 64601f7e77

Frequently asked questions

npx get-skill add a5c-ai/file-guard