← back to browse
goat command grade B

accountswitch

Switch between primary/secondary FB account

0
views
0
likes
0
installs

Aliases: switchaccount, swacc

analysis — static scan, nothing executed
0 grade B
Review recommended — some behaviour worth a look
Security 84
Privacy 100
Quality 86
Maintenance 90
Community 0
medium Can shut down the bot

Calls process.exit / process.kill / process.abort, so one command can stop the whole bot.

L60process.exit(2);
low Dynamic require

require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.

L12const twoIdModeHelper = require(process.cwd() + "/bot/login/twoIdMode.js");
capabilities — what this file can do, regardless of intent
Network Filesystem Shell Env vars Dynamic code Session data Installs packages Process control
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