← back to browse
goat command grade F

pair6

No description

0
views
0
likes
0
installs

Aliases: pr6

analysis — static scan, nothing executed
0 grade F
Dangerous — do not install without a full manual review
Security 84
Privacy 22
Quality 86
Maintenance 82
Community 0
critical Possible credential exfiltration 2×

The file reads session data or secrets and also talks to the network. Verify nothing sensitive is being sent out.

L12const [bg, img1, img2] = await Promise.all([loadImage(config.url), loadImage(`https://graph.facebook.com/${senderID}/picture?width=512&height=512&access_toke…
high Touches account session data 2×

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

L12const [bg, img1, img2] = await Promise.all([loadImage(config.url), loadImage(`https://graph.facebook.com/${senderID}/picture?width=512&height=512&access_toke…
medium Deletes files

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

L20api.sendMessage({ body, mentions: [{tag:name1,id:senderID},{tag:name2,id:targetID}], attachment: fs.createReadStream(pathImg) }, threadID, () => fs.unlinkSyn…
low Filesystem access

Reads or writes files on the machine running the bot.

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

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

L1const 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

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