← back to browse
goat command grade B

yt

Search & download YouTube videos interactively

1
views
0
likes
1
installs

Aliases: youtube, yts

analysis — static scan, nothing executed
0 grade B
Review recommended — some behaviour worth a look
Security 80
Privacy 95
Quality 100
Maintenance 90
Community 8
medium Deletes files 3×

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

L128fs.unlinkSync(filePath);
L135fs.unlinkSync(thumbPath);
L188fs.unlinkSync(filepath);
low Network access 2×

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

L1const axios = require("axios");
L4const https = require("https");
low Filesystem access

Reads or writes files on the machine running the bot.

L2const fs = require("fs-extra");
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

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