fbcard
Make a Facebook card info
0
views
0
likes
0
installs
analysis — static scan, nothing executed
0
grade F
Dangerous — do not install without a full manual review
Security
82
Privacy
25
Quality
80
Maintenance
90
Community
0
critical
Possible credential exfiltration
The file reads session data or secrets and also talks to the network. Verify nothing sensitive is being sent out.
L47
let getAvatarOne = (await axios.get(`https://graph.facebook.com/${uid}/picture?height=1500&width=1500&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde5…
high
Touches account session data
References appState / cookies / access tokens. Stealing these is the classic way Messenger bot accounts get hijacked.
L47
let getAvatarOne = (await axios.get(`https://graph.facebook.com/${uid}/picture?height=1500&width=1500&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde5…
medium
Deletes files
2×
Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.
L104
fs.removeSync(pathAvata);L109
() => fs.unlinkSync(pathImg),
low
Network access
2×
Makes HTTP/WebSocket requests. Check where the data goes.
L32
const request = require('request');L34
const axios = require("axios");
low
Filesystem access
Reads or writes files on the machine running the bot.
L33
const fs = require("fs-extra");
low
Deprecated dependency
Uses package(s) that are no longer maintained: request.
L32
const request = require('request');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, jimp, request
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…