T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/authorize.py:35- Finding
Voicemail Skill Requests an Excessively Broad Shared Authorization Scope
- Content
View full analysis
dict[str, Any]: session = _session_with_registration( state_dir=Path.home() / ".beatra", post_json=_default_post_json, ) if command == "tools": return session.request(2, "tools/list", {}) try: arguments = json.load(os.sys.stdin) except json.JSONDecodeError as exc: raise RuntimeError("Tool arguments on stdin must be one JSON object") from exc if not isinstance(arguments, dict): raise RuntimeError("Tool arguments on stdin must be one JSON object") assert tool_name is not None return session.request( 2, "tools/call", {"name": tool_name, "arguments": arguments}, ) ``` ### Technical Analysis The declared purpose of the Skill is to synthesize sales voicemail recordings and, when explicitly requested, clone a voice from an authorized sample. Legitimate capabilities include speech generation, limited voice operations, artifact upload and retrieval, model discovery, task-status reads, and billing information needed to show costs. The requested authorization scope additionally grants: - Image generation - Video generation - Music generation - Generic wallet spending - Task cancellation - Generic MCP tool access These capabilities are unrelated to creating voicemail clips. The authorization documentation confirms that one approval intentionally covers multiple unrelated media categories. The ...[truncated 1647 chars]- Remediation
View remediation
