← back to browse
goat command grade F

count

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 93
Privacy 14
Quality 100
Maintenance 82
Community 0
critical Possible credential exfiltration 5×

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

L23"ACCESS_TOKEN": "6628568379%7Cc1e620fa708a1d5696fb991c1bde5662"
L139const ACCESS_TOKEN = envCommands.count.ACCESS_TOKEN;
L189const url = `https://graph.facebook.com/${uid}/picture?width=512&height=512&access_token=${ACCESS_TOKEN}`;
high Touches account session data 5×

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

L23"ACCESS_TOKEN": "6628568379%7Cc1e620fa708a1d5696fb991c1bde5662"
L139const ACCESS_TOKEN = envCommands.count.ACCESS_TOKEN;
L189const url = `https://graph.facebook.com/${uid}/picture?width=512&height=512&access_token=${ACCESS_TOKEN}`;
low Filesystem access 4×

Reads or writes files on the machine running the bot.

L69const { readJsonSync, writeJsonSync, ensureFileSync } = require("fs-extra");
L134const { createWriteStream, readJsonSync, ensureFileSync } = require("fs-extra");
L333attachment: require('fs').createReadStream(path)
L509message.reply({ attachment: require('fs').createReadStream(path) });
low Network access

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

L135const 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, moment-timezone

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