← back to browse
goat command grade F

push

No description

1
views
0
likes
1
installs

Aliases: gitpush, commit

analysis — static scan, nothing executed
0 grade F
Dangerous — do not install without a full manual review
Security 96
Privacy 33
Quality 100
Maintenance 82
Community 8
critical Possible credential exfiltration

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

L199const token = (hardToken || process.env.GITHUB_TOKEN || "").trim();
medium Reads secrets from environment variables

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

L199const token = (hardToken || process.env.GITHUB_TOKEN || "").trim();
low Environment variable access 3×

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

L50const env = process.env;
L86const env = process.env;
L199const token = (hardToken || process.env.GITHUB_TOKEN || "").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