maintid
No description
0
views
0
likes
0
installs
analysis — static scan, nothing executed
0
grade B
Review recommended — some behaviour worth a look
Security
67
Privacy
100
Quality
86
Maintenance
82
Community
0
medium
Can shut down the bot
2×
Calls process.exit / process.kill / process.abort, so one command can stop the whole bot.
L77
setTimeout(() => process.exit(2), 2000);L94
setTimeout(() => process.exit(2), 2000);
medium
Deletes files
Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.
L41
fs.unlinkSync(pathFile);
low
Filesystem access
4×
Reads or writes files on the machine running the bot.
L2
const { writeFileSync } = require("fs-extra");L36
const fs = require("fs-extra");L70
const fs = require("fs-extra");L87
const fs = require("fs-extra");capabilities — what this file can do, regardless of intent
Network
Filesystem
Shell
Env vars
Dynamic code
Session data
Installs packages
Process control
dependencies
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…