{"score":100,"grade":"A","scannedAt":"2026-12-05T23:02:16.576Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"nostr-bray","version":"1.27.7","license":"MIT","repository":"https://github.com/forgesworn/bray","firstPublished":"2026-03-24T22:12:18.913Z","lastPublished":"2026-04-07T21:39:39.250Z","versions":116,"maintainers":1,"files":194,"bytes":1929751,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/social/blossom.js","line":37,"snippet":"const response = await fetch(`${serverUrl}/upload`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/social/blossom.js","line":56,"snippet":"const response = await fetch(`${serverUrl}/list/${args.pubkeyHex}`, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/social/blossom.js","line":68,"snippet":"const response = await fetch(`${serverUrl}/${args.sha256}`, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/cli.js","line":273,"snippet":"const envDefault = process.env.NOSTR_BRAY_OUTPUT === 'json' ? 'json' : 'human';"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config.js","line":48,"snippet":"process.env.BRAY_CONFIG,"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/config.js","line":49,"snippet":"join(process.env.XDG_CONFIG_HOME ?? join(homedir(), '.config'), 'bray', 'config.json'),"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/zap/handlers.js","line":23,"snippet":"writeFileSync(walletsFile, JSON.stringify(data, null, 2) + '\\n', { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/social/scheduled.js","line":36,"snippet":"writeFileSync(filePath, JSON.stringify(payload, null, 2), { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/social/scheduled.js","line":79,"snippet":"unlinkSync(filePath);"}],"vulns":[],"installScripts":[],"server":{"name":"dev.forgesworn/bray","description":"Trust-aware Nostr for AI agents -- 235 tools covering social, DMs, zaps, trust, and identity","repository":"https://github.com/forgesworn/bray","version":"1.27.7"}}