{"score":90,"grade":"A","scannedAt":"2026-12-05T22:54:35.582Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@kaiva/postgres-mcp","version":"0.1.2","license":"MIT","repository":"https://github.com/ai-kaiva/postgres-mcp","firstPublished":"2026-10-19T13:51:59.532Z","lastPublished":"2026-12-04T17:56:26.195Z","versions":4,"maintainers":1,"weeklyDownloads":396,"files":13,"bytes":98309,"hosts":["kaiv.ai"]},"capabilities":{"network":false,"files":false,"shell":false,"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":"bin/kaiva-postgres-mcp.js","line":22,"snippet":"function plain(s) { return String(s).replace(/[\\u0000-\\u0008\\u000b-\\u001f\\u007f-\\u009f‎‏<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":"lib/db.js","line":107,"snippet":"+ `SET LOCAL statement_timeout = ${ms}; `"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/kaiva-postgres-mcp.js","line":66,"snippet":"if (!opts.url && process.env.DATABASE_URL) opts.url = process.env.DATABASE_URL;"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/kaiva-postgres-mcp.js","line":104,"snippet":"env: process.env,"}],"vulns":[],"installScripts":[],"server":{"name":"ai.kaiv/postgres","title":"Kaiva Postgres MCP","description":"Read-only PostgreSQL MCP server. Drop-in replacement for the archived server-postgres.","repository":"https://github.com/ai-kaiva/postgres-mcp","version":"0.1.2"}}