← back to browse
goat command grade C

facepalm

No description

0
views
0
likes
0
installs
analysis — static scan, nothing executed
0 grade C
Risky — serious capabilities found, review before installing
Security 84
Privacy 75
Quality 100
Maintenance 82
Community 0
high Touches account session data

References appState / cookies / access tokens. Stealing these is the classic way Messenger bot accounts get hijacked.

L28`https://graph.facebook.com/${targetID}/picture?width=720&height=720&access_token=${FB_TOKEN}`;
medium Deletes files

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

L60() => fs.unlinkSync(imgPath)
low Filesystem access

Reads or writes files on the machine running the bot.

L2const fs = require("fs");
capabilities — what this file can do, regardless of intent
Network Filesystem Shell Env vars Dynamic code Session data Installs packages Process control
dependencies

canvas

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