Free AI-powered security audit for any GitHub repo
Project description
RepoSec
Free, open-source AI-powered security audit for any GitHub repository. One command. Zero cost.
pip install reposec
reposec https://github.com/anyone/anyrepo
What it does
Point it at any public GitHub repo and get a full security report in ~30 seconds:
- Static analysis (Semgrep — OWASP Top 10, injection, XSS, SSRF)
- Dependency vulnerability scan (CVEs via pip-audit / npm audit)
- Hardcoded secrets detection (AWS keys, API tokens, passwords)
- AI-written human-readable report (runs locally via Ollama — no API key needed)
Installation
pip install reposec
You also need Ollama for the AI report:
ollama pull mistral
Usage
reposec https://github.com/user/repo
reposec https://github.com/user/repo --output myreport.md
reposec https://github.com/user/repo --no-ai
Output
A clean Markdown report with:
- Executive summary with overall risk level
- Table of all static analysis findings with severity
- List of vulnerable dependencies with CVE IDs and fix versions
- Hardcoded secrets with file + line number
- Top 5 prioritized recommendations
Stack
| Tool | Purpose | Cost |
|---|---|---|
| Semgrep | Static analysis | Free |
| pip-audit / npm audit | Dep scanning | Free |
| Custom regex scanner | Secret detection | Free |
| Ollama + Mistral 7B | AI report writing | Free, runs locally |
License
MIT — free forever.
Built by @NISTALTALSON
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reposec-0.1.0.tar.gz.
File metadata
- Download URL: reposec-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4753ae0fa4d3b97b55170138101b7d2ae16c9b8a2e7fd42f813885bea88f5f21
|
|
| MD5 |
e0db15efac2a8bbd5f9e5e89cff88595
|
|
| BLAKE2b-256 |
90a26e8ca862f269afd2203aa1dd0b26b2108debe00544679a6d1588475559a1
|
File details
Details for the file reposec-0.1.0-py3-none-any.whl.
File metadata
- Download URL: reposec-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a3a54775bf4091f875f29423d2ae7250412f4409e335d44622ad34b769aa0b
|
|
| MD5 |
c0feeb73eaada4ee8fcf36b5329aa453
|
|
| BLAKE2b-256 |
f84a3372a17c7900e75bde762fbea90f06bc6fa43daf16664debb1e5fe826cbf
|