hugging-face-stat

Warn

Audited by Socket on Sep 16, 2026

1 alert found:

Security
SecurityMEDIUM
hf_stats.sh

The script appears intended as a benign Hugging Face statistics query tool, but it contains a significant command-line-to-Python code injection vulnerability because REPO_ID is embedded unescaped into Python source. A crafted repository ID can execute arbitrary Python code locally when parsing begins. Use safe argument passing or JSON/string escaping and validate the repository ID format. No clear malicious payload or supply-chain malware behavior is present in the supplied fragment.

Confidence: 98%Severity: 78%
Audit Metadata
Analyzed At
Sep 16, 2026, 02:55 PM
Package URL
pkg:socket/skills-sh/cafe3310%2Fpublic-agent-skills%2Fhugging-face-stat%2F@ccc73285a8429038cb13a05167ed589ca23671e9d00188e5320fb59acdd35f6e