codegraph

Skill · npm · ★ 9 · graded 2026-10-24Source linked

CLI, MCP and TS library that turns source code into a map of files, symbols, references, and dependencies using tree-sitter.

No outside reports on file

codegraph is distributed via npm (@lzehrung/codegraph); review its source code, dependencies, and requested permissions before use.

Based on public adoption and transparency signals as of Oct 24, 2026. Our opinion, not a code audit or security guarantee.

Was this verdict for Codegraph helpful?

What it can access

  • Local filesNo local folder access notedLOW
  • Command executionRuns shell or system commandsREVIEW
  • Network reachConnects to outside service APINOTED
  • CredentialsNo API token requiredLOW
  • Package sourcenpm (@lzehrung/codegraph)PUBLIC

Inferred from this listing’s public package details and description. Check the project’s source before installing.

Install

npx -y @lzehrung/codegraph

All setup options ↓

Everything known

We found nothing about this project in the sources we read (last checked 2026-10-30). That does not mean it has no problems.

0 incidents · 0 advisories · 0 news articles · 0 community threads · checked 2026-10-30

Popularity grade: C (from public signals such as stars and downloads, not a code review). Graded 2026-10-24.

Sources we read: OSV, GitHub Advisory Database, CISA Known Exploited Vulnerabilities, 44 security news feeds and our incident library. Last checked 2026-10-30.

Check a specific version →

About Codegraph

Codegraph is an agent skill focused on Developer tools and Files & documents: CLI, MCP and TS library that turns source code into a map of files, symbols, references, and dependencies using tree-sitter.

It is published on npm as @lzehrung/codegraph and hosted on GitHub at lzehrung/codegraph (9 GitHub stars, 352 weekly npm downloads). Based on its public metadata, it operates with standard local or API scope without broad shell execution flags noted.

Setup

Check these steps against the project’s own instructions before running anything.

Install the npm package @lzehrung/codegraph with post-install scripts disabled:

bash
npm install --ignore-scripts @lzehrung/codegraph

Review the upstream instructions at https://github.com/lzehrung/codegraph (opens external site) before enabling in your agent workspace.

Why this grade

CC — Moderate risk signals

Signal-based grade (2/7 points): listed in several sources, public source code. This reflects adoption and transparency, not a code review.

Popularity and upkeep

33/100
GitHub stars
9
Weekly npm downloads
352
Listing last refreshed
2026-10-30

These are public popularity signals, not a maintenance check. Look at the repository’s commit history and open issues.

Risks to watch for

  • Dependency & version pinning: Distributed via npm (@lzehrung/codegraph). Pin an exact release version or commit SHA rather than floating tags so upstream updates are reviewed first.

How to lower the risk

Least-privilege permissions

  • Give it access only to the specific folders, accounts or projects it needs, never your whole drive or admin account.
  • Use a separate, limited API key or login just for this tool so you can switch it off without affecting anything else.

Network isolation

  • Run it on a work computer or sandbox account, not one holding personal or company-sensitive data.
  • If your IT team can, limit which websites and services it is allowed to contact.

Monitoring

  • Check its activity history or logs weekly at first, and look at what it changed or sent.
  • Turn on alerts for new logins or unusual usage on any account it connects to.

Red flags to watch for

  • It asks for more access than its job requires, or prompts you to paste passwords.
  • It suddenly updates with new owners, or starts contacting unfamiliar websites.

Questions

How do I install Codegraph?

Install Codegraph with npm install @lzehrung/codegraph or run it directly with npx -y @lzehrung/codegraph. For agent integration and configuration flags, see the documentation at github.com/lzehrung/codegraph. Pin an exact version and pass --ignore-scripts if you want to block post-install hooks.

Are there security reports about Codegraph?

No reports found for this package in our research (last checked 2026-10-30). Codegraph currently holds Grade C (Moderate risk signals) based on public adoption and transparency signals. Key risk areas to watch include dependency & version pinning:.

Is Codegraph actively maintained?

Codegraph has 9 GitHub stars and 352 weekly npm downloads. Our directory data was last refreshed on 2026-10-30. Check recent commit activity, release tags, and open issues at github.com/lzehrung/codegraph before pinning it in production.

What are alternatives to Codegraph?

Compare Codegraph side by side with similar skills in the Related tools section on this page, or browse all skills on AgentArmorHQ.

README badge and team notes

Maintain or use Codegraph? Show its live grade in your GitHub README, docs site, or run a check from the terminal before you install.

AgentArmorHQ Risk Grade C for Codegraph

GitHub README Markdown:

markdown
[![AgentArmorHQ Risk Grade for Codegraph](https://agentarmorhq.com/api/badge/lzehrung-codegraph)](https://agentarmorhq.com/skills/lzehrung-codegraph)

HTML embed:

html
<a href="https://agentarmorhq.com/skills/lzehrung-codegraph"><img src="https://agentarmorhq.com/api/badge/lzehrung-codegraph" alt="AgentArmorHQ Risk Grade for Codegraph" height="20" /></a>

Terminal check:

terminal
curl -fsSL https://agentarmorhq.com/api/cli | node --input-type=module - check "lzehrung-codegraph"

Share with your security lead

Need sign-off to use codegraph? Copy this note for Slack, a ticket or a pull request.

### AgentArmorHQ Security Review Memo: codegraph
- **Listing URL:** https://agentarmorhq.com/skills/lzehrung-codegraph
- **Type:** AI agent skill
- **Risk Grade:** Grade C (Moderate risk signals)
- **Outside Security Advisories on File:** 0
- **Public Adoption:** 9 GitHub stars, 352 weekly npm downloads

#### Permission & Blast-Radius Signals
- **Local files:** No local folder access noted
- **Command execution:** Runs shell or system commands
- **Network reach:** Connects to outside service API
- **Credentials:** No API token required
- **Package source:** npm (@lzehrung/codegraph)

#### Recommended Hardened Setup
- **Command:** `npx -y --ignore-scripts @lzehrung/codegraph`
- **Controls:** Pin an exact version in `.mcp.json`, scope access to a single workspace folder, and use a least-privilege read-only token where supported.

_Based on public adoption and transparency signals as of Oct 24, 2026. Our opinion, not a code audit or security guarantee._

Key facts

Type
AI agent skill
Publisher
lzehrung
Source code
github.com/lzehrung/codegraph
Install command
npm install @lzehrung/codegraph
Est. context load
~57 tokens idle · ~450 tokens when active (on-demand skill)
Popularity
9 GitHub stars, 352 weekly npm downloads
Last updated
2026-10-30
Last graded
2026-10-24

Community

Discussions for Codegraph

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Was this listing for Codegraph helpful?

Check before you install, in Claude

Your assistant answers Block, Review or No known issues for any package before it installs it.

Get this check inside Claude