brainstorming
Warn
Audited by Socket on Nov 1, 2026
1 alert found:
AnomalyAnomalyscripts/stop-server.sh
LOWAnomalyLOW
scripts/stop-server.sh
This script is intended to stop a server and clean up its session files, but it trusts both the supplied directory and PID-file contents. The /tmp/ prefix check can be bypassed with path traversal (for example, /tmp/../../target), potentially causing recursive deletion outside /tmp; a manipulated or stale PID file can also cause an unrelated process to receive termination signals. This is a security warning requiring input/path validation and PID ownership checks; no evidence of malware is present.
Confidence: 98%Severity: 68%
Audit Metadata