linkfox-kalodata-tiktok-shop
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyscripts/kalodata_shop_detail.py
LOWAnomalyLOW
scripts/kalodata_shop_detail.py
The fragment appears to implement a legitimate API wrapper with caching and session-file persistence, not malware. It intentionally sends the configured API key, request parameters, and selected environment metadata to LinkFox's gateway or to any endpoint specified by `LINKFOX_TOOL_GATEWAY`. The unsanitized `SESSION_ID` introduces a real path traversal/arbitrary output-location risk when that environment variable is attacker-controlled. Restrict the gateway setting, validate the session identifier to a safe basename, and use restrictive file permissions for cached responses and metadata.
Confidence: 97%Severity: 55%
Audit Metadata