dyagil-services-watchdog@1.0.0
CAUTION· static onlyPublisher claims: "Set up a systemd-based watchdog that keeps long-running Node.js services (Telegram bots, Express dashboards, etc.) alive across shell exits, ssh disconnects,..." Observed in sandbox: static analysis only — behavior not yet observed.
Coverage
Static only; nothing was run yet.The label rests on the code, the instruction files and the publisher. The honeypot run replaces this verdict when it completes.
Is [email protected] safe to install?
KillerSkills analysed it statically (a sandbox run is pending) on 2026-11-22 and scored it 58/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: static analysis only — behavior not yet observed.
Behavior trace
Queued for honeypot run · static analysis onlyThis version has not been detonated yet. The score above counts behavior as unknown (50/100), so it cannot read Verified until the honeypot run completes and replaces this verdict.
Static findings
bash -c 'cd '"$WORKSPACE"'/projects/myservice && set -a && [ -f .env ] && . ./.env; set +a && exec nohup node src/index.js >> logs/svc.log 2>&1 < /dev/null' &Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…tarted service in its own transient scope, outside the watchdog's cgroup. 2. **`.env` is loaded INSIDE the new scope.** The watchdog wraps the start command in `bas…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.bash -c 'cd '"$WORKSPACE"'/projects/sahi-diet && set -a && [ -f .env ] && . ./.env; set +a; exec nohup node src/bot.js >> logs/bot.log 2>&1 < /dev/null' &Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chmod +x "$WORKSPACE/scripts/services-watchdog.sh"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.curl -s --max-time 10 -X POST "https://api.telegram.org/bot${token}/sendMessage" \Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.…2-minute user-systemd timer that detects and auto-restarts services with their `.env` correctly loaded. version: 1.0.0 license: MIT author: dyagil --- # Services W…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.kill "$PID"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.(Do NOT use `pkill -f "myservice/server.js"` to kill the test target — your own exec shell often matches the same regex and gets SIGTERM'd.)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.bash -c 'cd '"$WORKSPACE"'/projects/sahi-mind && set -a && [ -f .env ] && . ./.env; set +a; exec nohup node src/index.js >> logs/mind.log 2>&1 < /dev/null' &Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.token=$(grep -E '^TELEGRAM_BOT_TOKEN=' "$WORKSPACE/projects/sahi-diet/.env" 2>/dev/null | head -1 | cut -d= -f2- | tr -d '"' | tr -d "'")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
22 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim dyagil: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Telegram Bot API URL≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.