Skip to content
Back to search

codebadger

🦡 codebadger is a containerized Model Context Protocol (MCP) server that gives AI agents and LLMs deep, queryable access to a codebase's structure and data flow through Joern Code Property Graphs (CPGs).

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/qcri--codebadger/badge.svg)](/listings/qcri--codebadger)

HTML

<a href="/listings/qcri--codebadger"><img src="/api/listings/qcri--codebadger/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 59 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # 🦡 codebadger
  2. **codebadger** is a containerized **Model Context Protocol (MCP)** server that
  3. gives AI agents and LLMs deep, queryable access to a codebase's structure and
  4. data flow through [Joern](https://joern.io/) Code Property Graphs (CPGs).
  5. Point it at a Git repository, a local path, or even a pasted code snippet, and
  6. codebadger builds a CPG and exposes it over MCP — so an assistant can run CPGQL
  7. queries, trace data flow and taint, slice programs, and hunt for vulnerabilities
  8. across Java, C/C++, JavaScript, Python, Go, Kotlin, C#, Ghidra, Jimple, PHP,
  9. Ruby, and Swift.
  10. It's a general-purpose foundation for both **program analysis** (understanding
  11. code structure, call graphs, and data flow) and **vulnerability analysis**
  12. (taint tracking, bug hunting, and PoC development) — useful for **academic
  13. research** as well as **industry** security and engineering work. It's built to
  14. scale to large analysis batches with per-CPG worker pools, memory-aware
  15. scheduling, and a Postgres/Redis backend.
  16. ## News
  17. codebadger and its paper - *Bridging Code Property Graphs and Language Models for
  18. Program Analysis* - were accepted at the **Software Vulnerability Management
  19. Workshop @ ICSE 2026**. 🎉
  20. ## Documentation
  21. Everything a developer or security researcher needs lives in **[docs/](docs/)**:
  22. | Doc | What's in it |
  23. |-----|--------------|
  24. | [Installation](docs/installation.md) | Prerequisites and a 5-minute local setup. |
  25. | [Usage](docs/usage.md) | Connecting MCP clients, the tool catalog, and a researcher workflow. |
  26. | [LLM workflow guide](docs/llm-workflows.md) | Recommended bounded tool sequence for agents. |
  27. | [Available Tools](docs/available-tools.md) | Every MCP tool by category, with a description of what each does. |
  28. | [Configuration](docs/configuration.md) | `config.yaml` / env reference, telemetry. |
  29. | [Deployment](docs/deployment.md) | Postgres/Redis, memory sizing, `shared` vs `pool`, large batches. |
  30. | [Architecture](docs/architecture.md) | System design and diagrams. |
  31. | [Security](docs/security.md) | Threat model, trust boundaries, and production hardening. |
  32. | [Custom Tools](docs/custom-tools.md) | Add your own detectors. |
  33. | [Contributing](docs/contributing.md) | Dev setup, tests, and guidelines. |
  34. | [Roadmap](docs/roadmap.md) | What's shipped and what's next. |
  35. ## Found a vulnerability using codebadger?
  36. We'd love to hear about it - open a PR adding it to [TROPHIES.md](TROPHIES.md)
  37. (CVE ID, project, one-line description, date).
  38. ## Citation
  39. ```bibtex
  40. @inproceedings{lekssays2026bridging,
  41. title={Bridging Code Property Graphs and Language Models for Program Analysis},
  42. author={Lekssays, Ahmed},
  43. booktitle={Proceedings of the 2026 IEEE/ACM 4th International Workshop on Software Vulnerability Management},
  44. pages={33--40},
  45. year={2026}
  46. }
  47. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.