← back to browse
goat command grade C

video

search & download video (-v) or audio (-a) from youtube

1
views
0
likes
1
installs

Aliases: play, yt, gaan

analysis — static scan, nothing executed
0 grade C
Risky — serious capabilities found, review before installing
Security 55
Privacy 96
Quality 100
Maintenance 90
Community 8
high Shell access

Spawns operating-system processes through child_process. A command running shell code can read or change anything the bot's account can.

L3const { spawn } = require("child_process");
medium Deletes files 3×

Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.

L91thumbPaths.forEach(p => { if (fs.existsSync(p)) fs.unlinkSync(p); });
L184await fs.unlink(finalPath);
L199if (fs.existsSync(finalPath)) fs.unlinkSync(finalPath);
low Filesystem access

Reads or writes files on the machine running the bot.

L1const fs = require("fs-extra");
low Network access

Makes HTTP/WebSocket requests. Check where the data goes.

L5const axios = require("axios");
capabilities — what this file can do, regardless of intent
Network Filesystem Shell Env vars Dynamic code Session data Installs packages Process control
dependencies

axios, fs-extra, yt-search

checks
Exports a command/module
Handles errors (try/catch or .catch)
Readable, not minified
Has explanatory comments
No deprecated dependencies
Reasonable size (< 200 KB)
raw source — loaded on demand
Loading source…

View raw file · View analysis as JSON