file
Browse/manage command files
31
views
1
likes
29
installs
Aliases: files, fm
analysis — static scan, nothing executed
0
grade B
Review recommended — some behaviour worth a look
Security
74
Privacy
96
Quality
100
Maintenance
90
Community
47
medium
Deletes files
4×
Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.
L71
fs.unlinkSync(fullPath);L76
fs.unlinkSync(fullPath);L328
if (target.isDir) fs.rmSync(full, { recursive: true, force: true });L329
else fs.unlinkSync(full);
low
Dynamic require
require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.
L69
cmd = require(fullPath);
low
Filesystem access
Reads or writes files on the machine running the bot.
L3
const fs = require("fs-extra");
low
Network access
Makes HTTP/WebSocket requests. Check where the data goes.
L5
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, 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…