Security Baseline
An always-on generated security context derived from the catalog's threat-modeling and deterministic guard boundaries. It guides model decisions without claiming to replace enforcement hooks.
Runs on
Scope
$npx @youdede/toolkit add security-baseline --target claude-code
What it does
Apply least-authority guidance for agent tools, credentials, sensitive files, and outbound data.
When it fires
- planning
- implementation
- maintenance
How it behaves
It does not claim prompt instructions can enforce a security boundary independently of deterministic controls.
It does not authorize reading credentials, protected files, or undeclared data for additional context.
It does not authorize network transmission, credential expansion, or bypasses beyond installed guard policy.
- Version
- 1.0.0
- Licence
- RiskIt supplies least-authority guidance without granting tool access or changing credentials.
- Low
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe runtime loads static guidance to apply least-authority guidance for agent tools, credentials, sensitive files, and outbound data in the matching file scope.
- Immediate
- Data retentionWhether data remains after use and who manages its storage.
- Not retained
Often used with
All in Security