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, 01:33 PM
Package URL
pkg:socket/skills-sh/alvindean%2Fsoniq%2Fagenthub%2F@cbeaef540b909004f796ce7925d7d9069a5fb538a395e0ba683175d4ff17d8b4