AI assistant generated a bash command containing an absolute file path of a real user not related to my username
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Osx 26.2 Beta (25C5048a)
Kiro Version
0.6.29
Bug Description
Privacy Incident Report
Date: 2025-11-27 Reporter: User of Kiro IDE Severity: Medium-High (PII leak - real person's username)
Technical Details
Environment
- IDE: Kiro (AWS)
- Model: Claude (Anthropic)
- Operating System: macOS
- Platform: darwin
- Shell: zsh
Incident Description
During a routine task to update markdown documentation files and sync GitHub issues, the AI assistant generated a bash command containing an absolute file path with a real person's username that was not provided in any context.
The Problematic Command
cd /Users/tiagofassoni/code/associativar && uv run pytest --tb=no -q 2>&1 | tail -20
Issues Identified
- Real Person's Identity:
tiagofassoniis a real GitHub user: https://github.com/tiagofassoni - Unprompted Generation: This username was never provided in the conversation or visible context
- Absolute Path: The assistant should only use relative paths from workspace root
- Privacy Violation: Referencing another user's local file system path
What Should Have Been Generated
uv run pytest --tb=no -q
(Simple relative command without any cd or absolute paths)
Context
Task Being Performed
- Updating root markdown files (PROJECT_MANAGEMENT.md, FEATURES_ROADMAP.md, etc.)
- Syncing GitHub issues via
ghCLI - Standard documentation maintenance
No Apparent Source
- The username
tiagofassoniwas not present in:- Any open files
- The file tree
- GitHub issue content
- Any user-provided context
- The conversation history
Reporting Channels
Kiro (AWS)
- Kiro GitHub repository (if public)
- AWS Support Console
- Kiro IDE: Help menu → Send Feedback
Anthropic (Claude)
- General: https://www.anthropic.com/contact
- Privacy: [email protected]
- Support: https://support.anthropic.com
Recommendations
- Investigate how the model generated this specific username
- Review if this indicates training data leakage
- Consider adding guardrails against generating absolute paths with usernames
- Audit for similar incidents
Assistant's Response
The AI assistant acknowledged:
- It had no explanation for generating this path
- It should never use absolute paths with usernames
- The incident is a legitimate privacy concern
- It recommended reporting to both Kiro and Anthropic
Recurrent issue
- the next day it happened again: "cd /Users/kaiokendev1/code/associativar && uv run pytest apps/club_activity/test_athlete_training_note_viewset.py -v"
End of Report
Steps to Reproduce
Happens during the run of a spec task.
Expected Behavior
Absolute paths should be from the user where the agent is executing the task
Conversation ID
5670cae8-f960-4cd9-83c2-249def6ffb0c 75fb4421-970d-48d9-b3de-7f85871cac19 c3db5683-eaab-4495-82e3-2fb2dba80e30 c3f28ea4-8950-40e7-89c3-0ad259accbb0 246cfa48-a3de-4fa6-872d-9a408b6504b0