← back to browse
goat command grade B

sing

download music from YouTube

3
views
0
likes
2
installs
analysis — static scan, nothing executed
0 grade B
Review recommended — some behaviour worth a look
Security 82
Privacy 95
Quality 94
Maintenance 90
Community 13
medium Deletes files 2×

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

L71fs.unlinkSync(filePath);
L81fs.unlinkSync(filePath);
low Network access 2×

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

L24const axios = require("axios");
L27const request = require("request");
low Filesystem access

Reads or writes files on the machine running the bot.

L25const fs = require("fs-extra");
low Deprecated dependency

Uses package(s) that are no longer maintained: request.

L16"request": "",
L27const request = require("request");
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, request, yt-search, ytdl-core

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