Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

codemind-sh

Latest version: v0.3.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: onixsolutions
1 Stars
0 Forks
2 Versions
21 Downloads
Python Repo language

Scan summary

codemind-sh was last scanned on 29 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.3.0.
  • Downloads: 21 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.0 LATEST 29 Nov 2026 No rules fired
0.2.1 29 Nov 2026 No rules fired

No rules fired in 0.3.0

Findings

Findings for v0.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

CodeMind

CI PyPI License: MIT

Your codebase finally knows what connects to what — and it never leaves your machine.

CodeMind is a local-first knowledge graph for software projects. It lives inside your project as .codemind/ (like .git/) and builds a precise, always-current graph of every component and every typed connection. When you use AI coding tools (Claude Code, Cursor, Copilot), CodeMind exposes 11 structural MCP tools — so the AI answers "what calls X?", "what breaks if I change Y?", and "which Angular service calls /api/offers?" with facts from the graph, not guesses.

Why?

Every AI coding tool has amnesia. Claude Code, Cursor, Copilot — they read your files, help you code, and forget everything the moment the session ends. You waste 10–30 minutes per session re-explaining your architecture.

CodeMind fixes this — and goes further: it maps every component and connection so the AI understands your project structurally, not just textually.

Claude Code plugin (easiest)

In Claude Code:

/plugin marketplace add onixsolutions/codemind-community
/plugin install codemind@onixsolutions

On Claude Code 2.1.275 or later, one step does both:

/plugin install codemind --marketplace onixsolutions/codemind-community

Open any project and ask a structural question — "what breaks if I change DeptService?", "which component calls /api/offers?". There is no init or scan to run: the project is indexed in the background the first time, and the graph stays current as you save files. The plugin also adds /codemind:impact, /codemind:trace, /codemind:scan and /codemind:status.

The plugin needs CodeMind itself to be runnable. It uses, in order: a codemind command on your PATH (pip install -U codemind-sh, Python 3.11+), or uv (no Python needed — it fetches everything on first start), or pipx. Standalone binaries with no prerequisites are on the way.

Quick Start (CLI, any AI tool)

pip install codemind-sh
# or, with nothing to install:  uvx --from codemind-sh codemind --help

cd your-project/
codemind init
codemind scan
✓ graph.json built

  Graph summary
    Components (nodes): 428
    Connections (edges): 1,138
    Cross-layer (frontend→backend): 20
    Languages: java, typescript
    Types: 118 interface, 92 class, 69 service, 44 component,
           23 controller, 20 repository, 19 entity, 24 enum ...

That's it. Your project now has a living knowledge graph.

Use With Claude Code, Cursor, or Claude Desktop (MCP)

codemind init automatically registers CodeMind with every AI coding tool it detects on your machine. No manual config editing required.

If you need to re-register later (e.g. after installing a new tool):

codemind connect              # auto-detect and register all installed AI tools
codemind connect --tool claude  # Claude Code only
codemind connect --global     # write to global config instead of project-level

This creates .mcp.json at your project root (the format Claude Code requires):

{
  "mcpServers": {
    "codemind": {
      "command": "/path/to/codemind",
      "args": ["serve", "--path", "/absolute/path/to/your/project"]
    }
  }
}

codemind serve always includes the file watcher — graph.json is kept current on every save so the AI always answers with structural facts, never stale data.

The 11 MCP Tools

Once connected, Claude Code (or any MCP-compatible tool) can use:

Tool What it answers
get_connections(component) What it injects, calls, extends, implements — and what depends on it. Includes cross-layer edges (frontend→backend).
impact_analysis(component) Everything that breaks if this component changes. BFS, sorted by distance.
find_components(query) Free-text search across names, packages, method names. Auto-discovers unindexed files when nothing found.
find_for_task(description) Relevant existing components + gaps for a stated feature.
get_pattern() Best existing full-stack domain as a copy-me template.
trace_request(path) Trace an HTTP path from frontend to backend. /api/offers → OfferService → OfferController.
record_decision(...) Write a decision record after completing a task.
get_decisions(limit) Read recent decisions at session start — the AI never starts from zero.
enrich_node(component, notes) Attach AI-discovered notes to a graph node — persists across sessions.
index_file(path) Read any source file (Dart, Kotlin, Swift, Go…) and return it with extraction instructions.
add_component(name, type, file, language, …) Persist a component extracted from index_file to the graph permanently.
Example session (Claude Code with CodeMind connected)
You: "What would break if I change ThresholdEvaluator?"

