T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/serve-ui.py:57- Finding
Unauthenticated LAN API Exposes Email Data and Permits Persistent State Modification
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This email-training skill is mostly upfront about its purpose, but it needs review because its local web server and command helpers can expose or alter private mail-related data.
Install only if you are comfortable reviewing and hardening it first. Use demo mode or trusted local-only operation for testing; before real mail, bind the UI to localhost or add authentication, do not expose it to public networks, and avoid untrusted EMAIL_SWIPE_EMAIL, EMAIL_ACCOUNT, GOG_PATH, EMAIL_SWIPE_GOG_PATH, or config.json values until the shell command construction is fixed.
scripts/serve-ui.py:57Unauthenticated LAN API Exposes Email Data and Permits Persistent State Modification
scripts/fetch-emails.py:14Shell Command Injection Through Configurable Email Account and Executable Path
scripts/fetch-emails-html.py:22Unpinned Third-Party Python Dependency Installation Guidance
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# OAuth secrets - never commit
client_secret.json
**/client_secret.json
# OS
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
# OAuth secrets - never commit
client_secret.json
**/client_secret.json
# OS
Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
- When fetching training mail, prefer full sanitized HTML/body content; subject+snippet alone is a fallback, not the target.
- **Always guess** on every injected email (`predictedAction` + `predictionConfidence`) — even bootstrap, even low confidence. Blank guesses hide the score.
- Advanced folder routes persist in `settings.json` — don't re-ask each session; build out per `platform-rules.folderRoutes`.
- Use brief + training-pack at runtime — not full swipe history in prompts.
## CLI cheat sheet
Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
- When fetching training mail, prefer full sanitized HTML/body content; subject+snippet alone is a fallback, not the target.
- **Always guess** on every injected email (`predictedAction` + `predictionConfidence`) — even bootstrap, even low confidence. Blank guesses hide the score.
- Advanced folder routes persist in `settings.json` — don't re-ask each session; build out per `platform-rules.folderRoutes`.
- Use brief + training-pack at runtime — not full swipe history in prompts.
## CLI cheat sheet
Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
- When fetching training mail, prefer full sanitized HTML/body content; subject+snippet alone is a fallback, not the target.
- **Always guess** on every injected email (`predictedAction` + `predictionConfidence`) — even bootstrap, even low confidence. Blank guesses hide the score.
- Advanced folder routes persist in `settings.json` — don't re-ask each session; build out per `platform-rules.folderRoutes`.
- Use brief + training-pack at runtime — not full swipe history in prompts.
## CLI cheat sheet
Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
- When fetching training mail, prefer full sanitized HTML/body content; subject+snippet alone is a fallback, not the target.
- **Always guess** on every injected email (`predictedAction` + `predictionConfidence`) — even bootstrap, even low confidence. Blank guesses hide the score.
- Advanced folder routes persist in `settings.json` — don't re-ask each session; build out per `platform-rules.folderRoutes`.
- Use brief + training-pack at runtime — not full swipe history in prompts.
## CLI cheat sheet
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.
The stated purpose understates the skill's real capabilities: email access detection, account management, Gmail label reading, folder-based learning, settings synchronization, and background compilation. Because the target domain is email, that understatement materially increases privacy and integrity risk.