Back to skill

Security audit

shutdown

Security checks for vulnerabilities and agentic risk

Overview

This skill provides a disclosed, confirmation-gated workflow for shutdown and reboot commands, with no hidden code or persistence.

Install only if you want the agent to help run real shutdown or reboot commands. Review the exact command and target carefully before confirming, especially on remote machines where the session may disconnect.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (10)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
```bash
# shutdown now
sudo shutdown -h now

# reboot now
sudo shutdown -r now
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
```bash
# shutdown now
sudo shutdown -h now

# reboot now
sudo shutdown -r now
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
```bash
# shutdown now
sudo shutdown -h now

# reboot now
sudo shutdown -r now
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
```bash
# shutdown now
sudo shutdown -h now

# reboot now
sudo shutdown -r now
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
```bash
# shutdown now
sudo shutdown -h now

# reboot now
sudo shutdown -r now
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
```bash
# shutdown now
sudo shutdown -h now

# reboot now
sudo shutdown -r now
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
sudo shutdown -h now

# reboot now
sudo shutdown -r now

# schedule shutdown in 1 minute
sudo shutdown -h +1
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
sudo shutdown -h now

# reboot now
sudo shutdown -r now

# schedule shutdown in 1 minute
sudo shutdown -h +1
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
sudo shutdown -h now

# reboot now
sudo shutdown -r now

# schedule shutdown in 1 minute
sudo shutdown -h +1
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Content
sudo shutdown -h now

# reboot now
sudo shutdown -r now

# schedule shutdown in 1 minute
sudo shutdown -h +1
Confidence
70% confidence
Finding
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Static analysis

No suspicious patterns detected.