Back to Home
thatgeeman icon

upgrade-advisor

by thatgeeman

Overview

AI-powered agent for Python package dependency analysis, vulnerability detection, and upgrade recommendations using `uv` and PyPI/GitHub data.

Installation

Run Command
python app.py

Environment Variables

  • GITHUB_PAT
  • HF_TOKEN
  • GITHUB_TOOLSETS
  • GITHUB_READ_ONLY
  • AGENT_MODEL
  • HF_INFERENCE_PROVIDER
  • GRADIO_SERVER_NAME
  • GRADIO_SERVER_PORT
  • GRADIO_SHARE
  • CHAT_HISTORY_TURNS_CUTOFF
  • CHAT_HISTORY_WORD_CUTOFF
  • CHAT_MODEL

Security Notes

The server executes external commands, specifically installing `uv` using `curl -LsSf https://astral.sh/uv/<VERSION>/install.sh | sh` and then running `uv pip compile` on user-uploaded `pyproject.toml` files. While executed in a temporary directory, this involves running untrusted shell scripts from an external URL and processing potentially malicious configuration files, which presents significant supply chain and command injection risks. The `smolagents` framework introduces potential LLM prompt injection vulnerabilities, where malicious input could lead to misuse of tools or generation of harmful content. File uploads are checked for path traversal, but the core execution model involving dynamic `uv` installation and execution is a high-risk area.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens8000
Stars0
Forks0
Last Update2025-12-01

Tags

PythonDependency ManagementAI AgentGradioMCP