Back to skill

Security audit

Visitor Desk Voice Pack

Security checks for vulnerabilities and agentic risk

Overview

This voice-pack skill is disclosed and mostly coherent, but it grants and persists broad Beatra account authority beyond a narrow visitor-desk audio workflow.

Review this before installing if you are not already comfortable with Beatra’s shared device-token model. Installing connects a local agent to Beatra with broad media-generation, wallet spending, task, artifact, and voice permissions, stores a bearer token under ~/.beatra, and enables silent verified package updates by default. Disable automatic updates with the documented update command if you require review before code changes.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (41)

Context-Inappropriate Capability

Critical
Category
Not specified by scanner
Confidence
99% confidence
Finding

The script also requests task-management and voice-administration capabilities, including tasks:read, tasks:cancel, voices:read, and voices:write, none of which are justified by a simple voice-pack generation workflow. These permissions could expose other user jobs, interfere with unrelated work, or modify voice assets outside this skill's intended boundaries.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The documented behavior includes uninstalling the package, modifying ~/.beatra state, reading credential/inventory files, revoking tokens, and managing shared connection lifecycle—actions unrelated to generating reception audio. Undisclosed uninstall and teardown capabilities can be abused to disrupt service, remove local state, or tamper with shared authentication context under the guise of a benign content-production skill.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The documented behavior includes uninstalling the package, modifying ~/.beatra state, reading credential/inventory files, revoking tokens, and managing shared connection lifecycle—actions unrelated to generating reception audio. Undisclosed uninstall and teardown capabilities can be abused to disrupt service, remove local state, or tamper with shared authentication context under the guise of a benign content-production skill.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The documented behavior includes uninstalling the package, modifying ~/.beatra state, reading credential/inventory files, revoking tokens, and managing shared connection lifecycle—actions unrelated to generating reception audio. Undisclosed uninstall and teardown capabilities can be abused to disrupt service, remove local state, or tamper with shared authentication context under the guise of a benign content-production skill.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · manifest.json (reported line 53)May include surrounding context.

json
```

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/installation-and-auth.md (reported line 14)May include surrounding context.

text

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/installation-and-auth.md (reported line 21)May include surrounding context.

text

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/installation-and-auth.md (reported line 53)May include surrounding context.

text

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/mcp-connection.md (reported line 10)May include surrounding context.

text

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/authorize.py (reported line 376)May include surrounding context.

python
```

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/mcp_client.py (reported line 1068)May include surrounding context.

