T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:13- Finding
Unnecessary Mail-Sending OAuth Permission
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Yandex CLI is mostly coherent, but it asks users to grant mail-sending permission it does not actually use and creates a local secret file without enforcing private permissions.
Review before installing. Use the narrowest possible Yandex OAuth scopes, preferably omit mail:smtp unless real mail sending is added, and ensure ~/.openclaw/yax.env is chmod 600. Avoid passing calendar event text from untrusted sources until ICS escaping and validation are fixed.
SKILL.md:13Unnecessary Mail-Sending OAuth Permission
scripts/setup.sh:3OAuth Client Secret File Created Without Restrictive Permissions
src/yax.cjs:389CalDAV Event Injection Through Unescaped iCalendar Fields
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
Referenced artifact was not completely inspected
node src/yax.cjs auth # OAuth flow (opens browser URL, paste code)
The skill metadata declares required environment variables containing OAuth credentials, but it does not define an explicit tool scope such as permissions or allowed-tools. This creates an unnecessary trust gap: a skill that handles secrets can access sensitive environment data without clearly constraining or disclosing that capability, increasing the risk of secret exposure or misuse by the agent runtime.
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.
## Features
- **Disk**: info, list, mkdir, upload, download
- **Calendar**: list calendars, create events (via CalDAV)
- **Mail**: ⚠️ Limited — Yandex has no public HTTP API for mail (IMAP/SMTP only, ports often blocked in cloud)
## Prerequisites
The warning states that unknown timezones default to Europe/Moscow, and the calendar creation function also defaults its timezone parameter to Europe/Moscow. This imposes a specific locale behavior without user opt-in, which matches the language/locale policy violation criteria for all file types.
No suspicious patterns detected.