Oathe Security Badge

oathe / scan / reports / caution

Is Zjianru/restart-guard safe?

Use with caution. Zjianru/restart-guard is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the restart-guard skill by Zjianru a trust score of 59/100 with 4 findings (1 critical, 1 high). Report updated

https://github.com/Zjianru/restart-guard

59
CAUTION

Is Zjianru/restart-guard safe to install?

This skill provides infrastructure restart capabilities with automatic execution triggered by natural language phrases, bypassing normal user consent mechanisms. While the functionality may be legitimate for system administration, the automatic trigger design and system-level privileges present significant risks.

What security issues were found in Zjianru/restart-guard?

Category Scores

Prompt Injection 20/100 · 30%
Data Exfiltration 75/100 · 25%
Code Execution 60/100 · 20%
Clone Behavior 100/100 · 10%
Canary Integrity 100/100 · 10%
Behavioral Reasoning 40/100 · 5%

Findings (4)

CRITICAL Automatic Execution Override -80 ▶

The SKILL.md explicitly instructs the agent to 'must auto-run, do not ask user for script commands' when restart-related phrases are detected. This bypasses normal user consent mechanisms and forces automatic execution of potentially dangerous restart operations.

Evidence: Natural-language triggers (must auto-run, do not ask user for script commands): - '可以重启了' - '现在重启吧' - 'restart now' - 'go ahead and restart'

HIGH System-Level Executable Scripts -40 ▶

The skill contains extensive Python scripts capable of system-level operations including process management, service restarts, file system operations, and network requests. These scripts can spawn guardian processes, trigger gateway restarts via HTTP/signals, and manage system locks.

Evidence: Multiple Python scripts: restart.py, guardian.py, notify.py, auto_restart.py with capabilities for process spawning, system signals (SIGUSR1), and service management

MEDIUM Automatic Session Data Access -25 ▶

The skill automatically reads session keys, user context, and environment variables without explicit user consent. It also sends notifications to external services (Telegram, Discord, Slack, webhooks) which could leak system state information.

Evidence: Functions like resolve_origin_session_key(), call_sessions_json(), and external notification capabilities to multiple platforms

MEDIUM Infrastructure Restart Risk -60 ▶

The skill is designed to automatically restart critical gateway infrastructure based on natural language triggers, potentially causing unintended service disruptions, loss of active connections, or system instability if triggered accidentally or maliciously.

Evidence: Automatic execution of restart operations via scripts/auto_restart.py when restart intent is detected in conversation

Should I install Zjianru/restart-guard?

Oathe's verdict for Zjianru/restart-guard is CAUTION with a trust score of 59/100. Recommendation: Review before install.