← back to browse
goat command grade A

anigif

𝗀𝖾𝗍 𝖺𝗇𝗂𝗆𝖾 𝗀𝗂𝖿𝗌 𝖻𝗒 𝗍𝖺𝗀𝗌 𝗐𝗂𝗍𝗁 𝖺𝖾𝗌𝗍𝗁𝖾𝗍𝗂𝖼 𝗌𝗍𝗒𝗅𝖾

0
views
0
likes
0
installs
analysis — static scan, nothing executed
0 grade A
Review recommended — some behaviour worth a look
Security 84
Privacy 94
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.

L59}, () => { if (fs.existsSync(filePath)) fs.unlinkSync(filePath); });
low Network access 3×

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

L1const fetch = require('node-fetch');
L43const response = await fetch(endpoint);
L49const gifRes = await fetch(gifUrl);
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

fs-extra, node-fetch

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