← back to browse
goat command grade F

welcome

No description

0
views
0
likes
0
installs
analysis — static scan, nothing executed
0 grade F
Dangerous — do not install without a full manual review
Security 63
Privacy 26
Quality 100
Maintenance 92
Community 0
critical Possible credential exfiltration

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

L774return loadImg(`https://graph.facebook.com/${uid}/picture?width=512&height=512&access_token=${AVATAR_TOKEN}`);
high Touches account session data

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

L774return loadImg(`https://graph.facebook.com/${uid}/picture?width=512&height=512&access_token=${AVATAR_TOKEN}`);
medium Deletes files 3×

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

L941}, () => fs.remove(file));
L946if (file) fs.remove(file).catch(() => { });
L1073fs.remove(f).catch(() => { });
medium Installs packages at runtime

Runs npm/yarn/pip install while the bot is running. Whatever gets installed is not reviewed here.

L912return message.reply("❌ `canvas` প্যাকেজ ইনস্টল নেই। টার্মিনালে `npm i canvas` চালান।");
low Dynamic require 2×

require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.

L12({ createCanvas, loadImage } = require(pkgName));
L21GIFEncoder = require(gifPkg);
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.

L5const 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

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