-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
coreenhancementNew feature or requestNew feature or requestllmLLM provider relatedLLM provider relatedsecuritySecurity hardeningSecurity hardeningsize/S
Description
Parent: #740 (P0)
Problem
Tool outputs containing secrets (API keys, tokens, passwords) enter LLM context and summarization input unfiltered. Existing SecurityPatterns in zeph-tools only filter agent output, not context input.
Solution
- Apply regex-based credential scrubbing to tool output content before context injection
- Apply same scrubbing before summarization/compaction input
- Reuse existing
SecurityPatternsfromzeph-tools(DRY) - Preserve first 4 chars of scrubbed values for context
Affected crates
zeph-core(context builder, compaction)zeph-tools(exposeSecurityPatternsfor reuse)
Acceptance criteria
- Tool outputs with API keys/tokens/passwords are scrubbed before entering LLM messages
- Compaction input is scrubbed
- No duplication of regex patterns
- Test coverage for scrubbing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreenhancementNew feature or requestNew feature or requestllmLLM provider relatedLLM provider relatedsecuritySecurity hardeningSecurity hardeningsize/S