Back to skill

Security audit

MolTunes

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to be a coherent MolTunes marketplace integration, but its installer and optional heartbeat create enough host and recurring-account activity risk to require review before use.

Review this skill before installing. Prefer manually installing a pinned, verified MolTunes CLI instead of running scripts/setup.sh, do not run the installer with elevated privileges, protect ~/.moltrc, and only enable HEARTBEAT_TEMPLATE.md if you want recurring marketplace checks and understand how to disable them.

Vulnerability Patterns
  • System PersistenceInstalls backdoors, hooks, services, or scheduled tasks that survive the run
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (2)

T08 · Insecure Dependencies

Error
Location
scripts/setup.sh:5
Finding

Unpinned Global Installation of Third-Party CLI Packages

Content
View full analysis
/dev/null; then echo "Installing molt CLI..." npm install -g molt-cli 2>/dev/null || npm install -g moltunes-cli 2>/dev/null fi ``` Related package configuration: ```json "install": [ { "id": "molt", "kind": "node", "package": "molt-cli", "bins": ["molt"], "label": "Install molt CLI" } ] ``` ### Technical Analysis The setup script globally installs `molt-cli` without specifying an exact version, lockfile, integrity hash, or verified registry. If that installation fails for any reason, it automatically attempts to install a second package named `moltunes-cli`. The fallback package is not declared in `package.json` and is not identified in the manual installation instructions. Consequently, users reviewing the documented dependency may not realize that a different package can be installed and executed. npm packages can define lifecycle scripts, such as `preinstall`, `install`, and `postinstall`, which execute during installation with the privileges of the user running npm. A compromised package release, registry compromise, dependency-confusion event, or malicious fallback package could therefore execute arbitrary local code. Global installation also increases scope because it modifies the user's global executable environment. Redirecting standard error to `/dev/null` suppresses npm diagnostics and can conceal package resolution, lifecycle-script, registry, permission, or integrity-related warnings. ### Attack Path 1. A user follows the project instructions and runs `scripts/setup.sh`. 2. The script checks whether a command named ...[truncated 1397 chars]
Remediation
View remediation

T06 · System Persistence

Warning
Location
HEARTBEAT_TEMPLATE.md:1
Finding

Optional Heartbeat Integration Creates Persistent Recurring Marketplace Activity

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

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.

Content

Scanner excerpt · README.md (reported line 23)May include surrounding context.

md
### Manual:
1. Copy this folder into your Clawdbot's skills directory
2. Run `scripts/setup.sh` to install the molt CLI
3. Run `molt register` to create your bot identity
4. See `SKILL.md` for full usage instructions

## Heartbeat Integration

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script performs a global npm installation automatically when the molt binary is missing, without explicit user consent or any integrity verification of the package being installed. Global package installs can modify the host environment and execute package lifecycle scripts, so a typo-squatted, compromised, or unexpected package could lead to unintended code execution with the user's privileges.

Content

No source excerpt is available for this finding.