← back to browse
goat command grade B

sing2

Download music with HD UI

0
views
0
likes
0
installs

Aliases: music

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

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

L223setTimeout(() => { if (fs.existsSync(cachePath)) fs.unlinkSync(cachePath); }, 10000);
L331setTimeout(() => { if (fs.existsSync(filePath)) fs.unlinkSync(filePath); }, 5000);
L469setTimeout(() => { if (fs.existsSync(cachePath)) fs.unlinkSync(cachePath); }, 10000);
low Filesystem access

Reads or writes files on the machine running the bot.

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

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

L4const 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, canvas, 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