← back to browse
goat command grade F

push

No description

3
views
0
likes
3
installs
analysis โ€” static scan, nothing executed
0 grade F
Dangerous โ€” do not install without a full manual review
Security 96
Privacy 30
Quality 100
Maintenance 82
Community 16
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.

L16const TOKEN = (process.env.GITHUB_TOKEN || process.env.GH_TOKEN || global.GoatBot?.config?.githubToken || "").toString().trim();
medium Reads secrets from environment variables 2×

Accesses process.env values that look like tokens, passwords, API keys or database URLs.

L16const TOKEN = (process.env.GITHUB_TOKEN || process.env.GH_TOKEN || global.GoatBot?.config?.githubToken || "").toString().trim();
low Environment variable access 2×

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

L16const TOKEN = (process.env.GITHUB_TOKEN || process.env.GH_TOKEN || global.GoatBot?.config?.githubToken || "").toString().trim();
low Filesystem access

Reads or writes files on the machine running the bot.

L4const fs = require("fs-extra");
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, 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