T06 · System Persistence
- Location
SKILL.md:24- Finding
Persistent System-Wide Xvfb Service Exceeds Minimum Required Privileges
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it says for Threads browser automation, but its optional headless setup installs a persistent system-wide service with administrator privileges and no cleanup path.
Review this before installing on a shared or production machine. Prefer a temporary or user-scoped Xvfb setup instead of the documented system-wide boot service, and require explicit confirmation of the exact Threads post or reply before publishing from your logged-in account.
SKILL.md:24Persistent System-Wide Xvfb Service Exceeds Minimum Required Privileges
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 1. Xvfb 설치 및 서비스 등록
sudo apt install -y xvfb
sudo tee /etc/systemd/system/xvfb.service << 'EOF'
[Unit]
Description=X Virtual Frame Buffer
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
# 1. Xvfb 설치 및 서비스 등록
sudo apt install -y xvfb
sudo tee /etc/systemd/system/xvfb.service << 'EOF'
[Unit]
Description=X Virtual Frame Buffer
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now xvfb
# 2. OpenClaw Gateway에 DISPLAY 환경변수 추가
mkdir -p ~/.config/systemd/user/openclaw-gateway.service.d
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.
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now xvfb
# 2. OpenClaw Gateway에 DISPLAY 환경변수 추가
mkdir -p ~/.config/systemd/user/openclaw-gateway.service.d
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.
sudo systemctl enable --now xvfb
# 2. OpenClaw Gateway에 DISPLAY 환경변수 추가
mkdir -p ~/.config/systemd/user/openclaw-gateway.service.d
echo -e '[Service]\nEnvironment=DISPLAY=:99' > ~/.config/systemd/user/openclaw-gateway.service.d/display.conf
systemctl --user daemon-reload
systemctl --user restart openclaw-gateway
The skill provides detailed steps for posting and replying on a live social-media account but does not prominently require an explicit user confirmation immediately before publication or warn that actions are externally visible and attributable to the logged-in account. In an agent setting, this creates a real risk of unintended posts, reputational harm, or policy-violating account actions if the agent proceeds based on ambiguous user input.
The natural-language instructions throughout the skill are presented in Korean, but there is no indication that the user can choose another language or that the skill is intentionally limited to Korean-speaking users. This can violate language/locale policy when a specific language is effectively forced without opt-in or justification.
No suspicious patterns detected.