Skip to content

An advanced and automated sql injector that replace the work from a 1:1 sandboxed operation to a real life one in just 1 simple command.

License

Notifications You must be signed in to change notification settings

ASigma213/SQLbase

Repository files navigation

SQLbase – Security Scanning Toolkit

Cross-platform (Linux, Windows, macOS) security scanning: SQL injection scanning, dynamic testing, code fixing, and remediation. Uses pathlib and portable paths throughout.

ASigma213's profile views

📊 GitHub Stats & Trophies

ASigma213's GitHub Streak

ASigma213's Activity Graph

🛠️ Languages & Tools

Programming Languages

JavaScript Python Java C++

Frontend

Vue.js Next.js HTML5 Tailwind CSS

Top Languages

pacman contribution graph

Install

python -m venv .venv
# Linux/macOS:
.venv/bin/activate
# Windows:
.venv\Scripts\activate
pip install -r requirements.txt
pip install -e .

Or run without install (from repo root):

# Linux/macOS/Windows (same commands)
PYTHONPATH=. python -m sqlbase scan .
PYTHONPATH=. python -m sqlbase predict .
PYTHONPATH=. python -m sqlbase remediate SQL_INJECTION python

Usage

# Scan path for SQL injection patterns (file or directory)
python -m sqlbase scan [path] [-o report.json] [--fail-on-findings]

# Predict vulnerability likelihood (heuristic/ML-ready)
python -m sqlbase predict [path]

# Get remediation for a vulnerability type and language
python -m sqlbase remediate SQL_INJECTION python

Programmatic use:

from pathlib import Path
from sqlbase.scanner import SQLInjectionScanner
from sqlbase.tester import DynamicSQLiTester
from sqlbase.fixer import SqliCodeFixer
from sqlbase.remediation import RemediationKnowledgeBase
from sqlbase.injector import SecurityPatternInjector
from sqlbase.predictor import VulnerabilityPredictor

scanner = SQLInjectionScanner()
for v in scanner.scan_path(Path("src")):
    print(v["file"], v["line"], v["type"])

CI

GitHub Actions: .github/workflows/security-scan.yml runs on ubuntu-latest, windows-latest, and macos-latest on push/PR.

Showcases (tool on local file and public url + website wiki showcase)

wiki git link : https://github.com/ASigma213/ASigma213.github.io.git

(its supposed to be runned locally cause i got rate limited for 56.028 years from my hosting site and im asking for a check)

Screencast_20260131_110330.webm
showcase.webm

About

An advanced and automated sql injector that replace the work from a 1:1 sandboxed operation to a real life one in just 1 simple command.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages