MCP server safety grade
io.github.cyanheads/norway-legislation-mcp-server
Search and read Norwegian laws and regulations from Lovdata, resolve citations, trace amendments.
npx -y @cyanheads/norway-legislation-mcp-server · npm @cyanheads/norway-legislation-mcp-server 0.3.0 · score 90/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
node_modules/@modelcontextprotocol/server/dist/ajvProvider-DPYcD0gV.cjs:2594const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get()); - Builds and runs code at runtime
node_modules/@modelcontextprotocol/server/dist/ajvProvider-DyjnscPj.mjs:2594const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get()); - Builds and runs code at runtime
node_modules/real-require/src/index.js:4const realImport = new Function('modulePath', 'return import(modulePath)')
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
node_modules/@cyanheads/mcp-ts-core/scripts/devcheck.ts:766'**/.npmrc',
Package facts
| Weekly downloads | 760 |
|---|---|
| First published | 2026-12-02 |
| This version published | 2026-12-03 |
| Versions | 4 |
| Maintainers | 1 |
| Licence | Apache-2.0 |
| Source repository | github.com/cyanheads/norway-legislation-mcp-server |
| Runs scripts on install | No |
| Files in package | 4,031 (53,240 KB) |
| Web addresses in code | 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 |
Where we saw each capability (12 examples)
- Runs shell commands or other programs
dist/mirror/legislation-mirror.js:2import { spawn } from 'node:child_process'; - Makes network requests
dist/mirror/source.js:78response = await fetch(new URL(route, upstream), { - Writes, moves or deletes files
dist/mirror/source.js:147rmSync(path, { force: true }); - Writes, moves or deletes files
dist/mirror/source.js:218await rm(path, { force: true }); - Writes, moves or deletes files
dist/mirror/source.js:228await rm(path, { force: true }); - Reads environment variables (where API keys usually live)
dist/mirror/store.js:9? process.env.LOCALAPPDATA || join(homedir(), 'AppData', 'Local')
- Reads environment variables (where API keys usually live)
dist/mirror/store.js:10: process.env.XDG_CACHE_HOME || join(homedir(), '.cache');
- Reads environment variables (where API keys usually live)
dist/mirror/store.js:12export const mirrorDirectory = resolve(process.env.NORLAW_MIRROR_DIR || join(defaultDirectory, name));
- Runs shell commands or other programs
node_modules/@cyanheads/mcp-ts-core/dist/cli/init.js:8import { execFileSync } from 'node:child_process'; - Runs shell commands or other programs
node_modules/@cyanheads/mcp-ts-core/dist/cli/init.js:135return execFileSync('git', ['config', '--get', key], { - Makes network requests
node_modules/@cyanheads/mcp-ts-core/dist/core/worker.js:164async fetch(request, env, ctx) { - Makes network requests
node_modules/@cyanheads/mcp-ts-core/dist/core/worker.js:187return await app.fetch(request, env, ctx);
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-cyanheads-norway-legislation-mcp-server)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).