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

Grok-map

Latest version: v0.6.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
MCP server Transport: stdio Publisher: Aadithya-kl
0 Stars
0 Forks
7 Versions
Python Repo language

Scan summary

Grok-map was last scanned on 28 Nov 2026 at version 0.6.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 5 were published on 28 Nov 2026.
  • Findings: No rules fired in version 0.6.2.
  • MCP server: Runs over stdio.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.2 LATEST 28 Nov 2026 No rules fired
0.6.1 28 Nov 2026 No rules fired
0.6.0 28 Nov 2026 No rules fired
0.5.0 28 Nov 2026 Not shown
0.4.0 28 Nov 2026 Not shown

No rules fired in 0.6.2

Findings

Findings for v0.6.2. 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.6.2; other versions have their own rules, not their own score.

README

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

Grok-map

Find the AI-written code nobody on your team understands, and pay it down one short quiz at a time.

ci PyPI VS Code MCP Registry python dependencies license

▶ Live demo · Website · Study: how much of open source is AI-written? · Install · Agent skill · MCP server · VS Code · CI and PR comments


Coding agents now write a large share of the code we ship. The tests pass, the diff looks clean, it gets merged. A month later something breaks at 2am, and nobody on the team can explain how that module works.

That gap has a name: comprehension debt, the difference between how much code is in your system and how much of it any person actually understands. It doesn't show up in linters, coverage or code review dashboards.

Grok-map measures it. It traces every line in your repo to the commit that wrote it, recognises commits made by AI agents (Claude Code, Copilot, Cursor, Codex, Aider, Devin, Gemini…), and checks them against a shared ledger of who has shown they understand that code. Then it draws you a map.

$ grokmap status
Grok-map · shopcart @ c3088b29ff

  Comprehension debt   34.5%
  Lines scanned        255 in 12 files
  Written by AI        218 lines (85.5%)  — claude 141, copilot 56, cursor 21
    understood         83  (38%)
    fading             21
    skimmed            73
    nobody checked     41
  Critical paths       40.7% debt over 86 lines
  Understood by        alex@example.com (53), priya@example.com (51)

Riskiest files                                         lines      AI  unread    debt
src/shopcart/payments/client.py                           64      64      33     52%
src/shopcart/api/routes.py                                33      33       0     50%
src/shopcart/api/auth.py                                  23      23       0     50%

Pay it down: ask your coding agent to run `grokmap quiz <file>` and quiz you.

How much of your code is AI-written?

grokmap status answers that in seconds, and grokmap trend shows how it changed month by month. We ran it on 18 well-known open-source projects. In the MCP reference servers, 94% of commits from August to October 2026 were co-authored by Claude; in VS Code, 74% were co-authored by Copilot. Read the full study, including its limitations.

New to the idea? What is comprehension debt, and how do you measure it?

How you pay it down: your agent quizzes you

Grok-map ships an agent skill. After your coding agent writes something substantial, it offers a two-minute quiz on exactly the lines you haven't shown you understand, grades you honestly, and records the result:

you    > yes, quiz me before I commit
agent  > (runs: grokmap quiz --uncommitted)
         Q1 of 3. A charge request times out after the provider already took the money.
         What stops the retry from charging the customer twice?
you    > the idempotency key — it's a hash of order id and amount, so the retry reuses it
agent  > Correct (1/1). The provider sees the same Idempotency-Key and returns the first charge.
         Q2 of 3. A card is declined with HTTP 402. How many times do we call the API, and why?
you    > three times? because of the retry decorator
agent  > Not quite (0/1). 4xx errors are raised with retryable=False, and the decorator re-raises
         those immediately, so it's one call. Only 5xx and network errors are retried.
         ...
agent  > Score 0.67. Recorded (grokmap mark … --score 0.67 --method quiz).
         Worth rereading the error handling in charge() — that's where the retry rules live.

Understanding is tracked per line. If the agent later rewrites a line you were quizzed on, that line counts as new, not-yet-understood code again. Understanding older than 180 days shows as fading.

Install

pipx install grokmap        # or: pip install grokmap

Or try it without installing: uvx grokmap status

Python 3.11+ and git. No other dependencies, no network calls, nothing leaves your machine.

Add the skill to your coding agent

Claude Code:

/plugin install grokmap --marketplace Aadithya-kl/grokmap

(or /plugin marketplace add Aadithya-kl/grokmap, then /plugin install grokmap@grokmap)

Any agent that reads SKILL.md files (Codex, Cursor, Gemini CLI, OpenCode…):

npx skills add Aadithya-kl/grokmap

or copy skills/grokmap/ into your agent's skills folder.

Then just say "quiz me on the payments module", or let the agent offer after it finishes a change.

MCP server: let your agent check before it edits

The skill teaches the agent to quiz you. The MCP server goes further: before the agent changes code, it can ask "does anyone on this team actually understand this?" and be more careful when the answer is no.

{
  "mcpServers": {
    "grokmap": { "command": "uvx", "args": ["grokmap-mcp"] }
  }
}

Install in VS Code

That block works in Claude Desktop, Cursor (.cursor/mcp.json), Windsurf and most other clients. Elsewhere:

