← back to browse
goat command grade A

uptime2

Live animated uptime dashboard GIF

1
views
0
likes
1
installs
analysis — static scan, nothing executed
0 grade A
Review recommended — some behaviour worth a look
Security 80
Privacy 100
Quality 100
Maintenance 100
Community 8
medium Deletes files

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

L56try { fs.unlinkSync(file); } catch (e) { }
low Dynamic require

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

L63function need(m) { return require(m); } // no literal require => installer wont try auto-install
low Filesystem access

Reads or writes files on the machine running the bot.

L3const os = require("os"), fs = require("fs"), path = require("path");
capabilities — what this file can do, regardless of intent
Network Filesystem Shell Env vars Dynamic code Session data Installs packages Process control
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