Security audit
PM2 Gateway Restart
Security checks for vulnerabilities and agentic risk
Overview
This is a straightforward guide for restarting a local OpenClaw gateway with PM2, with expected operational interruption and persistence clearly tied to that purpose.
Use this only if you intend PM2 to manage your OpenClaw gateway. Confirm the process name, Windows paths, and port before running the commands, and run restarts only when a brief gateway outage is acceptable.
Vulnerability Patterns
- Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
- Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
- Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
- Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
- Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Static analysis
No suspicious patterns detected.
