← back to browse
goat command grade F

married

get a wife

0
views
0
likes
0
installs

Aliases: married

analysis — static scan, nothing executed
0 grade F
Dangerous — do not install without a full manual review
Security 78
Privacy 22
Quality 86
Maintenance 90
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.

L46let getAvatarOne = (await axios.get(`https://graph.facebook.com/${one}/picture?width=512&height=512&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde566…
L49let getAvatarTwo = (await axios.get(`https://graph.facebook.com/${two}/picture?width=512&height=512&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde566…
high Touches account session data 2×

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

L46let getAvatarOne = (await axios.get(`https://graph.facebook.com/${one}/picture?width=512&height=512&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde566…
L49let getAvatarTwo = (await axios.get(`https://graph.facebook.com/${two}/picture?width=512&height=512&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde566…
medium Deletes files 3×

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

L59fs.unlinkSync(avatarOne);
L60fs.unlinkSync(avatarTwo);
L72return this.makeImage({ one, two }).then(path => api.sendMessage({ body: "", attachment: fs.createReadStream(path) }, threadID, () => fs.unlinkSync(path), me…
low Filesystem access 3×

Reads or writes files on the machine running the bot.

L19const { existsSync, mkdirSync } = require ("fs-extra");
L35const fs = require ("fs-extra");
L66const fs = require ("fs-extra");
low Network access

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

L37const 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, fs-extra, jimp

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