{"score":90,"grade":"A","scannedAt":"2026-12-05T23:03:12.786Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"salamailer","version":"1.0.0","license":"MIT","firstPublished":"2026-07-27T08:46:18.689Z","lastPublished":"2026-07-27T08:46:19.007Z","versions":2,"maintainers":1,"files":5,"bytes":70671,"hosts":["salamailer.fi"]},"capabilities":{"network":true,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"cli/salamailer.mjs","line":32,"snippet":"const CONFIG_PATH = process.env.SALAMAILER_CONFIG || process.env.SALAEMAIL_CONFIG ||"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"cli/salamailer.mjs","line":44,"snippet":"writeFileSync(CONFIG_PATH, JSON.stringify(cfg, null, 2) + '\\n', { mode: 0o600 });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"cli/salamailer.mjs","line":52,"snippet":"const res = await fetch(cfg.origin + path, { method, headers, body: raw ? body : body ? JSON.stringify(body) : undefined });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"cli/salamailer.mjs","line":64,"snippet":"const res = await fetch(cfg.origin + path, { headers: { authorization: `Bearer ${cfg.apiKey}` } });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"cli/salamailer.mjs","line":308,"snippet":"writeFileSync(dest, await C.decryptBytes(key, bl.iv, ct));"},{"rule":"network","severity":"info","title":"Makes network requests","file":"cli/salamailer.mjs","line":351,"snippet":"const saltsRes = await fetch(`${origin}/api/auth/login-salts`, {"}],"vulns":[],"installScripts":[],"server":{"name":"fi.salamailer/salamailer","title":"Salamailer","description":"Send end-to-end encrypted email and files. Encryption happens on your machine, not our server.","websiteUrl":"https://salamailer.fi","version":"1.0.0"}}