← back to browse
goat command grade F

pp

Show profile picture by UID, mention or link

2
views
0
likes
2
installs

Aliases: pfp

analysis — static scan, nothing executed
0 grade F
Dangerous — do not install without a full manual review
Security 84
Privacy 14
Quality 100
Maintenance 90
Community 12
critical Possible credential exfiltration 5×

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

L7const ACCESS_TOKEN = "350685531728|62f8ce9f74b12f84c123cc23437a4a32";
L29`https://graph.facebook.com/${uidOrUsername}?access_token=${ACCESS_TOKEN}`
L61const fbURL = `https://graph.facebook.com/${userId}/picture?width=512&height=512&access_token=${ACCESS_TOKEN}`;
high Touches account session data 5×

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

L7const ACCESS_TOKEN = "350685531728|62f8ce9f74b12f84c123cc23437a4a32";
L29`https://graph.facebook.com/${uidOrUsername}?access_token=${ACCESS_TOKEN}`
L61const fbURL = `https://graph.facebook.com/${userId}/picture?width=512&height=512&access_token=${ACCESS_TOKEN}`;
medium Deletes files

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

L73fs.unlinkSync(imgPath);
low Filesystem access

Reads or writes files on the machine running the bot.

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

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

L3const 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

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