docdex
Local-first documentation and code indexer with HTTP/MCP search, AST, and agent memory.
This report shows the evidence for docdex@0.2.98. 5 of 8 known versions are blocked or flagged. The newest version, 0.2.99, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe confirmed postinstall chain mutates a broad foreign AI-agent control surface and establishes persistence. This meets the block policy despite package-aligned loopback networking and release-download integrity checks.
Decision evidence
public snapshot- package.json runs lib/install.js on postinstall.
- lib/install.js unconditionally calls runPostInstallSetup after downloading/extracting a binary.
- lib/postinstall_setup.js writes Docdex MCP entries into Claude, Cursor, Windsurf, VS Code, Codex, and other client configs.
- lib/postinstall_setup.js registers and starts a persistent user daemon via launchd/systemd/schtasks.
- assets/agents.md contains mandatory directives that are installed to ~/.docdex/agents.md during postinstall.
- Installer downloads from the declared GitHub release path and verifies SHA-256 metadata.
- MCP URLs are loopback-only: 127.0.0.1:28491.
- update_check.js only contacts the npm registry during an interactive, enabled update check.
Source & flagged code
12 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
bin/docdex-mcp-stdio.jsView on unpkg · L3Findings
Affected versions and remediation
This report applies to docdex@0.2.98.
The versions list below shows the verdict for each recorded version.
- Avoid installing docdex@0.2.98. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.