Skip to content

krisk248/secureforge

Repository files navigation

SecureForge

Enterprise Security Scanning Tool - Cross-platform security orchestrator for SAST, SCA, and secret detection.

Release License

Features

  • Single Binary - No dependencies, ~7.5MB for Linux/macOS/Windows
  • Multiple Scanners - Semgrep (SAST), Trivy (SCA), TruffleHog (Secrets), SpotBugs (Java)
  • Quality Gates - Configurable thresholds with pass/fail for CI/CD
  • Report Formats - JSON, HTML (Chart.js), PDF, SARIF (GitHub/Forgejo)

Quick Install

# Linux
curl -sL https://github.com/krisk248/secureforge/releases/latest/download/secureforge-linux-amd64 -o secureforge
chmod +x secureforge && sudo mv secureforge /usr/local/bin/

# macOS
curl -sL https://github.com/krisk248/secureforge/releases/latest/download/secureforge-darwin-amd64 -o secureforge
chmod +x secureforge && sudo mv secureforge /usr/local/bin/

# Docker
docker pull ghcr.io/krisk248/secureforge:latest

Quick Start

# Install required scanners
pip install semgrep
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin

# Check tools
secureforge tools check

# Initialize config
secureforge init

# Run scan
secureforge scan

Documentation

📖 Quick Start Guide - Complete step-by-step setup guide

📚 Full Documentation (Wiki)

CI/CD Integration

# GitHub Actions / Forgejo
- name: Security Scan
  run: |
    curl -sL https://github.com/krisk248/secureforge/releases/latest/download/secureforge-linux-amd64 -o secureforge
    chmod +x secureforge
    ./secureforge scan -f sarif -o ./reports

- uses: github/codeql-action/upload-sarif@v2
  with:
    sarif_file: ./reports/secureforge.sarif

Exit Codes

Code Meaning
0 Success
1 Error
2 Threshold exceeded
3 Partial failure

License

MIT

About

This is a Security orchestrate that does SASt and code scanning for your code

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors