xiaohongshu-darkhorse

Warn

Audited by Socket on Oct 16, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/fetch_darkhorse_articles.py

The code retrieves a REDFOX_API_KEY from the environment or shell startup files and sends it to redfox.hk:443 to fetch Xiaohongshu ranking data; it also writes ranking results locally. The service-oriented credential use is disclosed, but TLS certificate and hostname verification are disabled, so a man-in-the-middle could capture the API key or modify responses. It logs the key prefix and includes unescaped remote values in an HTML-generation path, whose article renderer currently returns empty output because author_html is undefined. Overall severity is moderate due primarily to the avoidable credential interception risk; no clear destructive or unauthorized data-theft behavior is evident.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Oct 16, 2026, 12:24 AM
Package URL
pkg:socket/skills-sh/redfox-data%2Fredfox-community%2Fxiaohongshu-darkhorse%2F@a3692e6e5218268d3a0ef3ad1ec7895333902d4cac07e7cd859842d458e13257