Claude → impact_analysis("ThresholdEvaluator")
→ Direct dependents (distance 1): KpiCalculationService, KpiAlertService
→ Indirect dependents (distance 2): KpiController, ReportsService
→ 4 components affected — 2 controllers + 2 services

You: "Which Angular service calls /api/kpi-builder?"

Claude → trace_request("/api/kpi-builder")
→ Frontend: KpiService (service) — calls this endpoint
→ Backend: KpiBuilderController (controller) — route: /api/kpi-builder
→ Cross-layer connection: KpiService → KpiBuilderController

What .codemind/ Contains

your-project/
└── .codemind/
    ├── graph.json          ← The knowledge graph (auto-updated on every save)
    ├── ARCHITECTURE.md     ← System overview, module map (auto-generated)
    ├── modules/            ← Per-domain docs: auth.md, kpi.md, ...
    ├── decisions/          ← Why things were built this way
    │   └── 2026-02-15-add-kpi-alert.md
    ├── tasks/              ← Implementation checklists (from scaffold)
    └── config.yml          ← Project settings

Everything is human-readable. Git-friendly. Private.

Scaffold — Generate Code From Your Graph

CodeMind learns your project's package structure, naming conventions, and injection patterns from the graph, then generates new code that matches:

codemind scaffold service KpiAlert     # KpiAlertService.java + test
codemind scaffold module Attendance    # Full stack: service + controller + entity + repository + test
codemind scaffold api ReportExport     # Controller + service + test
codemind scaffold component Dashboard  # Angular/TypeScript service

# Preview without writing:
codemind scaffold module Attendance --dry-run

Generated files use your real package (com.app.kpi.business.kpialert), your real API path (/api/kpi-alert), and your real table name (kpi_alert) — all derived from the graph.

Health Checks

codemind check             # Full check: naming, layer violations, missing tests, orphans, domains
codemind check --quick     # Fast: naming + layer violations only
codemind check --pre-commit  # Git hook mode: exit 1 on errors

Five checks, all driven by the graph:

  • naming — component names match their type (KpiService should end in Service)
  • layer_violation — controllers injecting repositories directly (error)
  • missing_test — services/controllers without a test class
  • orphan — structural nodes with no connections (dead code?)
  • domain_incomplete — domains missing key layers

Install as a git pre-commit hook:

codemind install-hook

Decision Tracking

codemind decide "Add KPI threshold alert"   # Interactive — prompts for components + reason
codemind decisions                          # List recent decisions
codemind decisions show kpi-threshold       # Print full decision

At session start, Claude calls get_decisions automatically and knows what was built and why. No re-explaining.

Team Reports (BYOK)

When you ask Claude about your codebase in a session, the answer disappears when the session ends. These three commands generate persistent markdown reports that live in your repo — readable by the whole team, committable, and shareable without anyone needing an active AI session.

codemind review                           # Architectural review → .codemind/REVIEW.md
codemind brief                            # Onboarding brief   → .codemind/BRIEF.md
codemind impact ThresholdEvaluator --ai   # Risk badge         → printed + committable

codemind review — compresses your entire graph (all components, health check results, connection counts) into a structured architectural review: strengths, risks, recommendations, key metrics. Commit REVIEW.md so every teammate sees the same picture.

codemind brief — generates an onboarding doc: what the system does, the 5 most important components, the 3 domains to understand first, key patterns, and a glossary of domain terms extracted from your component names. A new developer reads it before their first session — onboarded before they open Claude Code.