claude mcp add grokmap -- uvx grokmap-mcp                  # Claude Code (the plugin above already includes it)
codex mcp add grokmap -- uvx grokmap-mcp                   # Codex CLI
code --add-mcp '{"name":"grokmap","command":"uvx","args":["grokmap-mcp"]}'   # VS Code

Already installed Grok-map? pip install "grokmap[mcp]" and use grokmap mcp as the command instead.

Prefer Docker? docker build -t grokmap-mcp . in this repo, then use docker run -i --rm -v "$PWD:/repo" grokmap-mcp as the command.

Tool What the agent gets
comprehension_risk For the files it's about to change: a risk level from none to very high, who understands them, and how to act (explain the change, keep the diff small, offer a quiz).
repo_status Debt, AI share and the riskiest files.
who_understands Who has shown they understand a file or folder, so it knows whom to ask.
quiz_brief The exact lines you haven't shown you understand, plus grading rules.
record_understanding Records a quiz, explanation, review or pairing result in the shared ledger. The only tool that writes.
pr_comprehension The AI-written lines a branch adds and how many are understood.
ai_trend How much of the code added each week or month each agent wrote.

Plus a quiz_me prompt. Every tool returns structured results with a published output schema, so agents read fields instead of parsing text. Everything runs locally on your git history: no network calls, no API keys. Find it in the official MCP Registry (io.github.Aadithya-kl/grokmap), on Glama and on cursor.directory.

VS Code extension: see it in the gutter

The Grok-map extension colours every AI-written line in the editor margin: red where nobody has checked it, orange where it was only skimmed, yellow where understanding is fading, green where someone has shown they understand it. Hover a block to see which agent wrote it, in which commit, and who understands it. The status bar shows the file's debt, and Grok-map: Quiz me on this file hands your agent a quiz brief. It follows your edits as you type, and works in VS Code, Cursor, Windsurf and VSCodium.

VS Code Marketplace Installs

Search Grok-map in the Extensions panel and click Install, or run code --install-extension aadithya-kl.grokmap. It needs the CLI on your PATH (pip install grokmap), or set grokmap.command to uvx grokmap. Cursor, Windsurf and VSCodium: the extension is on its way to Open VSX; until then, install the .vsix from the latest release (Extensions → ⋯ → Install from VSIX).

Quick start

cd your-repo
grokmap init              # .grokmap.toml + ledger + a merge rule for it
grokmap status            # the numbers
grokmap report --open     # the interactive heatmap

Commit .grokmap/ledger.jsonl so your whole team shares one map. It's one JSON object per line with a merge=union git rule, so merges don't conflict.

Commands

Command What it does
grokmap status Debt, AI share, who understands what, riskiest files. --json and --markdown for scripts and PR comments.
grokmap report [-o file] [--open] Self-contained HTML heatmap: a zoomable treemap, hover details, filterable file table, light and dark themes.
grokmap quiz [paths] [--uncommitted \| --staged \| --diff main] A quiz brief for your agent: the exact lines you haven't shown you understand, plus grading rules.
grokmap mark <files…> --score 0.8 [--method quiz\|explain\|review] Record understanding. path:10-40 or --lines for line ranges, folders expand to their files.
grokmap diff [--base origin/main] The AI-written lines a branch adds and how many are understood. --markdown for a PR comment, --max-unread N to gate merges.
grokmap trend [--by week\|month] How much of the code added over time was written by each agent.
grokmap who <path> Who understands the AI-written code in a file or folder.
grokmap check [--max-debt 40] [--critical] Exits 1 above the limit. For CI.
grokmap badge An SVG badge for your README:
grokmap init Adds config, ledger and .gitattributes.
grokmap lines FILE Per-line states for one file, as an editor sees it (--json, --stdin for unsaved text). Used by the VS Code extension.
grokmap hook install Pre-push reminder when you push AI-written lines nobody has checked (--block to stop the push instead).
grokmap mcp Runs the MCP server over stdio (needs grokmap[mcp]).

In CI

# .github/workflows/grokmap.yml
on: [pull_request]
permissions:
  contents: read
  pull-requests: write      # for the PR comment
jobs:
  grokmap:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0          # blame needs full history
      - uses: Aadithya-kl/grokmap@main
        with:
          max-debt: 40            # optional: fail above 40% debt
          max-unread: 200         # optional: fail if the PR adds >200 unchecked AI lines

On every pull request it posts one comment (and keeps it up to date) like this:

Grok-map: comprehension check

This change adds 5 AI-written lines (claude 5) and 1 human-written line. 4 of the AI lines (80%) have been understood by someone on the team.

File AI lines Understood Not checked
src/shopcart/pricing.py 1 0 1
src/shopcart/loyalty.py 4 4 0

Before merging, the author can ask their coding agent to run grokmap quiz --diff origin/main for a 2-minute quiz on the unchecked lines.

It also writes the repo summary to the job page, uploads the heatmap as an artifact, and exposes debt and ai-lines as outputs. Everything is report-only unless you set a limit.

How it works

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).

  • MCP Registry io.github.Aadithya-kl/grokmap

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229