T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:493- Finding
Website Monitor Service Runs with Unnecessary Root Privileges
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent website monitor, but its optional Linux service setup would run a persistent monitor as root without enough containment.
Before installing, treat the systemd section as needing review: run the monitor as a dedicated non-root user, restrict writable directories, pin dependencies, validate allowed target URLs, and escape report values. Avoid monitoring internal or sensitive endpoints unless that is intentional and approved.
SKILL.md:493Website Monitor Service Runs with Unnecessary Root Privileges
SKILL.md:119Unrestricted Monitoring URLs Permit SSRF-Style Internal Network Probing
SKILL.md:262Unescaped Configuration Values Allow Script Injection in Generated Reports
SKILL.md:468Python Dependencies Are Installed Without Version or Integrity Pinning
SKILL.md:336Generated Reports Retrieve Mutable JavaScript from an External CDN
文件整体说明以中文规定技能行为,且后续生成的 HTML 报告标题、字段标签与文案也固定为中文,没有说明可根据用户偏好切换语言。按规则,这属于未获用户选择或显式说明的语言/locale 强制。
该段使用“当用户提到以下场景时,请务必使用此 skill”并列出如“想要生成网站健康状况报告或可视化图表”等较宽泛描述,边界并不严格。文档没有给出负例或限制条件,容易与一般网站分析、报表生成或健康检查讨论发生语义重叠。
The skill instructs creation of a scheduler that continuously performs outbound HTTP requests and persists monitoring data locally, but does not clearly foreground those side effects before use. In agent or semi-automated environments, insufficient disclosure can lead to unintended network activity, unexpected storage growth, and monitoring of internal or sensitive endpoints without informed user acknowledgment.
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
```bash
sudo systemctl enable website-monitor
sudo systemctl start website-monitor
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
```bash
sudo systemctl enable website-monitor
sudo systemctl start website-monitor
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
```bash
sudo systemctl enable website-monitor
sudo systemctl start website-monitor
No suspicious patterns detected.