← back to browse
mirai command grade F

welcome

No description

0
views
0
likes
0
installs
analysis β€” static scan, nothing executed
0 grade F
Dangerous β€” do not install without a full manual review
Security 84
Privacy 18
Quality 100
Maintenance 82
Community 0
critical Possible credential exfiltration 3×

The file reads session data or secrets and also talks to the network. Verify nothing sensitive is being sent out.

L92const ACCESS_TOKEN = "6628568379%7Cc1e620fa708a1d5696fb991c1bde5662";
L96const url = `https://graph.facebook.com/${userID}/picture?width=500&height=500&access_token=${ACCESS_TOKEN}`;
high Touches account session data 3×

References appState / cookies / access tokens. Stealing these is the classic way Messenger bot accounts get hijacked.

L92const ACCESS_TOKEN = "6628568379%7Cc1e620fa708a1d5696fb991c1bde5662";
L96const url = `https://graph.facebook.com/${userID}/picture?width=500&height=500&access_token=${ACCESS_TOKEN}`;
medium Deletes files

Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.

L86setTimeout(() => { try { fs.unlinkSync(welcomeImagePath); } catch (_) {} }, 5000);
low Filesystem access

Reads or writes files on the machine running the bot.

L4const fs = require("fs-extra");
low Network access

Makes HTTP/WebSocket requests. Check where the data goes.

L6const 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, canvas, 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…

View raw file · View analysis as JSON