{"score":100,"grade":"A","scannedAt":"2026-12-05T23:05:26.111Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@betanyc/nyc-311-mcp","version":"1.4.0","license":"MIT","repository":"https://github.com/BetaNYC/nyc-311-mcp","firstPublished":"2026-06-22T03:39:52.176Z","lastPublished":"2026-11-19T15:15:20.996Z","versions":6,"maintainers":1,"files":90,"bytes":1581937,"hosts":["api-portal.nyc.gov","api.nyc.gov","apps.apple.com","betanyc.github.io","data.cityofnewyork.us","dev.socrata.com","intro.nyc","portal.311.nyc.gov","www.beta.nyc"]},"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":"dist/boardstat-data.js","line":50,"snippet":"…function defaultCacheDir(platform = process.platform, env = process.env, home = homedir()) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/boardstat-data.js","line":60,"snippet":"export function resolveDataUrl(env = process.env) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/boardstat-data.js","line":198,"snippet":"await writeFile(tmp, JSON.stringify(state));"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/boardstat-data.js","line":199,"snippet":"await rename(tmp, this.statePath);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/boardstat-data.js","line":316,"snippet":"await rm(path.join(root, name), { recursive: true, force: true });"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/content-311.js","line":74,"snippet":"…       this.fetchImpl = opts.fetch ?? ((...a) => globalThis.fetch(...a));"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/nyc-311.js","line":5,"snippet":"const key = process.env.NYC_311_API_KEY;"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/nyc-311.js","line":150,"snippet":"const res = await fetch(url, {"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.BetaNYC/nyc-311-mcp","title":"NYC 311","description":"NYC 311: how to report a problem, district numbers from BoardStat, the 311 calendar and alerts","websiteUrl":"https://betanyc.github.io/nyc-311-mcp/","repository":"https://github.com/BetaNYC/nyc-311-mcp","version":"1.4.0"}}