{"id":4158,"name":"chakrun","author":"MR_FARHAN","framework":"goat","overall":89,"grade":"B","level":"review","verdict":"Review recommended — some behaviour worth a look","scores":{"security":84,"privacy":93,"quality":100,"maintenance":82,"community":0},"counts":{"critical":0,"high":0,"medium":1,"low":2},"alerts":[{"id":"fs-destructive","severity":"medium","category":"security","title":"Deletes files","description":"Calls fs.rm / unlink / rmdir. Check what path it deletes and whether a user can influence it.","count":1,"locations":[{"line":124,"snippet":"fs.unlinkSync(imgPath);"}]},{"id":"env","severity":"low","category":"privacy","title":"Environment variable access","description":"Reads process.env. Fine on its own; worth a look if the values are sent anywhere.","count":5,"locations":[{"line":50,"snippet":"const isRender = process.env.RENDER || (process.env.HOME && process.env.HOME.includes(\"/opt/render\"));"},{"line":51,"snippet":"const isRailway = process.env.RAILWAY_ID || process.env.RAILWAY_ENVIRONMENT;"}]},{"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":4,"snippet":"const fs = require(\"fs\");"}]}],"capabilities":[{"id":"network","label":"Network","active":false},{"id":"filesystem","label":"Filesystem","active":true},{"id":"shell","label":"Shell","active":false},{"id":"env","label":"Env vars","active":true},{"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":["fs","os","path"],"external":["canvas"],"local":[]},"domains":["i.imgur.com"],"scannedAt":"2026-11-05T13:07:25.026Z"}