| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0.0 | ❌ |
Please do not report security vulnerabilities through public GitHub issues. If you discover a potential security flaw in this repository:
- Email the maintainer directly at
AJJUKES1126@gmail.com. - Include a detailed description of the vulnerability, steps to reproduce, and potential impact.
- Allow up to 48 hours for an initial response before taking further action.
This repository utilizes a multi-layered, low-cost security stack to enforce secrets scanning, static analysis (SAST), Software Composition Analysis (SCA), and infrastructure validation.
| Tool | Target Scope | Primary Function |
|---|---|---|
| Gitleaks | Git History & Diffs | Secrets & Credential Detection |
| Semgrep OSS | JS/Node.js Codebase | Static Application Security Testing (SAST) |
| Trivy | NPM Dependencies & Config | Vulnerability Scanner (SCA) & IaC Auditing |
- Scope: Scans all tracked files, commit history, and staged commits for exposed keys, tokens, and credentials.
- Allowlist Management: Configured via
.gitleaks.tomlat the repository root. - Suppression Logic: Third-party Python dependencies (
.venv/Lib/site-packages/...) containing cryptographic test vectors (e.g.,numpy,torch,cryptography,pypdfium2) are explicitly ignored to eliminate false positives while preserving strict scanning across application code.
- Scope: Evaluates JavaScript/Node.js, workflow YAMLs, and server scripts against standard security rulesets.
- Rulesets Applied:
p/default,p/javascript,p/github-actions. - Zero-Trust Rules: Identifies code injection, unsafe deserialization, shell command injections, and insecure file system operations.
- Scope: Scans
package-lock.jsonand directory manifests for known CVEs. - Configuration Auditing: Evaluates infrastructure-as-code and configuration targets for security policy violations.
- Issue: Gitleaks flagged 11 findings inside
.venvsite-packages (numpy,torch,cryptography). - Fix: Added
.gitleaks.tomlwith path rules blocking vendor and virtual environment directories. Removed.venvfrom the Git tracking index and added it to.gitignore.
- Issue: GitHub Actions variables referenced inline within PowerShell execution blocks allowed potential injection risks.
- Fix: Enforced environment variable indirection (
$env:RELEASE_TAG = "${{ github.ref_name }}") across release workflows to isolate context untrusted input.
- Issue: GitHub Actions pinned to floating tags (e.g.,
@v4) are susceptible to upstream tag-mutability attacks. - Fix: Actions pinned to immutable 40-character commit SHAs (e.g.,
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683).
Run these commands locally prior to committing code or pushing releases.
# Verify zero unflagged leaks across entire git history
gitleaks detect --config .gitleaks.toml --verbose# Run Semgrep OSS auto-configured ruleset
semgrep scan --config auto# Temporary environment override to bypass Docker Desktop lookup issues on Windows
$env:DOCKER_CONFIG = "$env:TEMP"
# Scan file system for package vulnerabilities
trivy fs --scanners vuln .
# Scan misconfigurations
trivy config .