bugbase is an open-source security CLI built by the Ritza team. It is designed to make vulnerability hunting part of the normal developer workflow by scanning codebases for known CVEs, exposed secrets, and AI-powered predictive security risks before those issues reach production.
Unlike tools that stop at raw findings, Bugbase is intended to score and rank issues so developers get a clearer, more motivating picture of a repository's security health. It is built to run locally and in CI, with no account, dashboard, or hosted setup required for the core workflow.
- Repository: github.com/monodox/bugbase
- Site: ritza.monodox.com
Bugbase is being developed as a lightweight, developer-first tool for security checks that fit naturally into local development and automated pipelines.
The intended workflow is simple:
- Run Bugbase against a project locally or in CI.
- Detect dependency vulnerabilities, exposed secrets, and predictive AI security signals.
- Score and rank findings so the output is actionable, comparable, and easy to prioritize.
- Use the results in terminal output, JSON pipelines, or MCP-connected agent workflows.
- Dependency scanning for known CVEs using vulnerability data sources such as OSV and NVD
- Secret detection for accidentally exposed credentials, tokens, and sensitive values
- AI-powered predictive analysis for issues that may not yet appear in public databases
- Human-readable terminal reporting for developer workflows
- Machine-readable JSON reporting for CI and automation
- Local scoring and ranking of findings to provide a gamified security-health view
- MCP server support so agent tools can call Bugbase programmatically
This repository currently contains an initial scaffold for the monorepo, CLI package, MCP server package, project policies, and contribution docs.
The codebase is not yet a complete production implementation. The repository structure is in place so core scanning logic, reporting, and integrations can be developed cleanly without reworking the layout later.
bugbase/
|-- .github/workflows/ci.yml
|-- packages/
| |-- node/
| | |-- bin/
| | `-- src/
| |-- python/
| | `-- src/
| `-- mcp-server/
| `-- src/
|-- AGENTS.md
|-- CHANGELOG.md
|-- CODE_OF_CONDUCT.md
|-- CONTRIBUTING.md
|-- ROADMAP.md
|-- SECURITY.md
`-- package.json
The CLI package is the main user-facing application.
It currently includes placeholders for:
- command modules under
src/commands - scanner modules under
src/scanners - reporter modules under
src/reporters - configuration, constants, and API helpers
Planned command areas include:
auth: configure API credentials when integrations require themscan: run the main scan workflowbounties: existing scaffold name that may be renamed as scoring and ranking behavior is finalized
The Python package is the pip-installable equivalent of the Node CLI.
It currently includes placeholders for:
- command modules under
src/bugbase/commands - scanner modules under
src/bugbase/scanners - reporter modules under
src/bugbase/reporters - configuration, constants, and API helpers
The MCP server package is intended to expose Bugbase functionality as tools for MCP-compatible clients such as Claude Desktop, Cursor, and other agent environments.
The current scaffold includes:
- a simple server-style entry point
- tool handler modules for
scan,secrets, andpredict - shared tool metadata and input/output schemas
This package is currently a local scaffold, not a full production MCP transport integration.
- Node.js 20 or later
- npm
npm installThe repository includes an example environment file:
.env.exampleCurrent variables:
RITZA_API_KEY: API key for Ritza-connected integrations when neededRITZA_API_URL: base URL for Ritza API accessBUGBASE_ENV: runtime environment indicatorBUGBASE_OUTPUT: preferred default output format
For local development:
cp .env.example .env.localOn Windows PowerShell:
Copy-Item .env.example .env.localThen fill in any values required for the workflow you are developing.
From the repository root:
npm install
npm testRun package-specific tests:
npm run test --workspace @monodox/bugbase
npm run test --workspace @monodox/bugbase-mcp-serverStart the MCP server scaffold:
npm run start --workspace @monodox/bugbase-mcp-serverInstall the Python package in editable mode:
pip install -e packages/pythonAt the moment, some package scripts are placeholders because the repository is still at scaffold stage.
The CLI package is being structured around a few core flows.
The main scan path is intended to:
- inspect project dependencies for known CVEs
- search the working tree for exposed secrets
- run predictive AI analysis
- aggregate results into a unified severity and scoring model
- render terminal or JSON output
Secret scanning is intended to identify accidentally committed credentials and other sensitive values without leaking the matched secret contents in logs or reports.
The AI-driven path is intended to add higher-signal, forward-looking analysis for risky patterns that may not already be mapped to public CVEs.
Bugbase is intended to work well in CI so repositories can enforce baseline security checks during pull requests and branch builds.
The repository already contains a starter workflow at:
- ci.yml
As implementation matures, the CLI is expected to support:
- non-zero exit codes for failing security thresholds
- JSON output for machine parsing
- severity and score-based filtering
- repository and monorepo-friendly execution patterns
The MCP package is designed for agent integrations that want to call Bugbase programmatically.
Planned tool surface:
scan: run the full Bugbase analysis flowsecrets: run secret scanning onlypredict: run predictive AI analysis only
The current package README is here:
- packages/mcp-server/README.md
- Do not commit real API keys, tokens, or local secrets
- Use
.env.localfor local-only overrides - Treat MCP input as untrusted once the server transport is implemented
- Avoid printing raw secrets in terminal output, logs, fixtures, or snapshots
- Follow SECURITY.md for sensitive vulnerability reporting
Security contact:
security@monodox.com
Contributions are welcome. Keep changes focused, document user-facing behavior changes, and update tests when behavior changes.
Before opening a pull request:
- Install dependencies.
- Run the relevant package tests.
- Update docs when commands, environment variables, or workflows change.
- Avoid mixing unrelated changes in a single pull request.
Project contribution docs:
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- SECURITY.md
- ROADMAP.md
General questions:
hello@monodox.com
This repository includes agent instructions to help coding agents work effectively in the monorepo.
- Root instructions: AGENTS.md
- Node CLI package instructions: packages/node/AGENTS.md
- Python CLI package instructions: packages/python/AGENTS.md
- MCP package instructions: packages/mcp-server/AGENTS.md
Near-term work currently includes:
- command routing
- API key configuration flow
- dependency scanning against OSV and NVD
- secret scanning rules
- terminal and JSON reporting
- local scoring and ranking output
- CI-oriented flags and exit code controls
Longer-term direction is documented in ROADMAP.md.
Bugbase is released under the MIT License.
- LICENSE