vps-security-hardening

Warn

Audited by Socket on Oct 4, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/harden-vps.sh

This is an administrative VPS setup script, with no clear evidence of intentional malware or unauthorized data exfiltration. It nevertheless presents substantial operational and security risks: it disables SSH host verification, recommends a trivially weak root password, exposes the new-user password in output, interpolates unvalidated arguments into privileged remote shell commands, and makes potentially disruptive SSH, firewall, and Docker changes. Review and validate inputs and configuration before use; do not use the suggested password.

Confidence: 97%Severity: 82%
Audit Metadata
Analyzed At
Oct 4, 2026, 04:16 AM
Package URL
pkg:socket/skills-sh/wlzh%2Fskills%2Fvps-security-hardening%2F@f293f43e49cd8ae806daa27158657ea237d4f4f29c1f6f7d5e189948eb6429ad