Back to Home
Satyampant icon

CyberSam-Cyber-Security-Agent

Verified Safe

by Satyampant

Overview

A Python code security analyzer powered by OpenAI Agents and Semgrep MCP server, identifying vulnerabilities and recommending fixes through a web interface.

Installation

Run Command
docker run -p 8000:8000 -e OPENAI_API_KEY=your_key -e SEMGREP_APP_TOKEN=your_token cyber-analyzer

Environment Variables

  • OPENAI_API_KEY
  • SEMGREP_APP_TOKEN

Security Notes

The core application (`backend/server.py`) uses `os.getenv` for API keys and securely limits AI agent tools to `semgrep_scan` via `create_static_tool_filter`, which is a strong positive. However, the `/semgrep-test` endpoint uses `subprocess.run` to execute `pip install semgrep`, which introduces a minor supply chain risk if the execution environment is compromised, though it's a fixed command. An unrelated `airline.py` file containing a direct `eval(expr)` exists in the repository but is not imported or used by the main API server.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens15000
Stars0
Forks0
Last Update2025-12-02

Tags

AI-Powered AnalysisCode SecurityVulnerability ScannerNext.js FrontendFastAPI Backend