agenthub

Warn

Audited by Socket on Sep 26, 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 26, 2026, 08:02 AM
Package URL
pkg:socket/skills-sh/alirezarezvani%2Fclaude-skills%2Fagenthub%2F@6989f4f510d7fce607874d3e7aea9f48e4ba32268012a9610e5078f495fa9068