Skip to main content

caveman-diagnose

>-

Install this skill

or
77/100

Security score

The caveman-diagnose skill was audited on Aug 25, 2026 and we found 7 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

low line 263

Command substitution pattern

SourceSKILL.md
2613. Перезапуск: pkill ОТДЕЛЬНЫМ вызовом (правило 11, `fire[f]ox`) → запуск с env из живого GUI-процесса:
262```bash
263GPS=$(pgrep -f 'gnome-s[h]ell' | head -1); export $(tr '\0' '\n' < /proc/$GPS/environ | grep -E '^(DISPLAY|WAYLAND_DISPLAY|XAUTHORITY|XDG_RUNTIME_DIR)=' | tr '\n' ' '); nohup firefox > /tmp/firefox.log 2>&1 &
264```
265
medium line 153

Access to home directory dotfiles

SourceSKILL.md
151
152**ШАГ 1 — улики ЛОКАЛЬНО (сначала, до всякого веба):**
153- Логи: `journalctl -xe` (последние ошибки), `dmesg | tail -50`, `dmesg | grep -i "error\|fail\|hardware"`, логи сервисов (tail /tmp/*.log, ~/.local/state/*.log)
154- Состояние: `ps aux | head -30`, `ss -tlnp`, `free -h`, `df -h`, `uptime`, `top -bn1 | head -20`
155- ЖЕЛЕЗО (если подозрение на железо): `lscpu`, `lspci -nn`, `lsusb`, `smartctl -a /dev/sdX` (диск), `sensors` (температуры), `dmesg | grep -i "thermal\|usb\|pci\|ata\|i2c"`, `lshw -short | head -40`, `systemctl list-units --failed`
medium line 181

Access to home directory dotfiles

SourceSKILL.md
179
180Лечение (проверено на практике):
1811. В `~/.config/opencode/opencode.json` добавить серверу `"codemode": false`:
182```json
183"camoufox": {
medium line 214

Access to home directory dotfiles

SourceSKILL.md
2121. `opencode2 mcp list` — статус.
2132. `ps aux | grep camoufox-research | grep -v grep` — есть живой процесс с 0:00 CPU, а тулы лежат = он завис (у нас: PID висел с 12:24, ответил на tools/list в 12:25, завис на ресурсах в 12:28).
2143. `grep -E "mcp connected|failed to list MCP" ~/.local/share/opencode/log/opencode.log | tail` — «mcp connected … tools=48», потом «Request timed out» = диагноз подтверждён.
2154. Прямая проверка сервера (отвечает за ~1с = лечится переподключением, не переустановкой):
216 `printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"t","version":"1"}}}\n' | timeout 20 /home/<user>/.venvs/camoufox-research/bin/camoufox-research | head -c 200`
low line 251

Access to home directory dotfiles

SourceSKILL.md
249Диагноз ОДНОЙ командой (канон):
250```bash
251firefox --version; rpm -q ffmpeg; find /usr/lib64 ~/.mozilla/firefox -iname '*widevine*' | head; lspci | grep -i vga
252```
253- ffmpeg есть + GPU есть + Widevine НЕ найден → DRM-видео (YouTube, Kinopoisk, Netflix, онлайн-кинотеатры) не играет. Widevine = модуль для защищённого видео, без него никак.
medium line 256

Access to home directory dotfiles

SourceSKILL.md
254
255Фикс (оптимальный, 3 шага):
2561. Найти АКТИВНЫЙ профиль: `ls -la ~/.mozilla/firefox/*/.parentlock` — у кого дата СЕГОДНЯ, тот и живой (профилей бывает несколько!).
2572. Вписать user.js при закрытом Firefox (user.js сильнее prefs.js и не перезатрётся):
258```bash
low line 259

Access to home directory dotfiles

SourceSKILL.md
2572. Вписать user.js при закрытом Firefox (user.js сильнее prefs.js и не перезатрётся):
258```bash
259printf 'user_pref("media.eme.enabled", true);\nuser_pref("media.gmp-widevinecdm.enabled", true);\nuser_pref("media.gmp-widevinecdm.visible", true);\n' > ~/.mozilla/firefox/<ПРОФИЛЬ>/user.js
260```
2613. Перезапуск: pkill ОТДЕЛЬНЫМ вызовом (правило 11, `fire[f]ox`) → запуск с env из живого GUI-процесса:
Scanned on Aug 25, 2026
View Security Dashboard
Installation guide →
GitHub Stars 1
Rate this skill
Categorydevelopment
UpdatedSeptember 20, 2026
aidvizhhub/caveman-dvizh-skills