GitWyvern

skill
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 156 days ago
  • Low visibility — Only 5 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

GitWyvern is an AI-powered repository intelligence system for Python-based repositories.

README.md

Static Badge GitHub Release Static Badge

GitWyvern: Scout Python Repos with AI

Decode Python repositories faster!
GitWyvern is an AI-powered repository intelligence system for Python-based repositories. It is a beautifully orchestrated application that uses local LLMs to analyze Python scripts, perform hybrid security scans (SAST + LLM), and create a repo-aware chat system using a RAG pipeline.

RequirementsWindows-setupDocker-setupCLI-commandsApp-screenshots

Disclaimer: Also this tool is only for python based repositories. The repository you are trying to analyze must have majority of the code files as .py files.

gui_img
cli_img

For more screenshots - ./docs/screenshots.md

Features:

  • Smart file-purpose inference from names & signatures (accurate most of the time) for quick codebase overview.
  • Hybrid SAST + LLM security scan: detects issues, explains context, suggests fixes.
  • RAG-based chat interface with repo knowledge.
  • Modular CLI commands for maximum flexibility - use only the features you need (scout, security scan, chat, summary) without running the entire analysis.

Requirements:

  1. Git.
  2. Ollama (Models - qwen2.5:3b, qwen2.5-coder:3b, nomic-embed-text:v1.5).
  3. Nvidia's Cuda Toolkit. (Was used for development- Cuda v11.8, CUDNN v8.9, Python v3.12.0).
  4. Minimum 16GB RAM (8GB RAM available/free) and 4GB VRAM for smooth functioning.
  5. Docker Dekstop (Optional for windows, required for MacOS and Linux).

Setup for Windows:

Either, clone this repository or download the windows version from Releases.

  • Make sure Python is installed on your system. Then open File Explorer, navigate to the root directory of the project, and double-click on run.bat.
  • Double-click this Windows batch file to launch the GitWyvern GUI. If a virtual environment doesn’t exist, it will be created automatically and the required dependencies will be installed. On subsequent runs, the existing environment will be activated and the app will start at http://localhost:8501 in your default browser.
  • To run the CLI version, double-click on cli.bat.

Setup for docker:

⚠️ In progress. Yet to be added once verified and tested!

CLI-commands

  • To activate and use the CLI go to the root level of the cloned repository and double click on cli.bat file. (This cli.bat file will only work on Windows OS)
  • You can use python gitwyvern.py --help to get the list of commands. Use python gitwyvern.py [command] --help to see the command line arguments for the specific commands.
  • To use the CLI in macOS or Linux, first activate the venv of the project. And use python3 instead of python for the commands mentioned above.

Click here to see the list of CLI commands - CLI Commands

Logs directories:
Check ./app_logs/logs.json and ./cli_logs/ to get application and CLI logs.

Drawbacks and limitations:

  • The chunk size, retrieval technique and other configs for every RAG is fixed. Different codebase require different configuration based on some standard RAG evaluation metrics. The RAG fails 20-25 percent of the times. Also, the code specific LLm used in this project is not a strong one. It has only 3 billion parameters.
  • The SAST + LLM workflow can be slower when there are so many vulnerabilities in the repository. Because the LLM translates the bandit's console output to natural language, and also recommends potential solutions.

⭐ Support the project:

A star on the repository is greatly appreciated if you want to show some support.
~ Made by a developer fighting imposter syndrome.

Reviews (0)

No results found