Sudo/Root Execution
Medium
- Category
- Privilege Escalation
- Content
fi if [[ "${EUID}" -ne 0 ]]; then echo "Please run as root: sudo bash $0 $STAMP" exit 1 fi- Confidence
- 70% confidence
- Finding
- sudo
Security audit
Security checks across malware telemetry and agentic risk
This is a disclosed OpenClaw/Linux network-hardening skill whose privileged firewall actions are expected for its purpose and gated by user approval.
Install only if you want an agent to review and harden a Linux OpenClaw host. Before approving fixes, confirm management access, allowed source IPs/subnets, backups, rollback steps, and any firewall, permission, OpenClaw config, or commit changes.
fi
if [[ "${EUID}" -ne 0 ]]; then
echo "Please run as root: sudo bash $0 $STAMP"
exit 1
fifi
if [[ "${EUID}" -ne 0 ]]; then
echo "Please run as root: sudo bash $0 $STAMP"
exit 1
fineed_cmd ss echo '== UFW status ==' sudo ufw status verbose || true echo echo '== Listening ports =='
66/66 vendors flagged this skill as clean.