SafetyCoding agent
Secret guard
The agent can't read your .env, and anything key-shaped is redacted.
What it is
Deny rules for secret files, environment variables not passed into the sandbox, and redaction of key-like strings in outputs, logs and commits.
When to use it
- Any repo with credentials nearby
When to skip it
- Real production keys inside the agent's sandbox
Why (the trade-off)
Whatever enters the context can end up in a log, a commit or an attacker's hands.
Where it sits
Safety layer, inside the permission rules and the output path.
What it needs first
- Permission modesit's a set of deny rules plus redaction
What can be added to it
Nothing builds on it directly.
Effect of adding it
- cost —
- latency —
- reliability —
- safety ↑↑
Risks it handles
- Secrets in the transcript · full
Learn first (AI Engineering)