-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
When prompted for a password, pasted values are not detected as sensitive data and appear in plain text in both the UI and LLM responses.
Expected Behavior
- Pasted passwords should be automatically redacted in the UI
- LLM should not print actual password values
- Passwords should be masked in logs and output
Actual Behavior
- Password appears in plain text when pasted
- LLM includes actual password in responses
- No redaction occurs despite password context
Steps to Reproduce
- Run Stakpak in interactive mode
- Trigger a command requiring password input
- Paste password when prompted
- Observe plain text display and unredacted LLM responses
Security Impact
HIGH SEVERITY - Sensitive credentials are exposed in UI and potentially logged/transmitted.
Root Cause
Password detection only works for variables like (API_KEY={$PASSWORD} or PASSWORD={$PASSWORD}) but not for direct pasted values in password contexts.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working