{"score":100,"grade":"A","scannedAt":"2026-12-05T23:04:52.327Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@annseraf/mcp-mail","version":"1.3.0","license":"MIT","repository":"https://github.com/Annseraf/mcp-mail","firstPublished":"2026-11-02T22:19:53.801Z","lastPublished":"2026-11-21T21:13:03.495Z","versions":7,"maintainers":1,"files":115,"bytes":727938,"hosts":["chatgpt.com","claude.ai","claude.com","deb.nodesource.com","markusstoeger.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/platform/approvals.js","line":68,"snippet":"await rm(this.file(tenantId), { force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/platform/audit.js","line":42,"snippet":"await fs.rename(file, `${file}.1`);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/platform/audit.js","line":47,"snippet":"await fs.appendFile(file, JSON.stringify(e) + \"\\n\", { mode: 0o600 });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":52,"snippet":"const keyFile = () => arg(rest, \"--key-file\", process.env.SECRETS_KEY_FILE);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":62,"snippet":"const accounts = arg(rest, \"--accounts\", process.env.ACCOUNTS_FILE);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":97,"snippet":"const accounts = process.env.ACCOUNTS_FILE?.trim() || \"/root/.config/mail-mcp/accounts.json\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/doctor.js","line":24,"snippet":"const health = await fetch(`${base}/health`, { signal: AbortSignal.timeout(5000) });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/doctor.js","line":36,"snippet":"const res = await fetch(`${base}/mcp`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/imap-client.js","line":316,"snippet":"for await (const msg of client.fetch(range, {"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/update.js","line":7,"snippet":"import { spawnSync } from \"node:child_process\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/update.js","line":15,"snippet":"const r = spawnSync(UPDATER, args.length ? args : [\"--check\"], { stdio: \"inherit\" });"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Annseraf/mcp-mail","title":"mcp-mail","description":"Self-hosted IMAP/SMTP email for any MCP client, with per-client permissions and audit log.","websiteUrl":"https://annseraf.github.io/mcp-mail/","repository":"https://github.com/Annseraf/mcp-mail","version":"1.3.0"}}