zentao-api
Warn
Audited by Socket on Sep 22, 2026
1 alert found:
SecuritySecurityscripts/get-token.sh
MEDIUMSecurityMEDIUM
scripts/get-token.sh
The code appears to implement legitimate ZenTao authentication and token caching, with no clear indicators of malware. However, it has significant credential-handling risks. In particular, using its output with eval can permit shell command injection if any returned or cached field contains shell syntax, and plaintext cache storage can expose a long-lived token. The script should emit shell-escaped assignments or use a safer interface, enforce HTTPS, serialize request JSON safely, and create the cache with restrictive permissions and symlink-resistant atomic writes.
Confidence: 98%Severity: 78%
Audit Metadata