headscale-deploy

Warn

Audited by Socket on Sep 3, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/install-headscale.sh

No overt malicious behavior (e.g., exfiltration, backdoor logic, or credential harvesting) is evident in this fragment. However, the script performs a high-impact supply-chain install-and-run workflow: it downloads a binary tarball over the network, extracts it, installs the extracted executable as root, and immediately starts it via systemd—without any integrity verification or explicit validation of archive contents. If the download source/path or artifact is compromised, this script would persistently execute the attacker’s payload.

Confidence: 62%Severity: 60%
AnomalyLOW
scripts/configure-derp.sh

No clear malicious payload is evident; the script’s intent is configuration management for Headscale’s embedded DERP. However, it contains meaningful security risk: it executes inline python3 -c built via string interpolation (a potential code-injection/quote-breaking primitive if inputs are adversarial) and it performs curl requests to a URL taken directly from YAML without validation (SSRF-like egress if config is compromised). Overall: likely benign utility, but should be reviewed/secured before use in threat models where CLI parameters or config.yaml could be attacker-influenced.

Confidence: 72%Severity: 56%
Audit Metadata
Analyzed At
Sep 3, 2026, 02:38 AM
Package URL
pkg:socket/skills-sh/magnus919%2Fagent-skills%2Fheadscale-deploy%2F@7ec78ceb133cefb812b64730305b4a086f359ff189bbcf4affedcf5d09c8654c
Security Audit — socket — headscale-deploy