cmd
No description
0
views
0
likes
0
installs
analysis โ static scan, nothing executed
0
grade C
Risky โ serious capabilities found, review before installing
Security
50
Privacy
79
Quality
100
Maintenance
92
Community
0
high
Shell access
2×
Spawns operating-system processes through child_process. A command running shell code can read or change anything the bot's account can.
L4
const { execSync } = require("child_process");L329
execSync(`npm install ${packageName} --save`, { stdio: "pipe" });
medium
Installs packages at runtime
Runs npm/yarn/pip install while the bot is running. Whatever gets installed is not reviewed here.
L329
execSync(`npm install ${packageName} --save`, { stdio: "pipe" });
medium
Fetches from a paste site or link shortener
Content behind a paste/shortener link can be swapped out by its owner at any time.
L191
url = url.replace(regex, "https://pastebin.com/raw/$1");
low
Dynamic require
4×
require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.
L278
const regExpCheckPackage = /require(\s+|)\((\s+|)[`'"]([^`'"]+)[`'"](\s+|)\)/g;L343
const oldCommand = require(pathCommand);L365
const command = require(pathCommand);L494
const command = require(pathCommand);
low
Environment variable access
2×
Reads process.env. Fine on its own; worth a look if the values are sent anywhere.
L128
(process.env.NODE_ENV == "development" ? true : !file.match(/(dev)\.js$/g)) &&L294
if (process.env.NODE_ENV == "development") {
low
Filesystem access
Reads or writes files on the machine running the bot.
L5
const fs = require("fs-extra");
low
Network access
Makes HTTP/WebSocket requests. Check where the data goes.
L3
const 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, cheerio, 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โฆ