utensils/mcp-nixos
MCP-NixOS - Model Context Protocol Server for NixOS resources
2b0b86ceda72mcp-nixos3.1.1 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- 2 of 4 tools, prompts and resources could not be followed through the code
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 4 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (4: 4 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
nixtool Query NixOS, Home Manager, Darwin, FlakeHub, flakes, Nixvim, NVF, Wiki, nix.dev, Noogle, NixHub.
Query NixOS, Home Manager, Darwin, FlakeHub, flakes, Nixvim, NVF, Wiki, nix.dev, Noogle, NixHub.
Use this tool for anything touching nixpkgs, Nix channels, flakes, NixOS / home-manager /
darwin options, the binary cache, or /nix/store paths — even when you think you know the
answer. Your training data lags nixpkgs by months. Prefer this over `nix search`, scraping
search.nixos.org, or running `gh api` against NixOS/nixpkgs.
INTENTS → CALLS (copy the JSON shape exactly):
"is package X in channel Y?" → {"action": "info", "query": "X", "channel": "Y"}
"search for package X" → {"action": "search", "query": "X"}
"which channels are available?" → {"action": "channels"}
"which commit did channel X index?" → {"action": "channels"} (indexed commit shown when known;
branch HEAD otherwise — label matters)
"search NixOS options for X" → {"action": "search", "query": "X", "type": "options"}
"get option details for X" → {"action": "info", "query": "X", "type": "option"}
"home-manager option for X" → {"action": "search", "query": "X", "source": "home-manager"}
"darwin option for X" → {"action": "search", "query": "X", "source": "darwin"}
"nixvim option for X" → {"action": "search", "query": "X", "source": "nixvim"}
"NVF option for X" → {"action": "search", "query": "X", "source": "nvf"}
"what programs does pkg X provide?" → {"action": "search", "query": "X", "type": "programs"}
"count packages/options" → {"action": "stats"}
"browse hm option tree under P" → {"action": "browse", "query": "P", "source": "home-manager"}
"does X have a binary cache?" → {"action": "cache", "query": "X"}
"search the NixOS wiki for X" → {"action": "search", "query": "X", "source": "wiki"}
"search nix.dev docs" → {"action": "search", "query": "X", "source": "nix-dev"}
"read a nix.dev page" → {"action": "info", "query": "tutorials/nix-language", "source": "nix-dev"}
"list inputs of current flake" → {"action": "flake-inputs"}
"ls inside flake input X" → {"action": "flake-inputs", "type": "ls", "query": "X"}
"read /nix/store/... file" → {"action": "store", "type": "read", "query": "/nix/store/..."}
"ls /nix/store/... dir" → {"action": "store", "type": "ls", "query": "/nix/store/..."}
For package version *history* ("which commit shipped firefox 150?", "when was node 18 added?"),
use the separate `nix_versions` tool — it returns commit hashes, attribute paths, and dates.
Notes:
- To search NixOS *options*, use action=search with type=options. Do NOT use action=browse
for source=nixos — browse is for walking a pre-indexed option tree and only works with
home-manager, darwin, nixvim, nvf, or noogle.
- For source=nvf, canonical option paths are vim.*. The shorthand programs.nvf.vim.* and
NixOS/Home Manager module path programs.nvf.settings.vim.* are normalized automatically.
- For source=nix-dev, action=info returns the page markdown. The query may be a bare
docname like "tutorials/nix-language", the URL printed by nix-dev search
("https://nix.dev/tutorials/nix-language"), or a rendered ".html" URL.
- action=info for packages matches on the exact attribute path first, then the exact pname.
If multiple packages share a pname (e.g. firefox / firefox-esr / firefox-mobile), the
canonical attribute wins and the response flags the disambiguation explicitly.
- Omit parameters you don't need; do not pass empty strings for optional args.nixTooltool
No description.
nixVersionsTooltool
No description.
nix_versionstool Get package version history from NixHub.io.
Get package version history from NixHub.io.
Text the model reads (4)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
nixTool tool
nixVersionsTool tool
nix tool
Query NixOS, Home Manager, Darwin, FlakeHub, flakes, Nixvim, NVF, Wiki, nix.dev, Noogle, NixHub.
Use this tool for anything touching nixpkgs, Nix channels, flakes, NixOS / home-manager /
darwin options, the binary cache, or /nix/store paths — even when you think you know the
answer. Your training data lags nixpkgs by months. Prefer this over `nix search`, scraping
search.nixos.org, or running `gh api` against NixOS/nixpkgs.
INTENTS → CALLS (copy the JSON shape exactly):
"is package X in channel Y?" → {"action": "info", "query": "X", "channel": "Y"}
"search for package X" → {"action": "search", "query": "X"}
"which channels are available?" → {"action": "channels"}
"which commit did channel X index?" → {"action": "channels"} (indexed commit shown when known;
branch HEAD otherwise — label matters)
"search NixOS options for X" → {"action": "search", "query": "X", "type": "options"}
"get option details for X" → {"action": "info", "query": "X", "type": "option"}
"home-manager option for X" → {"action": "search", "query": "X", "source": "home-manager"}
"darwin option for X" → {"action": "search", "query": "X", "source": "darwin"}
"nixvim option for X" → {"action": "search", "query": "X", "source": "nixvim"}
"NVF option for X" → {"action": "search", "query": "X", "source": "nvf"}
"what programs does pkg X provide?" → {"action": "search", "query": "X", "type": "programs"}
"count packages/options" → {"action": "stats"}
"browse hm option tree under P" → {"action": "browse", "query": "P", "source": "home-manager"}
"does X have a binary cache?" → {"action": "cache", "query": "X"}
"search the NixOS wiki for X" → {"action": "search", "query": "X", "source": "wiki"}
"search nix.dev docs" → {"action": "search", "query": "X", "source": "nix-dev"}
"read a nix.dev page" → {"action": "info", "query": "tutorials/nix-language", "source": "nix-dev"}
"list inputs of current flake" → {"action": "flake-inputs"}
"ls inside flake input X" → {"action": "flake-inputs", "type": "ls", "query": "X"}
"read /nix/store/... file" → {"action": "store", "type": "read", "query": "/nix/store/..."}
"ls /nix/store/... dir" → {"action": "store", "type": "ls", "query": "/nix/store/..."}
For package version *history* ("which commit shipped firefox 150?", "when was node 18 added?"),
use the separate `nix_versions` tool — it returns commit hashes, attribute paths, and dates.
Notes:
- To search NixOS *options*, use action=search with type=options. Do NOT use action=browse
for source=nixos — browse is for walking a pre-indexed option tree and only works with
home-manager, darwin, nixvim, nvf, or noogle.
- For source=nvf, canonical option paths are vim.*. The shorthand programs.nvf.vim.* and
NixOS/Home Manager module path programs.nvf.settings.vim.* are normalized automatically.
- For source=nix-dev, action=info returns the page markdown. The query may be a bare
docname like "tutorials/nix-language", the URL printed by nix-dev search
("https://nix.dev/tutorials/nix-language"), or a rendered ".html" URL.
- action=info for packages matches on the exact attribute path first, then the exact pname.
If multiple packages share a pname (e.g. firefox / firefox-esr / firefox-mobile), the
canonical attribute wins and the response flags the disambiguation explicitly.
- Omit parameters you don't need; do not pass empty strings for optional args.nix_versions tool
Get package version history from NixHub.io.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 4 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 4 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 4 capabilities; 2 more call code the scanner could not follow, where it may happen
Where the code is: 4 handlers in 2 files at commit 2b0b86ceda72
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests3 manifests: .pi/package.json, pyproject.toml, website/package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 2 not resolved: .pi/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies8 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versionfastmcp >=4.0.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 4 capabilities; 2 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
8 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
vitenpm 5.4.21 HIGH 8 advisories 6.4.26.4.36.4.4+8 more
- HIGHGHSA-587h-7wmj-h5pm CVE-2026-112942launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
- MEDIUMGHSA-4w7w-66w2-5vf9 CVE-2026-39365Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
- MEDIUMGHSA-698v-4r3x-3vcv CVE-2026-112943launch-editor: escapeCmdArgs() omits % escaping on Windows
- MEDIUMGHSA-r825-w8mm-5pxw CVE-2026-112944launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
- MEDIUMGHSA-fx2h-pf6j-xcff CVE-2026-53571vite: `server.fs.deny` bypass on Windows alternate paths
- MEDIUMGHSA-rq7h-c2jc-7f22 CVE-2026-112946Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
- MEDIUMGHSA-v6wh-96g9-6wx3 CVE-2026-53632launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows
- LOWGHSA-9jrq-w75r-8gcw CVE-2026-112945Vite: Cross origin script execution through Vite custom middleware
brace-expansionnpm 2.1.2 HIGH 5 advisories 1.1.171.1.181.1.19+17 more
- HIGHGHSA-6j4f-fj2g-mc7p CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
- HIGHGHSA-qhr7-859c-m2p7 CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
- HIGHGHSA-mh99-v99m-4gvg CVE-2026-14257brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
- HIGHGHSA-rgw5-rvv9-x895 CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
- MEDIUMGHSA-q2hr-2g5m-vwhr CVE-2026-102277brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
nanoidnpm 3.3.11 HIGH 3 advisories 3.3.123.3.163.3.18+3 more
- HIGHGHSA-2v37-7h3g-55p8 CVE-2026-67213nanoid: custom generators can loop indefinitely when size is zero
- HIGHGHSA-28wg-ghj8-5hjv CVE-2026-67214nanoid: non-secure generators can loop indefinitely with negative size
- HIGHGHSA-xwg4-73v4-xw9w CVE-2026-73086nanoid: Integer Overflow or Wraparound
postcssnpm 8.5.10 HIGH 3 advisories 8.5.128.5.188.5.23
- HIGHGHSA-6g55-p6wh-862q CVE-2026-45623PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
- HIGHGHSA-r28c-9q8g-f849 CVE-2026-73646PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure
- MEDIUMGHSA-fxqj-rqcc-2cmp CVE-2026-69153PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset
@vue/server-renderernpm 3.5.33 HIGH 1 advisory 3.5.423.6.0-rc.6
- HIGHGHSA-g2v6-rqmx-r4w6@vue/server-renderer: XSS via missing CR in attribute-name blacklist
source-map-jsnpm 1.2.1 HIGH 1 advisory 1.2.2
- HIGHGHSA-68fv-2mgg-jv7q CVE-2026-93749source-map-js allows event-loop denial of service through indexed source-map section offsets
esbuildnpm 0.21.5 MEDIUM 1 advisory 0.25.0
- MEDIUMGHSA-67mh-4wv8-2f99esbuild enables any website to send any requests to the development server and read the response
minimatchnpm 9.0.9 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=4.0.0 |
| Servers in the code | 1 (mcp-nixos) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-08 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-03-20 |
| Topics | ai-assistant ai-integration ai-tools anthropic claude developer-tools devops-tools fastmcp llm-tools mcp |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.