← back to browse
goat command grade B

bank

Complete banking system with ATM cards, transfers, savings accounts

0
views
0
likes
0
installs

Aliases: atm, banking

analysis โ€” static scan, nothing executed
0 grade B
Review recommended โ€” some behaviour worth a look
Security 78
Privacy 100
Quality 94
Maintenance 90
Community 0
medium Deletes files 5×

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

L541}, () => fs.unlinkSync(receiptPath));
L602}, () => fs.unlinkSync(receiptPath));
L703}, () => fs.unlinkSync(receiptPath));
L756}, () => fs.unlinkSync(cardPath));
L803}, () => fs.unlinkSync(cardPath));
low Filesystem access

Reads or writes files on the machine running the bot.

L2const 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

+ BANK_NAME, width , canvas, fs-extra, moment-timezone

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