integration
Warn
Audited by Socket on Mar 29, 2026
1 alert found:
AnomalyAnomalyreferences/cli-websocket.md
LOWAnomalyLOW
references/cli-websocket.md
No clear evidence of intentionally malicious code (e.g., external C2/persistence) in this snippet. However, it introduces meaningful security risks: (1) reading an auth token from `/tmp` and sending it in a WebSocket URL query string, which may expose or allow token misuse/tampering, and (2) `tabz-last()` re-executes the last shell history command, which can lead to unintended command execution with the user’s privileges and then forwards that output to the backend. These issues should be reviewed and hardened, especially around token handling and removing/restricting history re-execution.
Confidence: 62%Severity: 66%
Audit Metadata