How foxguard compares

How foxguard compares with Semgrep, OpenGrep, CodeQL, Snyk Code, and SonarQube on speed, taint analysis, post-quantum readiness, and price. Figures come from each vendor's docs.

01Capability matrix

CapabilityfoxguardRust CLISemgrepOSS + SaaSOpenGrepSemgrep forkCodeQLGitHubSnyk CodeSaaSSonarQubeServer
Free, no account requiredFull local scan with no login, token, or paid tier?OSS / publicCommunity ed.
Single static binaryRelease binaryCLI bundle
Sub-second local scansOn small-to-medium repos; measured numbers below.
Runs fully offlineDefault scan, no data leaves the machine. SaaS tools upload code or require an account.Self-host
Intra-file taint / dataflow
Cross-file taint on the free tierfoxguard: Python, JS, Go, Java, Ruby, PHP, C#, Kotlin (8 langs). Semgrep needs Pro; SonarQube needs Developer ed.; OpenGrep is per-file today.Paid (Pro)Per-filePaid (Dev+)
Autofix / remediationCopilotDeepCode AIAI CodeFix
Custom rulesfoxguard runs Semgrep-style YAML today; a native DSL is on the roadmap.Semgrep YAMLYAML DSLYAML DSLQLPlugins / XPath
Loads Semgrep / OpenGrep YAMLIngests ~98% of the Semgrep/OpenGrep registry via --rules (parity-tested in CI).
Secrets detectionPaid productGitHub sep.Limited
Post-quantum crypto auditCNSA 2.0 readiness. Flags pre-quantum primitives: RSA, ECDSA, ECDH, DH, DSA.
CBOM generationCryptographic Bill of Materials. Lists every crypto primitive in the codebase.
SARIF outputImport
IDE extensionVS CodeLSPVS CodeSonarLint
GitHub PR commentsCI-based
Managed SaaS dashboardvia GitHubSonarCloud

✓ out of the box · — not available · text = caveat (paid tier / partial / different mechanism). Check each vendor for current details.

02Core attributes

AttributefoxguardRust CLISemgrepOSS + SaaSOpenGrepSemgrep forkCodeQLGitHubSnyk CodeSaaSSonarQubeServer
Written inRustOCaml + PythonOCamlProprietary engineProprietary (DeepCode AI)Java
LicenseMIT OR Apache-2.0LGPL-2.1 (engine)LGPL-2.1MIT queries / proprietary CLIProprietaryLGPLv3 (Community) + commercial
DistributionSingle static binaryPython wheel + runtimeSigned release binariesCLI bundle + DB build stepCLI + cloudServer + scanner
Installnpx, curl, cargo, brewpip, brew, Dockerinstall scriptdownload / GitHub ActionCLI, IDE, SaaSDocker / self-host
Languagesfoxguard: 12 programming languages plus config/infra. Counts vary by edition/version.12 + config30+30+~11~10~30
Rule model200+ built-in (CWE-mapped) + YAMLYAML registry + Pro packsSemgrep-compatible YAMLQL query packsVendor-maintainedBuilt-in + plugins

03Performance

MetricfoxguardSemgrep
Typical scan time (medium repo)< 1 second10-30 seconds
Cold start (no cache)< 1 second5-15 seconds
Memory usage~50 MB~500 MB+
Parallel executionRayon (work-stealing)Multiprocess

Same hardware and rulesets; reproduce with ./benchmarks/run.sh. OpenGrep forks the Semgrep engine, so its numbers track Semgrep. CodeQL builds a database before it can query and SonarQube runs as a server. Both are heavier by design and are not sub-second local tools.

04Unique to foxguard

None of the other five ship these out of the box:

  • Post-quantum crypto audit (CNSA 2.0)

    foxguard pqc . flags RSA, ECDSA, ECDH, DH, and DSA against NSA CNSA 2.0 timelines.

  • CBOM generation

    foxguard pqc . --format cbom inventories every crypto primitive for compliance and supply-chain reports.

  • TUI triage mode

    foxguard tui . opens an interactive UI to review findings, read dataflow traces, and suppress inline.

  • Sub-second scans from a single binary

    One Rust binary that scans in milliseconds. It runs without a runtime, a database build, or a server.

05Pricing & licensing

ToolLicenseCost model
foxguardMIT OR Apache-2.0Free, foreverOpen source. Every engine feature is free, with no accounts or token limits.
SemgrepLGPL-2.1 (OSS engine)Free OSS + Team ~$35/contributor/moCLI engine is open source; cross-file (Pro), Secrets, and the AppSec Platform are paid.
OpenGrepLGPL-2.1 (community fork)FreeVendor-neutral fork of the Semgrep engine (2025); no paid tier or hosted platform.
CodeQLMIT queries / proprietary CLIFree for OSS; paid for privateFree on public repos and for research; private use needs GitHub Advanced Security.
Snyk CodeProprietary SaaSFree tier + Team from ~$25/dev/moCloud-based; code is uploaded by default. Limited free tier, paid team/enterprise plans.
SonarQubeLGPLv3 (Community) + commercialCommunity free; Developer/Enterprise by LOCSelf-hosted Community Build is free; cross-file taint and many languages need Developer Edition+.

Terms change; figures reflect each vendor's published model, not a quote.

When to pick foxguard

  • You want a fast, free scanner that runs without a login or token limits.
  • You need post-quantum crypto auditing (CNSA 2.0) or a CBOM.
  • You want a single static binary that runs without a runtime or database build.
  • You need cross-file taint for Python, JS, Go, Java, Ruby, PHP, C#, or Kotlin without a paid license.

When another tool might fit better

  • Semgrep / OpenGrep for a native custom-rule DSL, or 30+ languages including Scala and Terraform.
  • CodeQL for GitHub Advanced Security with deep QL queries and in-platform code scanning.
  • Snyk Code / SonarQube for a managed SaaS or server with team dashboards, policy gates, and quality metrics.

Try foxguard on your codebase

Run one command to scan your code for free. No config or signup required.

npx foxguard .