DIS-006: .claude/settings.json-Template haerten + CLAUDE.md Injection-Klausel #7
Labels
No labels
blocked
needs-review
phase:0
phase:1
phase:1.5
phase:2
phase:3
phase:4
phase:5
phase:6+
priority:p0
priority:p1
priority:p2
security
type:chore
type:ci
type:docs
type:feat
type:fix
type:idea
type:known-issue
type:refactor
type:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dev/disclaw#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ziel
Jeder neue Agent bekommt ein gehaertetes
.claude/settings.json(Deny-Liste gegen../**,.env, gefaehrliche Bash-Muster) und eineCLAUDE.mdmit Prompt-Injection-Resistenz-Klausel.Kontext
Schema bestaetigt via
docs/cli-feature-answers.mdFrage 3.Referenz:
docs/development-plan.mdAbschnitt 2.5Scope
In:
src/agent/identity.tsSettings-Template mit vollstaendigerpermissions.deny-Liste,CLAUDE.md-Template erhaelt Sicherheits-AbschnittOut: PreToolUse-Hook-Script (Phase 4), Profile-spezifische Settings (Phase 4)
Definition of Done
settings.jsonmit vollstaendiger Deny-ListeCLAUDE.md-Template enthaelt Injection-Resistenz-Absatztests/unit/identity-templates.test.tsgruennpm run build && npm testgruenBranch
phase-0/harden-settings-and-claudemdAbhaengigkeiten
Keine.