{"score":100,"grade":"A","scannedAt":"2026-12-05T23:00:50.832Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@prereason/mcp","version":"0.9.1","license":"MIT","repository":"https://github.com/PreReason/mcp","firstPublished":"2026-02-20T23:21:21.795Z","lastPublished":"2026-10-18T09:01:30.082Z","versions":32,"maintainers":1,"files":13,"bytes":125546,"hosts":["api.prereason.com","www.prereason.com"]},"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":"bin/cli.js","line":86,"snippet":"const url = new URL(args.url || process.env.PREREASON_URL || DEFAULT_URL);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/cli.js","line":87,"snippet":"const credentialsFile = credentialsPath({ env: process.env, flag: args.credentialsFile });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"bin/cli.js","line":101,"snippet":"const clientApp = /^[a-z0-9-]{1,32}$/.test(process.env.PREREASON_CLIENT || '') ? process.env.PREREASON_CLIENT : null;"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"lib/credentials.js","line":119,"snippet":"writeFileSync(tmp, body + '\\n', { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"lib/credentials.js","line":121,"snippet":"renameSync(tmp, path);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"lib/credentials.js","line":127,"snippet":"unlinkSync(path);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"lib/streamable-http.js","line":130,"snippet":"const response = await this.#fetch(this.#url, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"lib/streamable-http.js","line":315,"snippet":"const response = await this.#fetch(this.#url, {"}],"vulns":[],"installScripts":[],"server":{"name":"com.prereason/mcp","title":"PreReason","description":"Financial market context for AI agents, with listed companies' results: www.prereason.com/agents.md","websiteUrl":"https://www.prereason.com","repository":"https://github.com/PreReason/mcp","version":"0.9.1"}}