T09 · Insecure Skill Coding Practices
- Location
scripts/fetch_activity.js:47- Finding
Unfiltered ActivityWatch Data Exposes Sensitive Window Titles
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a disclosed ActivityWatch productivity analyzer, but it can expose sensitive window titles to the AI model.
Install only if you are comfortable sending recent ActivityWatch application names and window titles to your configured AI model. For better privacy, remove the raw result log and aggregate by app and duration before using it.
scripts/fetch_activity.js:47Unfiltered ActivityWatch Data Exposes Sensitive Window Titles
scripts/fetch_activity.js:57Attacker-Controlled Window Titles Can Cause Indirect Prompt Injection
Referenced artifact was not completely inspected
handler: node scripts/fetch_activity.js --hours 24
Referenced artifact was not completely inspected
handler: node scripts/fetch_activity.js --hours 24
Referenced artifact was not completely inspected
handler: node scripts/fetch_activity.js --hours 24
Referenced artifact was not completely inspected
handler: node scripts/fetch_activity.js --hours 24
The script queries ActivityWatch for application and window-title history, then prints raw titles and app names directly to stdout without any warning, consent flow, or sanitization. Window titles frequently contain sensitive information such as document names, URLs, chat subjects, tickets, customer names, or secrets, so emitting them into agent logs or downstream LLM context can unintentionally expose private user activity.
No suspicious patterns detected.