{"id":272,"name":"cmd","author":"Rx Abdullah (fixed for auto-loader)","framework":"goat","overall":91,"grade":"A","level":"review","verdict":"Review recommended — some behaviour worth a look","scores":{"security":92,"privacy":82,"quality":100,"maintenance":82,"community":0},"counts":{"critical":0,"high":0,"medium":1,"low":3},"alerts":[{"id":"paste-host","severity":"medium","category":"privacy","title":"Fetches from a paste site or link shortener","description":"Content behind a paste/shortener link can be swapped out by its owner at any time.","count":2,"locations":[{"line":62,"snippet":"return message.reply(\"Missing URL/code or file name.\\nExample: cmd install https://pastebin.com/raw/abc admin.js\");"},{"line":81,"snippet":"url = url.replace(/pastebin\\.com\\/(?!raw\\/)/, \"pastebin.com/raw/\");"}]},{"id":"dynamic-require","severity":"low","category":"security","title":"Dynamic require","description":"require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.","count":1,"locations":[{"line":165,"snippet":"const cmdModule = require(fullPath);"}]},{"id":"fs-access","severity":"low","category":"security","title":"Filesystem access","description":"Reads or writes files on the machine running the bot.","count":1,"locations":[{"line":1,"snippet":"const fs = require(\"fs-extra\");"}]},{"id":"network","severity":"low","category":"privacy","title":"Network access","description":"Makes HTTP/WebSocket requests. Check where the data goes.","count":1,"locations":[{"line":3,"snippet":"const axios = require(\"axios\");"}]}],"capabilities":[{"id":"network","label":"Network","active":true},{"id":"filesystem","label":"Filesystem","active":true},{"id":"shell","label":"Shell","active":false},{"id":"env","label":"Env vars","active":false},{"id":"eval","label":"Dynamic code","active":false},{"id":"credentials","label":"Session data","active":false},{"id":"install","label":"Installs packages","active":false},{"id":"process","label":"Process control","active":false}],"checks":[{"label":"Exports a command/module","ok":true},{"label":"Handles errors (try/catch or .catch)","ok":true},{"label":"Readable, not minified","ok":true},{"label":"Has explanatory comments","ok":true},{"label":"No deprecated dependencies","ok":true},{"label":"Reasonable size (< 200 KB)","ok":true}],"dependencies":{"builtin":["path"],"external":["axios","cheerio","fs-extra"],"local":[]},"domains":["pastebin.com"],"scannedAt":"2026-11-05T14:12:35.470Z"}