{"score":100,"grade":"A","scannedAt":"2026-12-05T23:02:52.169Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@wirecat/tg-cli","version":"0.144.7","license":"Apache-2.0","repository":"https://github.com/WireCatLabs/tg-cli","firstPublished":"2026-10-09T22:59:34.019Z","lastPublished":"2026-12-05T03:58:39.726Z","versions":118,"maintainers":1,"files":109,"bytes":4026896,"hosts":["api.telegram.org","core.telegram.org","my.telegram.org","t.me","telegram.org"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/commands/account-removal.js","line":48,"snippet":"rmSync(`${sessionPath}${suffix}`, { force: true });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/commands/bot.js","line":34,"snippet":"const env = environment.env ?? process.env;"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/browser.js","line":1,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/bundle/chunk-47BSOCW4.js","line":119,"snippet":"const level = Number.parseInt(process.env.MTCUTE_LOG_LEVEL ?? \"\", 10);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/bundle/chunk-5YIBGYUJ.js","line":43,"snippet":"var pathsFor = /* @__PURE__ */ __name((env = process.env) => resolvePaths({ appName: TG.appName, prefix: TG.envPrefix, env }), \"pathsFor\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/bundle/chunk-5YIBGYUJ.js","line":185,"snippet":"rmSync(`${sessionPath}${suffix}`, { force: true });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/bundle/chunk-5YIBGYUJ.js","line":695,"snippet":"…portFrom(new URL(\"../bot/proxy.js\", import.meta.url).href, \"undici\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/bundle/chunk-5YIBGYUJ.js","line":713,"snippet":"const [undici, agent] = await Promise.all([importFrom(new URL(\"../bot/proxy.js\", import.meta.url).href, \"undici\"), dispatcher]);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/bundle/chunk-5YIBGYUJ.js","line":714,"snippet":"…y = init.body instanceof FormData ? copyForm(init.body, new undici.FormData()) : init.body;"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/bundle/program-PF4YA5ZQ.js","line":236,"snippet":"import { spawn } from \"node:child_process\";"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/bundle/program-PF4YA5ZQ.js","line":690,"snippet":"rmSync(`${context.sessionPath}${suffix}`, { force: true });"}],"vulns":[],"installScripts":[],"server":{"name":"dev.wirecat/tg-cli","title":"WireCat Telegram","description":"Your Telegram account for agents: read, search and send messages. Sign in with the tg CLI first.","websiteUrl":"https://wirecat.dev/en/docs/tg","repository":"https://github.com/WireCatLabs/tg-cli","version":"0.144.7"}}