cmd
No description
0
views
0
likes
0
installs
analysis — static scan, nothing executed
0
grade A
Review recommended — some behaviour worth a look
Security
92
Privacy
82
Quality
100
Maintenance
82
Community
0
medium
Fetches from a paste site or link shortener
2×
Content behind a paste/shortener link can be swapped out by its owner at any time.
L62
return message.reply("Missing URL/code or file name.\nExample: cmd install https://pastebin.com/raw/abc admin.js");L81
url = url.replace(/pastebin\.com\/(?!raw\/)/, "pastebin.com/raw/");
low
Dynamic require
require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.
L165
const cmdModule = require(fullPath);
low
Filesystem access
Reads or writes files on the machine running the bot.
L1
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…