{"score":90,"grade":"A","scannedAt":"2026-12-05T23:25:26.293Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@cyanheads/norway-legislation-mcp-server","version":"0.3.0","license":"Apache-2.0","repository":"https://github.com/cyanheads/norway-legislation-mcp-server","firstPublished":"2026-12-02T07:53:57.343Z","lastPublished":"2026-12-03T07:54:21.779Z","versions":4,"maintainers":1,"files":4031,"bytes":54517985,"hosts":["agent-plugins.org","anthropic.com","api.com","api.elevenlabs.io","api.example.test","api.lovdata.no","api.openai.com","app.com","backend-service.com","base64.guru","blog.stevenlevithan.com","caseyjhand.com","cdn.example","data.norge.no","developers.cloudflare.com","docs.aws.amazon.com","fetch.spec.whatwg.org","getpino.io","hono.dev","html.spec.whatwg.org","img.shields.io","james.sumners.info","lovdata.no","mcp.inkeep.com","mimesniff.spec.whatwg.org","no-color.org","npm.im","opencollective.com","openid.net","openrouter.ai","opentelemetry.io","sqlite.org","standardschema.dev","telemetry.cyanheads.com","thekevinscott.com","twitter.com","unpkg.com","webpack.js.org","www.buymeacoffee.com","www.ecma-international.org"],"weeklyDownloads":760},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"node_modules/@modelcontextprotocol/server/dist/ajvProvider-DPYcD0gV.cjs","line":2594,"snippet":"const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get());"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"node_modules/@modelcontextprotocol/server/dist/ajvProvider-DyjnscPj.mjs","line":2594,"snippet":"const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get());"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"node_modules/real-require/src/index.js","line":4,"snippet":"const realImport = new Function('modulePath', 'return import(modulePath)')"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"node_modules/@cyanheads/mcp-ts-core/scripts/devcheck.ts","line":766,"snippet":"'**/.npmrc',"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/mirror/legislation-mirror.js","line":2,"snippet":"import { spawn } from 'node:child_process';"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/mirror/source.js","line":78,"snippet":"response = await fetch(new URL(route, upstream), {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/mirror/source.js","line":147,"snippet":"rmSync(path, { force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/mirror/source.js","line":218,"snippet":"await rm(path, { force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/mirror/source.js","line":228,"snippet":"await rm(path, { force: true });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/mirror/store.js","line":9,"snippet":"? process.env.LOCALAPPDATA || join(homedir(), 'AppData', 'Local')"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/mirror/store.js","line":10,"snippet":": process.env.XDG_CACHE_HOME || join(homedir(), '.cache');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/mirror/store.js","line":12,"snippet":"export const mirrorDirectory = resolve(process.env.NORLAW_MIRROR_DIR || join(defaultDirectory, name));"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"node_modules/@cyanheads/mcp-ts-core/dist/cli/init.js","line":8,"snippet":"import { execFileSync } from 'node:child_process';"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"node_modules/@cyanheads/mcp-ts-core/dist/cli/init.js","line":135,"snippet":"return execFileSync('git', ['config', '--get', key], {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"node_modules/@cyanheads/mcp-ts-core/dist/core/worker.js","line":164,"snippet":"async fetch(request, env, ctx) {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"node_modules/@cyanheads/mcp-ts-core/dist/core/worker.js","line":187,"snippet":"return await app.fetch(request, env, ctx);"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.cyanheads/norway-legislation-mcp-server","description":"Search and read Norwegian laws and regulations from Lovdata, resolve citations, trace amendments.","repository":"https://github.com/cyanheads/norway-legislation-mcp-server","version":"0.3.0"}}