T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:13- Finding
Unnecessary Access to Exported Phone Data
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 13
Vulnerability Type: Excessive local data access that violates least privilege
Risk Level: MediumVulnerable instruction, translated into English:
markdown 2. **Local data** (included with the package): `js/data.js` contains all structured brand/application data; if the computer has the phone-mirror connector configured, it may read imported phone data from `~/PhoneMirror/`.Technical Analysis
The Skill's stated purpose is to provide instructions for enabling developer mode, configuring USB debugging, and exporting application data. Reading previously exported phone data from
~/PhoneMirror/is not required to provide those tutorials.The instruction does not require explicit user authorization before access, limit access to a user-selected file, define permitted file types, or prohibit recursive directory inspection. Because exported phone data may contain conversations, screenshots, account information, or other personal records, allowing unrestricted reads from this directory violates the principle of least privilege.
No executable implementation or explicit network-exfiltration instruction was found. Exploitation therefore depends on an Agent having a connector or file-reading tool capable of accessing the referenced directory.
Attack Path
- A user activates the PhoneBridge Skill to request general setup or export guidance.
- The Agent observes the instruction permitting access to
~/PhoneMirror/. - A configured phone-mirror connector or file-reading capability is used without separate, informed authorization.
- The Agent enumerates or reads previously exported phone content that is unrelated to the immediate request.
- Sensitive content enters the Agent's context and may be disclosed in responses, logs, traces, or downstream tool calls.
Impact Assessment
The affected scope is the phone data available to the Agen ...[truncated 484 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the instruction permitting general access to
~/PhoneMirror/because local phone contents are unnecessary for tutorial delivery. - If local processing is an essential feature, require explicit, operation-specific user consent before every access.
- Require the user to select an individual file rather than authorizing directory-wide or recursive reads.
- Define an allowlist of necessary file formats and reject unrelated files, hidden files, links, and path traversal.
- State that local phone content must never be included in external requests unless the user separately approves the exact destination and data.
- Minimize retention by avoiding storage of file contents in persistent memory, logs, or generated artifacts.
- Add a preview step that identifies the selected file and intended operation without exposing its contents, followed by explicit confirmation.
- Treat instructions retrieved from the mutable external website as untrusted reference data and prevent them from expanding local file or tool permissions.
- Remove the instruction permitting general access to
