agenthub

Warn

Audited by Socket on Sep 4, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/result_ranker.py

This module itself is not visibly malicious or obfuscated, but it contains a high-impact security design flaw: it executes a user/config-provided eval_cmd via subprocess.run(..., shell=True) with cwd set to a git worktree path. If an attacker can influence --eval-cmd or the per-session config.yaml content, this becomes a straightforward arbitrary command execution vector. Additionally, config.yaml is read from a path constructed using an unvalidated session_id, which can pose an unintended file read/path traversal risk depending on caller constraints.

Confidence: 74%Severity: 85%
Audit Metadata
Analyzed At
Sep 4, 2026, 02:33 PM
Package URL
pkg:socket/skills-sh/iwanhe%2Fpandawa%2Fagenthub%2F@83ab8b4b8c5712b9efb560960b225224b0c1183b6ff83d75a10e3ecbd8045110
Security Audit — socket — agenthub