T09 · Insecure Skill Coding Practices
- Location
SKILL.md:239- Finding
Contradictory Policy Permits Persistent Email Forwarding Rules
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is transparent about managing Outlook mail, but it needs Review because one instruction could allow persistent forwarding rules that expose future email.
Install only if you will use a trusted runtime that enforces a hard block on forward, redirect, delete, and permanent-delete inbox rule actions. Avoid granting MailboxSettings.ReadWrite unless you truly need rule creation, prefer narrower audit or folder-only scopes when possible, and do not enable autonomous invocation for this skill without runtime-level controls.
SKILL.md:239Contradictory Policy Permits Persistent Email Forwarding Rules
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
## Authentication & Required Scopes
This skill operates against Microsoft Graph and requires an OAuth 2.0 delegated access token for a Microsoft 365 account.
### Minimum scopes by use case
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
description: >-
Organize a cluttered Outlook inbox with folders, batch moves, and server-side
inbox rules via the Microsoft Graph API. Use when user says "clean up my inbox,"
"organize email," "create email folders," "inbox rules," "filter notifications,"
"unclutter inbox," "sort my email," "move GitHub notifications," "email
folders," or "auto-sort email." Covers one-time cleanup and ongoing automation.
license: Apache-2.0
The skill explicitly defines forwarding and redirect actions as dangerous because they can silently exfiltrate email, then later weakens that rule by allowing forwarding if the user confirms the destination. In a high-risk mailbox automation context, that exception creates an instruction path for persistent email exfiltration and undermines the stated security model, especially because the skill itself cannot enforce runtime safeguards.
No suspicious patterns detected.