← back to browse
goat command grade F

goatstore

GoatBot Store — Search, AutoUpdate, Install, Upload, AutoSync

30566
views
1
likes
24582
installs

Aliases: gs, cmdstore, commandstore

analysis — static scan, nothing executed
0 grade F
Dangerous — do not install without a full manual review
Security 10
Privacy 91
Quality 100
Maintenance 100
Community 100
critical Downloads data and runs dynamic code 4×

The file makes network requests AND executes dynamically built code. This pairing is how remote-controlled backdoors are written.

L487try { new Function(content); } catch (_) { continue; }
L614try { new Function(cmdData.rawCode); }
L671try { new Function(cmdData.rawCode); }
L864try { new Function(data); }
high Dynamic code execution 4×

Runs code that is built at runtime (eval, new Function, vm). This is the most common way malicious payloads are hidden in scripts.

L487try { new Function(content); } catch (_) { continue; }
L614try { new Function(cmdData.rawCode); }
L671try { new Function(cmdData.rawCode); }
L864try { new Function(data); }
low Environment variable access 2×

Reads process.env. Fine on its own; worth a look if the values are sent anywhere.

L9const DEBUG = /^(1|true|yes|on)$/i.test(String(process.env.GOATSTORE_DEBUG || "").trim());
L54const v = process.env.STORE_API_BASE;
low Dynamic require

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

L557const cmd = require(filePath);
low Filesystem access

Reads or writes files on the machine running the bot.

L1const fs = require("fs");
low Network access

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

L3const 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

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