python
```

They share the one full-scope Device Token stored in
`~/.beatra/credentials.json`. Installing or switching packages must not trigger
another authorization when that credential is already valid. Do not add,
enable, trust, or configure a host Beatra Connector. Never print or move the
token into command arguments, environment variables, logs, chat, or another

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The authorization scope is dramatically broader than the stated purpose of generating visitor reception voice clips. It provisions capabilities for artifacts, images, videos, music, speech, voices administration, wallet spending, and task operations, violating least privilege and enabling account actions far beyond what this skill should need.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The script also requests task-management and voice-administration capabilities, including tasks:read, tasks:cancel, voices:read, and voices:write, none of which are justified by a simple voice-pack generation workflow. These permissions could expose other user jobs, interfere with unrelated work, or modify voice assets outside this skill's intended boundaries.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The script also requests task-management and voice-administration capabilities, including tasks:read, tasks:cancel, voices:read, and voices:write, none of which are justified by a simple voice-pack generation workflow. These permissions could expose other user jobs, interfere with unrelated work, or modify voice assets outside this skill's intended boundaries.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
78% confidence
Finding

This code persists a long-lived bearer access token to credentials.json on disk. Although it applies restrictive filesystem permissions, local plaintext token storage increases the blast radius of host compromise, backup leakage, or accidental file exposure—especially given the excessively broad scopes requested by this skill.

Content

Scanner excerpt · scripts/authorize.py (reported line 955)May include surrounding context.

python
scope = _required_string(polled, "scope")
    if set(scope.split()) != set(SCOPE.split()):
        raise RuntimeError("Beatra authorization returned an unsupported scope")
    credential_path = state_dir / "credentials.json"
    with _SIGNALS.deferred():
        _atomic_json(
            credential_path,

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill contains a self-update mechanism that downloads manifests and archives from the network and replaces installed package files on disk. Even with checksum and path checks, embedding self-modifying behavior in a voice-pack skill is a risky hidden capability because it allows the package's behavior to change after installation in ways not implied by the manifest description.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The file exposes a general-purpose networked MCP client with generic tools/list, tools/call, and upload operations, which is far broader than the stated visitor voice-clip purpose. In the context of an agent skill, this materially expands the attack surface and can enable remote actions, data transmission, and capability pivoting unrelated to the advertised function.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The command path accepts a tool name and arguments, then forwards them as a generic tools/call request to the remote MCP endpoint. For a visitor reception voice-pack skill, arbitrary remote tool invocation is unjustified and dangerous because it can be used as a capability trampoline to invoke unrelated server-side actions under the skill's authorization context.

Content

No source excerpt is available for this finding.

Self-Modification

High
Category
Rogue Agent
Confidence
96% confidence
Finding

The CLI explicitly supports package self-updates, and elsewhere in the file that path downloads and replaces code on disk. In the context of a narrowly described voice skill, self-modification is a dangerous hidden capability because it can alter future behavior of the installed package and undermine the user's trust in what was originally installed.

Content

Scanner excerpt · scripts/mcp_client.py (reported line 1617)May include surrounding context.

python
)
    update = subparsers.add_parser(
        "update",
        help="Check, install, or configure Beatra package self-updates",
    )
    update.add_argument(
        "--check",

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The uninstall script is able to revoke a shared Beatra device credential and participate in removing global state under ~/.beatra, which affects resources outside this skill's narrow stated purpose of generating visitor reception voice clips. Even though the code tries to do this cautiously, the capability itself is over-privileged for the declared functionality and could disrupt other installed skills or the user's wider Beatra environment if invoked unexpectedly or modified.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The script defines deletion of multiple files in the shared ~/.beatra state directory, including credentials, inventory, registration, and host state. Although it attempts to do so only when no other skills remain, this still grants a voice-pack skill authority to erase shared platform state beyond its own boundary, which can break unrelated skills and undermine least-privilege expectations.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
89% confidence
Finding

Including credentials.json in the set of removable shared state shows this skill is designed to handle platform credential material directly. In the context of a visitor voice-pack skill, direct access to shared credentials is unjustified and dangerous because any bug, tampering, or repurposing of the script could cause credential destruction or misuse affecting all skills on the device.

Content

Scanner excerpt · scripts/uninstall.py (reported line 40)May include surrounding context.

python
#: these and then removes the directory only if it is empty — the script
#: never recursively deletes a directory it does not fully understand.
_STATE_FILES = (
    "credentials.json",
    "installation.json",
    "host.json",
    "skills.json",

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

This code can make outbound requests to Beatra authorization infrastructure and submit a bearer token revocation request, which is unrelated to producing voice clips. A skill with network-capable token revocation logic materially increases the blast radius of compromise or misuse by allowing the skill to disable device authorization and interfere with other skills sharing that credential.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
94% confidence
Finding

The _device_token function reads the shared access token from ~/.beatra/credentials.json so the skill can use it in an Authorization header for revocation. Reading raw bearer tokens inside a skill package is excessive for the declared functionality and creates an unnecessary credential-access path that could be abused to revoke, exfiltrate, or otherwise misuse shared authorization.

Content

Scanner excerpt · scripts/uninstall.py (reported line 111)May include surrounding context.

python
def _device_token(state_dir: Path) -> str | None:
    path = state_dir / "credentials.json"
    try:
        value = json.loads(path.read_text(encoding="utf-8"))
    except (OSError, ValueError):

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill declares no explicit tool scope while its documented workflow relies on powerful capabilities including shell, file access, network access, and environment interaction. That creates an unnecessarily broad trust boundary, making it easier for the skill or bundled components to access local state, invoke external services, and perform actions beyond the user-visible task.

Content

No source excerpt is available for this finding.