Files
codebase-memory-mcp/pkg/pypi
Martin Vogel c1eb3dd2d1 Comprehensive security hardening across all installers
install.sh:
- Wrap entire body in main() to prevent partial execution from curl|bash
  (interrupted download would execute truncated script)

install.ps1:
- Enforce TLS 1.2+ (older PowerShell defaults to TLS 1.0)

PyPI (_cli.py):
- Add SHA256 checksum verification against checksums.txt (was the only
  installer without checksums)

npm (install.js):
- Add SHA256 checksum verification against checksums.txt
- Validate HTTPS on every redirect hop (max 5 redirects)
- Replace execSync string interpolation with execFileSync array args
  (eliminates shell injection vector in tar/PowerShell calls)
- Add path traversal check on extracted binary

npm (bin.js):
- Auto-download binary if missing (handles --ignore-scripts / pnpm)

Go wrapper (main.go):
- Custom HTTP client with CheckRedirect that rejects non-HTTPS redirects
  (Go's default http.Get follows redirects without scheme validation)
- Fix variable name bug in error message (url → rawURL)
2026-04-14 21:00:42 +02:00
..

codebase-memory-mcp

Fast code intelligence engine for AI coding agents. Indexes an average repository in milliseconds, the Linux kernel (28M LOC) in 3 minutes. Answers structural queries in under 1ms.

This package installs the codebase-memory-mcp binary from GitHub Releases. The binary is downloaded on first run and cached in your OS cache directory.

Installation

pip install codebase-memory-mcp
# or
pipx install codebase-memory-mcp

Usage

codebase-memory-mcp install   # configure your coding agents
codebase-memory-mcp --help

Supported platforms

OS Architecture
macOS arm64, amd64
Linux arm64, amd64
Windows amd64

Full documentation

See github.com/DeusData/codebase-memory-mcp