Skip to main content

SUPAGUARD

100% Security & Multi-Layer Developer Defense Suite
Universal Cross-Platform Antivirus, Real-Time Shield, Supply-Chain Sentinel & Git Zero-Leak Blocker.

npm version PyPI version License Platform


Overview

SupaGuard is a developer-first, cross-platform multi-engine security suite built to safeguard local codebases, microservices, and smart contract repositories across macOS, Linux, and Windows.

graph TD
    SG[SupaGuard CLI] --> OS[Cross-Platform Engine: macOS / Linux / Windows]
    OS --> Core[5-Layer Security Core]
    OS --> Git[Git Zero-Leak Guard]
    OS --> Supply[Supply-Chain Sentinel]
    OS --> Sys[OS Persistence Hunter: LaunchAgents / Systemd / WinRegistry]
    OS --> Web3[Web3 Crypto-Shield]
    OS --> Dash[Interactive HTML Scorecards]

Installation & Distribution

1. Instant Run via NPX (Zero-Install)

Works out of the box on macOS, Linux, and Windows:

# Run immediate scan on current project
npx @dev_apus/supaguard scan .

# Generate interactive dark-mode HTML security report
npx @dev_apus/supaguard scan . --html

2. Global Install via NPM

npm install -g @dev_apus/supaguard
supaguard doctor

3. macOS & Linux One-Liner (Bash / Zsh)

# Using curl:
curl -fsSL https://raw.githubusercontent.com/supaguard/supaguard/main/install.sh | bash

# Using wget:
wget -qO- https://raw.githubusercontent.com/supaguard/supaguard/main/install.sh | bash

4. Windows One-Liner (PowerShell)

Run in PowerShell:

iwr -useb https://raw.githubusercontent.com/supaguard/supaguard/main/install.ps1 | iex

5. Python Package via Pip

pip install supaguard-cli
# or
pipx install supaguard-cli

Core Capabilities

1. Sub-15ms Git Zero-Leak Pre-Commit Hooks

Prevent leaked credentials, Stripe live keys, AWS secrets, Google service accounts, or backdoors from ever touching Git history or GitHub remotes across macOS, Linux, and Windows.

# Protect current repository
supaguard hook install .

# Protect all Git repositories across your entire workspace
supaguard hook install --all

2. Supply-Chain & Safe-Install Sentinel

Inspects packages before executing npm install, yarn add, bun add, or pnpm add.

  • Typosquatting Detection: Flags packages mimicking popular libraries (e.g. crossenv vs cross-env).
  • Freshness & Age Checks: Flags newly published packages (<48 hours old).
  • Lifecycle Script Sandboxing: Unpacks and decodes obfuscated preinstall/postinstall scripts before execution.
# Inspect and install safely
supaguard safe-install express react lodash

# Standalone registry inspection
supaguard check-package crossenv

3. Web3 & Smart Contract Crypto-Shield

  • Detects stealth eth_signTypedData_v4 permit drainer patterns and unlimited ERC-20 token approval traps (approve(MaxUint256)).
  • Scans files and shell history (.zsh_history, PowerShell history) for unencrypted 12/24-word BIP-39 mnemonic seed phrases.
  • Audits Solidity contracts for hidden ownership backdoors and unsafe assembly delegatecall opcodes.
supaguard scan ./web3 --web3

4. Semantic Explainer & Deobfuscator

Unpacks character code arrays, base64 strings, and hex escapes, providing a plain-English explanation of payload intent.

supaguard explain suspicious-script.js

5. OS Persistence & Stealth Hunter

  • macOS: Scans /Library/LaunchDaemons, ~/Library/LaunchAgents, and shell startup profiles.
  • Linux: Scans /etc/ld.so.preload, user/system systemd units, and /etc/cron.*.
  • Windows: Scans Registry Run keys (HKCU\...\Run), Startup folder, and PowerShell profiles.
supaguard audit-system

6. Real-Time Active Shield (Background Daemon)

Monitors files in real time and intercepts write/execution events instantly.

# Start background shield (macOS, Linux, or Windows)
supaguard watch /path/to/project --daemon

# Check shield status
supaguard watch --status

# Stop shield
supaguard watch --stop

7. Interactive Dark-Mode HTML Scorecards

Generates a standalone, shareable HTML security report with posture grades (A+ to F), radar risk charts, and 1-click remediation details.

supaguard scan . --html

Antigravity AI Integration

SupaGuard includes native support for Google Antigravity AI development workflows.

  • Antigravity Skill: .agents/skills/supaguard/SKILL.md (Enables AI agents to autonomously audit security posture, protect commits, and sandbox third-party packages).
  • Antigravity Rule: .agents/rules/supaguard-security.md (Enforces zero credential leakage during agent pair programming).

Command Reference Matrix

Command Arguments / Flags Description
supaguard scan [path] [--quick] [--html] [--web3] [--quarantine] Run multi-layer scan on files or directories
supaguard sweep [root_path] [--quick] [--html] [--web3] Discover and audit all Git repositories under a path
supaguard watch [path] [--daemon] [--status] [--stop] Launch real-time background file-system shield
supaguard hook install [path] [--all] Install sub-15ms pre-commit zero-leak hook
supaguard hook uninstall [path] [--all] Remove SupaGuard Git hooks
supaguard safe-install <pkg...> [--manager npm|yarn|bun|pnpm] Audit dependencies for supply-chain risks before install
supaguard check-package <pkg> Inspect npm registry metadata & typosquats
supaguard audit-system (none) Audit macOS LaunchAgents, Linux systemd/cron, or Windows Registry
supaguard explain <file> Deobfuscate and semantically explain a payload
supaguard doctor (none) Verify installation of underlying engines (ClamAV, Trivy, Semgrep)
supaguard quarantine [list|purge] Manage quarantined threat files

License

SupaGuard is licensed under the MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supaguard_cli-1.0.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

supaguard_cli-1.0.1-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file supaguard_cli-1.0.1.tar.gz.

File metadata

  • Download URL: supaguard_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for supaguard_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9080a4dd61b1071d615fe4cc52fdd63cb5223bb698f15daaaaba3ad434741360
MD5 cbe68155053bbf17f1cf33d2f65fbc4c
BLAKE2b-256 de44e6f51911b8719671de9ca9c3724d31e7c47eeba0388c4897c2b524e19947

See more details on using hashes here.

File details

Details for the file supaguard_cli-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: supaguard_cli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for supaguard_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 227e9d957244973ea3e006a73b6763510644e5147775306e699a75f5e860c6a9
MD5 2f87257f7d3cf9645826bcdafc8d7733
BLAKE2b-256 dd29cb913e1091b6697829d1a15e41f97f0c45efb33814eb881e66af757c9e07

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.2

2 files

This release

1.0.1 This release

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page