← back to browse
goat command grade A

๐Ÿ’ฅ

Random voice

0
views
0
likes
0
installs
analysis โ€” static scan, nothing executed
0 grade A
Review recommended โ€” some behaviour worth a look
Security 84
Privacy 95
Quality 100
Maintenance 90
Community 0
medium Deletes files

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

L57fs.unlinkSync(filePath);
low Network access 2×

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

L1const axios = require("axios");
L22const configRes = await fetch(`${API_BASE}/api/audio/${CMD_NAME}`);
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