{"score":90,"grade":"A","scannedAt":"2026-12-05T22:57:11.156Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"srift-transfer","version":"4.4.0","license":"MIT","repository":"https://github.com/srivardhan113/SRIFT-Open_Source","firstPublished":"2026-09-08T09:48:03.202Z","lastPublished":"2026-10-17T13:50:32.397Z","versions":10,"maintainers":1,"files":5,"bytes":1094463,"hosts":["srift.app","w3id.org"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"bidi","severity":"medium","title":"Hidden text-direction characters outside a string, which can make code look different from what runs (Trojan Source)","file":"dist/daemon.js","line":1589,"snippet":"BIDI_CONTROLS = /[‎‏<U+202A>-<U+202E><U+2066>-<U+2069>؜]/g;"},{"rule":"bidi","severity":"medium","title":"Hidden text-direction characters outside a string, which can make code look different from what runs (Trojan Source)","file":"dist/index.js","line":1729,"snippet":"BIDI_CONTROLS = /[‎‏<U+202A>-<U+202E><U+2066>-<U+2069>؜]/g;"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/daemon.js","line":2439,"snippet":"title: \"Read Local State\","},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"dist/index.js","line":2478,"snippet":"title: \"Read Local State\","},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/daemon.js","line":25,"snippet":"const v = process.env[n];"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/daemon.js","line":294,"snippet":"return process.env.NODE_EXTRA_CA_CERTS ? { kind: \"tls-untrusted\", message: `TLS certificate not trusted${target} even with NODE_EXTRA_CA_CERTS=${process.env"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/daemon.js","line":372,"snippet":"import { spawn, spawnSync } from \"child_process\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/daemon.js","line":383,"snippet":"return (process.env.SRIFT_API_BASE || process.env.SRIFT_PUBLIC_BASE || process.env.NEXT_PUBLIC_API_URL || \"https://srift.app\").replace(/\\/+$/, \"\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/daemon.js","line":545,"snippet":"ws = new WebSocket(url, { agent: agentFor(url), handshakeTimeout: timeoutMs });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/daemon.js","line":632,"snippet":"fs.writeFileSync(probe, \"ok\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/daemon.js","line":633,"snippet":"fs.rmSync(probe, { force: true });"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/daemon.js","line":650,"snippet":"const r = spawnSync(\"curl\", [\"-sS\", \"-o\", os.devNull, \"-w\", \"%{http_code}\", \"--max-time\", \"5\", `${base}/compat.json`], { encoding: \"utf8\", timeout: 7e3, w"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/daemon.js","line":902,"snippet":"fs.writeFileSync(CACHE_FILE, JSON.stringify({ ...report, schema: CACHE_SCHEMA }), { mode: 384 });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/daemon.js","line":3172,"snippet":"else void fetch(url, { method: \"POST\", headers: { \"content-type\": \"application/json\" }, body: JSON.stringify(body), keepalive: true, credentials: \"o"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/daemon.js","line":3190,"snippet":"const r = await fetch(this.base + path8 + this.qs, {"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/index.js","line":478,"snippet":"import { spawn, spawnSync } from \"child_process\";"}],"vulns":[],"installScripts":[],"server":{"name":"app.srift/srift","title":"SRIFT","description":"Decentralized E2EE P2P file transfer + chat: human to human, human to AI, AI to AI. No accounts.","websiteUrl":"https://srift.app","repository":"https://github.com/srivardhan113/SRIFT-Open_Source","version":"4.4.0"}}