gitsafehub
github.com/jmacato/nbitcoin ↗

jmacato/nbitcoin

scanned 2026-08-13 · git c1c8234
3 of 6 checks flagged a security issue
🟡 Worth a look
Only 5 of 6 checks finished — treat this as provisional. Re-check ↻

Informational scan, not a security audit. How this is computed.

Leaked secrets30Vulnerable dependencies3Known OSS vulnerabilities3Risky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks 30 found

API keys, passwords or tokens committed into the repo.

  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/ColoredCoinsTests.cs:445
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:143
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:194
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:197
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:201
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:205
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:215
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:217
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:219
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/StealthAddressTests.cs:221
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:40
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:47
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:61
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:68
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:75
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:83
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:91
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:138
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:139
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:149
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:150
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:197
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:202
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:204
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    NBitcoin.Tests/key_tests.cs:206
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
… 5 more not shown

via Gitleaks v8.21.2 · MIT

Vulnerable dependencies — Trivy 3 found

Packages you depend on that have known security holes (CVEs).

  • Worth fixing CVE-2024-21907 Improper Handling of Exceptional Conditions in Newtonsoft.Json
    NBitcoin.TestFramework/packages.config
    A package you depend on has a known security hole (CVE-2024-21907). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-21907 Improper Handling of Exceptional Conditions in Newtonsoft.Json
    NBitcoin.Tests/packages.config
    A package you depend on has a known security hole (CVE-2024-21907). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-21907 Improper Handling of Exceptional Conditions in Newtonsoft.Json
    NBitcoin/packages.config
    A package you depend on has a known security hole (CVE-2024-21907). Fix: Update that package to its patched version.

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 3 found

Your dependencies cross-checked against the OSV vulnerability database.

  • Worth fixing GHSA-5crp-9r3c-p9vr Improper Handling of Exceptional Conditions in Newtonsoft.Json
    /workdirs/scan-4863797a-f575-4f68-8266-a40c2c06bc0a/NBitcoin.TestFramework/packages.config
    A package you depend on has a known security hole (CVE-2024-21907). Fix: Update that package to its patched version.
  • Worth fixing GHSA-5crp-9r3c-p9vr Improper Handling of Exceptional Conditions in Newtonsoft.Json
    /workdirs/scan-4863797a-f575-4f68-8266-a40c2c06bc0a/NBitcoin.Tests/packages.config
    A package you depend on has a known security hole (CVE-2024-21907). Fix: Update that package to its patched version.
  • Worth fixing GHSA-5crp-9r3c-p9vr Improper Handling of Exceptional Conditions in Newtonsoft.Json
    /workdirs/scan-4863797a-f575-4f68-8266-a40c2c06bc0a/NBitcoin/packages.config
    A package you depend on has a known security hole (CVE-2024-21907). Fix: Update that package to its patched version.

via OSV-Scanner v1.9.2 · Apache-2.0

Risky code patterns — Semgrep none found ✓

Code that can be exploited: injection, hardcoded credentials and similar.

Nothing found by this check. ✓

via Semgrep v1.147.0 · LGPL-2.1

Malicious dependencies — Guarddog none found ✓

Packages that look intentionally malicious: typosquats, sneaky install scripts.

Nothing found by this check. ✓

via Guarddog v2.10.0 · Apache-2.0

Project health

A signal about how the project is maintained — not a vulnerability in your code. It doesn’t affect the verdict above.

Project health — OpenSSF Scorecard didn’t run

Maintenance & supply-chain hygiene. A signal about the project, not a vulnerability in your code.

This check didn’t finish — that’s not the same as “clean.” Try Check again above.

via OpenSSF Scorecard · Apache-2.0

About these results. Six open-source checks ran in parallel; every finding is tagged with the tool that produced it. The verdict follows a published rule. False positives and false negatives are normal — a clean scan does not mean the code is secure, and a red verdict does not mean the project is compromised.