{"score":100,"grade":"A","scannedAt":"2026-12-05T23:01:09.799Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@rottenamerica/petitions-mcp","version":"0.4.0","license":"MIT","repository":"https://github.com/rottenamerica/Rotten-America","firstPublished":"2026-11-07T19:47:21.740Z","lastPublished":"2026-11-08T04:16:41.115Z","versions":4,"maintainers":1,"files":6,"bytes":52197,"hosts":["api.rottenamerica.com","racivictap.com","rottenamerica.com","www.google-analytics.com"]},"capabilities":{"network":true,"files":false,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/analytics.js","line":18,"snippet":"const MID = process.env.GA_MEASUREMENT_ID || \"\";"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/analytics.js","line":19,"snippet":"const SECRET = process.env.GA_API_SECRET || \"\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/analytics.js","line":46,"snippet":"fetch(`https://www.google-analytics.com/mp/collect?measurement_id=${MID}&api_secret=${SECRET}`, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/index.js","line":37,"snippet":"const BASE = process.env.RA_API_BASE || \"https://api.rottenamerica.com\";"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/index.js","line":137,"snippet":"const r = await fetch(BASE.replace(/\\/$/, \"\") + \"/v1/ai/me\", { headers: { Authorization: `Bearer ${key}`, Accept: \"application/json\" } });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/tools.js","line":27,"snippet":"res = await fetch(base.replace(/\\/$/, \"\") + path, {"}],"vulns":[],"installScripts":[],"server":{"name":"com.rottenamerica/petitions","title":"Rotten America Petitions","description":"Find, draft and start verified petitions from a chat; follow signatures and post updates.","websiteUrl":"https://rottenamerica.com","repository":"https://github.com/rottenamerica/Rotten-America","version":"0.4.0"}}