codemind impact <component> --ai — runs a full BFS across the entire graph first (not just what's in your current context), then asks Claude to assess risk level (🟢/🟡/🔴) with specific high-risk callers named. Useful in CI: block a PR when blast radius is 🔴 HIGH.

All three require ANTHROPIC_API_KEY (set once in your shell). Results are cached in .codemind/ai-cache/ keyed by graph content — running them twice on the same graph costs nothing. One codemind review (~$0.003) generates a report the whole team benefits from.

Any-language support needs no API key. index_file + add_component index Dart, Kotlin, Swift, Go, C#, Ruby, Rust and any other language at zero cost — they use your existing Claude Code session, not a separate key.

CLI Reference

# Core
codemind init                   # Initialize .codemind/ (free, unlimited projects)
codemind scan                   # Parse codebase → graph.json + ARCHITECTURE.md + modules/
codemind status                 # Graph stats overview

# AI tool integration
codemind connect                # Auto-register MCP with Claude Code/Cursor/Claude Desktop
codemind connect --tool claude  # Claude Code only
codemind connect --global       # Global config (all projects)

# Keep graph live
codemind watch                  # File watcher only (CLI workflow)
codemind serve                  # MCP server + file watcher (AI tool integration)

# Query
codemind query "email on KPI drop"             # find_for_task
codemind query "" --connections KpiService     # get_connections
codemind query "" --impact ThresholdEvaluator  # impact_analysis
codemind query "" --pattern                    # get_pattern

# AI features (BYOK — requires ANTHROPIC_API_KEY)
codemind review                 # Architectural review
codemind brief                  # Onboarding brief
codemind impact <component> --ai  # Impact + AI risk assessment

# Scaffold
codemind scaffold service|module|api|component <name>
codemind scaffold module Attendance --dry-run   # Preview

# Health
codemind check
codemind check --quick
codemind install-hook            # Install as git pre-commit hook

# Decisions
codemind decide "What was built"
codemind decisions
codemind decisions show <slug>

Supported Stacks

Native parsers — fully offline, no API key ever
Language Frameworks Edges extracted
Java Spring Boot, Jakarta EE, Lombok, JPA injects, calls, extends, implements
TypeScript Angular, React, Next.js, NestJS injects, calls, extends, implements
Python FastAPI, Django, Flask, Pydantic, SQLAlchemy injects, calls, extends

Fullstack cross-layer routing: Spring Boot + Angular, Spring Boot + React. CodeMind detects frontend HTTP calls and backend routes, then creates cross-layer edges — so trace_request("/api/offers") shows the full path from Angular service to Spring controller.

Any other language — via index_file + add_component — free, no API key

When find_components finds nothing for a Dart / Kotlin / Swift / Go file, CodeMind automatically reads the file and returns it to your AI session with extraction instructions. Claude Code analyses it using your existing subscription and calls add_component to persist each class to graph.json permanently — available offline from that point forward.

Language Cost
Dart / Flutter $0 — uses your Claude Code session
Kotlin / Android $0 — uses your Claude Code session
Swift / iOS $0 — uses your Claude Code session
Go / Gin $0 — uses your Claude Code session
C# / ASP.NET Core $0 — uses your Claude Code session
Ruby / Rails $0 — uses your Claude Code session
Rust, PHP, Elixir, … $0 — uses your Claude Code session

Privacy

Everything stays on your machine. No cloud. No external database. No telemetry.

  • graph.json — stays local
  • decisions/*.md — stays local
  • Your source code — never leaves your machine
  • MCP tools run over local stdio — no network

CodeMind makes no network calls of its own — no telemetry, no account, no update check. The optional AI features use your own Anthropic key and run only when you ask: review, brief and impact --ai send a summary of the graph; scan --ai sends the source of files the parsers could not connect. A key in your environment does not, by itself, send anything. All other features — including any-language indexing via index_file — run entirely offline using your existing AI tool session.

Community & Support

Links

License

Free & open source (MIT). No paywall, no license keys, no telemetry. Use it on unlimited projects. The optional AI features are BYOK — bring your own ANTHROPIC_API_KEY; everything else runs entirely offline and free.

Built by OnixSolutions

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases codemind-sh

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229