discord

Warn

Audited by Socket on May 9, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/save_token.rb

This fragment is a credential-handling utility: it authenticates to Discord’s API using a user-provided bot token (Authorization header) and then saves the raw token to a predictable local file with restrictive permissions (0600). No clear malware behaviors (e.g., exfiltration to unknown domains, command execution, or stealth/persistence mechanisms) are visible in the provided lines, but persisting a sensitive token is a high-risk capability and the snippet’s truncation prevents confirming there is no additional logic beyond token verification/storage.

Confidence: 57%Severity: 60%
Audit Metadata
Analyzed At
May 9, 2026, 01:13 AM
Package URL
pkg:socket/skills-sh/alanalvestech%2Fhitank%2Fdiscord%2F@244c17a344f464c4c04b77d9e089a57ba5b671d7
Security Audit — socket — discord