T08 · Insecure Dependencies
- Location
SKILL.md:34- Finding
Unpinned Third-Party Executable Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a straightforward Surge download-manager helper, with expected download, file-write, and optional server-mode behavior disclosed in its instructions.
Install only if you trust the Surge project and its distribution channels. Prefer a pinned release or verified binary, be careful with download URLs and output paths, and start server or remote-token mode only when you intend to leave a download service running.
SKILL.md:34Unpinned Third-Party Executable Installation
The skill instructs users how to download remote content, run a headless daemon, and write files to disk, but it does not prominently warn about these side effects or the trust implications of downloading unverified files. Because the skill also documents remote control via host/token, missing warnings can lead to unsafe use, accidental background processes, or downloading malicious content without sufficient user awareness.
The activation criteria are broad enough that the skill may trigger for general download-related requests without clearly constraining when it should be used. In a tool that performs network access, writes files, and can start a background server, over-broad activation increases the chance of unintended execution or suggestion of risky actions in contexts where the user did not explicitly ask for them.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def run_surge(args_list):
"""Run surge command"""
result = subprocess.run(['surge'] + args_list, capture_output=True, text=True)
return result.returncode, result.stdout, result.stderr
def start_server(output_dir=None):
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
cmd.extend(['-o', output_dir])
print(f"⚡ Starting Surge server...")
proc = subprocess.Popen(cmd)
return proc
def main():