sing
Send a song as audio
2
views
0
likes
1
installs
analysis — static scan, nothing executed
0
grade B
Review recommended — some behaviour worth a look
Security
84
Privacy
92
Quality
100
Maintenance
90
Community
9
medium
Deletes files
Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.
L128
await fs.remove(audioFilePath).catch(() => {});
low
Filesystem access
Reads or writes files on the machine running the bot.
L2
const fs = require('fs-extra');
low
Environment variable access
Reads process.env. Fine on its own; worth a look if the values are sent anywhere.
L5
const API_BASE_URL = process.env.SING_API_BASE_URL || "https://noobdevs-apis.onrender.com";
low
Network access
Makes HTTP/WebSocket requests. Check where the data goes.
L1
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…