Skip to main content
Scans/pypi/code-graph-builder

code-graph-builder

pypi

Share

Summary

code-graph-builder v0.14.0 was classified as CRITICAL RISK with a risk score of 396. Sigil detected 34 findings across 108 files, covering phases including provenance, code patterns, network exfiltration, obfuscation, install hooks. Review the findings below before installing this package.

Package description: Code knowledge graph builder with MCP server for AI-assisted code navigation

CRITICAL RISK(396)

v0.14.0

28 March 2026, 09:06 UTC

by Sigil Bot

Risk Score

396

Findings

34

Files Scanned

108

Provenance

Findings by Phase

Phase Ordering

Phases are ordered by criticality, with the most dangerous at the top. Click any phase header to expand or collapse its findings. Critical phases are expanded by default.

install-npm-postinstall

CRITICAL

npm lifecycle script — runs automatically on install

code_graph_builder-0.14.0/package.json:10

  "scripts": {
    "postinstall": "(pip install -e \".[treesitter-full]\" 2>/dev/null || pip3 install -e \".[treesitter-full]\" 2>/dev/null || python3 -m pip install -e \".[treesitter-full]\" 2>/dev/null || echo 'WARNING: pip not found. Install Python package manually: pip install -e .[treesitter-full]') && node ./npm-package/bin/cli.mjs",
    "server": "node ./npm-package/bin/cli.mjs --server",
Why was this flagged?

npm lifecycle scripts like postinstall run automatically during package installation with no user interaction required. This is the #1 attack vector for malicious npm packages — attackers embed data theft or backdoor installation in these hooks. Rated CRITICAL because code executes before the developer can review it.

Badge

Sigil scan badge for pypi/code-graph-builder

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/pypi/code-graph-builder)](https://sigilsec.ai/scans/40E20244-B3A8-4604-B35B-906C19B797D4)

HTML

<a href="https://sigilsec.ai/scans/40E20244-B3A8-4604-B35B-906C19B797D4"><img src="https://sigilsec.ai/badge/pypi/code-graph-builder" alt="Sigil Scan"></a>

Run This Scan Yourself

Scan your own packages

Run Sigil locally to audit any package before it touches your codebase.

curl -sSL https://sigilsec.ai/install.sh | sh
Read the docs →Free. Apache 2.0.

Early Access

Get cloud scanning, threat intel, and CI/CD integration.

Join 150+ developers on the waitlist.

Get threat intelligence and product updates

Security research, new threat signatures, and product updates. No spam.

Other pypi scans

Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.

Scanned bySigil Bot