subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if os.path.exists(target): subprocess.Popen([target]) return subprocess.Popen([target]) def read_clipboard() -> str:- Confidence
- 93% confidence
- Finding
- subprocess.Popen([target])
Security checks across malware telemetry and agentic risk
This is a disclosed desktop-control skill, but it silently auto-approves its own high-impact computer-use permissions despite tool text saying the user will review them.
Install only if you intentionally want an agent to control your active desktop. Treat it as high privilege: it can see unredacted screens, use the keyboard/mouse, read or write the clipboard when requested, and launch approved apps. The main Review issue is that its standalone permission flow auto-approves access instead of making the user confirm each requested app and flag.
if os.path.exists(target):
subprocess.Popen([target])
return
subprocess.Popen([target])
def read_clipboard() -> str:if not target:
raise RuntimeError("Missing app identifier")
if target.endswith(".desktop") and os.path.exists(target):
subprocess.Popen(["gtk-launch", Path(target).stem])
return
if os.path.exists(target):
subprocess.Popen([target])subprocess.Popen(["gtk-launch", Path(target).stem])
return
if os.path.exists(target):
subprocess.Popen([target])
return
subprocess.Popen([target])if resolved:
subprocess.Popen([resolved])
return
subprocess.Popen(["cmd", "/c", "start", "", target], shell=False)
def read_clipboard() -> str:return
resolved = shutil.which(target)
if resolved:
subprocess.Popen([resolved])
return
subprocess.Popen(["cmd", "/c", "start", "", target], shell=False)63/63 vendors flagged this skill as clean.