hbf
Puts a user
0
views
0
likes
0
installs
analysis — static scan, nothing executed
0
grade B
Review recommended — some behaviour worth a look
Security
84
Privacy
91
Quality
100
Maintenance
90
Community
0
medium
Deletes files
Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.
L162
if (fs.existsSync(cachePath)) fs.unlinkSync(cachePath);
low
Network access
2×
Makes HTTP/WebSocket requests. Check where the data goes.
L5
const axios = require("axios");L181
httpsAgent: new (require("https").Agent)({ rejectUnauthorized: false }),
low
Filesystem access
Reads or writes files on the machine running the bot.
L3
const fs = require("fs-extra");
low
Hard-coded IP address
Talks to a raw IP address instead of a named host — harder to audit and easy to redirect.
L183
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",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, sharp
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…