Back to Home
dilettacal icon

bug-buster-ai

by dilettacal

Overview

A cybersecurity AI agent that analyzes Python code for vulnerabilities using OpenAI's LLMs and Semgrep, deployable on Azure and GCP.

Installation

Run Command
docker build -t bug-buster . && docker run --rm --name bug-buster -p 8000:8000 --env-file .env bug-buster

Environment Variables

  • OPENAI_API_KEY
  • SEMGREP_APP_TOKEN
  • ENVIRONMENT

Security Notes

The `backend/airline.py` file, which is part of the provided source code, contains a `calculate` function that uses `eval(expr)`. If this function were exposed to untrusted user input, it would be a severe remote code execution vulnerability. While `backend/server.py` (the core API) does not appear to directly use this `airline.py` file, its presence in the repository's backend makes it a significant security risk if the architecture were ever changed or if `airline.py` were invoked in an insecure context. Other aspects, like handling API keys via Key Vault and OIDC for deployment, are good practices. Diagnostic endpoints `/network-test` and `/semgrep-test` provide system information, which could be a minor information disclosure risk, but are common for health checks.

Similar Servers

Stats

Interest Score31
Security Score4
Cost ClassMedium
Avg Tokens10000
Stars1
Forks0
Last Update2025-11-23

Tags

AISecurity AnalysisFastAPINext.jsTerraform