gitsafehub
github.com/yujinpan/v2ray-core ↗

yujinpan/v2ray-core

scanned 2026-08-09 · git 05cc542
3 of 6 checks flagged a security issue
🔴 Needs attention
Only 4 of 6 checks finished — treat this as provisional. Re-check ↻

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

Leaked secrets1Vulnerable dependencies26Known OSS vulnerabilities52Risky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks 1 found · 1 serious

API keys, passwords or tokens committed into the repo.

  • Serious private-key Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.
    testing/scenarios/cert/self-signed_key.pem:1
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.

via Gitleaks v8.21.2 · MIT

Vulnerable dependencies — Trivy 26 found

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

  • Worth fixing CVE-2026-54908 Pion DTLS is a Go implementation of Datagram Transport Layer Security. ...
    go.mod
    A package you depend on has a known security hole (CVE-2026-54908). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54909 pion/stun is a Go implementation of STUN. Prior to 3.1.3, XORMappedAdd ...
    go.mod
    A package you depend on has a known security hole (CVE-2026-54909). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-40898 github.com/quic-go/quic-go: quic-go: Denial of Service via excessive memory allocation in HTTP/3 trailers
    go.mod
    A package you depend on has a known security hole (CVE-2026-40898). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39828 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Unauthorized command execution via discarded SSH permissions
    go.mod
    A package you depend on has a known security hole (CVE-2026-39828). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39829 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted public key with excessive parameters
    go.mod
    A package you depend on has a known security hole (CVE-2026-39829). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39830 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via resource leak from unsolicited SSH responses
    go.mod
    A package you depend on has a known security hole (CVE-2026-39830). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39831 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Security key bypass due to missing user presence check
    go.mod
    A package you depend on has a known security hole (CVE-2026-39831). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39832 golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: Security bypass due to improper handling of key restrictions
    go.mod
    A package you depend on has a known security hole (CVE-2026-39832). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39835 golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service via crafted SSH certificate
    go.mod
    A package you depend on has a known security hole (CVE-2026-39835). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-42508 golang.org/x/crypto/ssh/knownhosts: golang: golang.org/x/crypto/ssh/knownhosts: Revocation bypass via unchecked SignatureKey
    go.mod
    A package you depend on has a known security hole (CVE-2026-42508). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-46595 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Authorization bypass due to skipped source-address validation
    go.mod
    A package you depend on has a known security hole (CVE-2026-46595). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-46597 golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted AES-GCM packet decoder inputs
    go.mod
    A package you depend on has a known security hole (CVE-2026-46597). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39827 golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service via repeated rejected channel openings
    go.mod
    A package you depend on has a known security hole (CVE-2026-39827). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39833 golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: Security bypass due to unenforced key confirmation
    go.mod
    A package you depend on has a known security hole (CVE-2026-39833). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39834 golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service due to integer overflow in SSH channel write
    go.mod
    A package you depend on has a known security hole (CVE-2026-39834). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-46598 golang.org/x/crypto/ssh/agent: golang: golang.org/x/crypto/ssh/agent: Denial of Service via malformed input
    go.mod
    A package you depend on has a known security hole (CVE-2026-46598). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-25681 golang.org/x/net/html: golang.org/x/net/html: Arbitrary code execution via Cross-Site Scripting
    go.mod
    A package you depend on has a known security hole (CVE-2026-25681). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-27136 golang.org/x/net/html: golang: golang.org/x/net/html: Cross-Site Scripting via HTML parsing bypass
    go.mod
    A package you depend on has a known security hole (CVE-2026-27136). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-39821 golang.org/x/net/idna: golang: net/http: golang.org/x/net/idna: Privilege escalation via incorrect Punycode label processing
    go.mod
    A package you depend on has a known security hole (CVE-2026-39821). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-25680 golang.org/x/net/html: golang.org/x/net/html: Denial of Service due to excessive HTML parsing
    go.mod
    A package you depend on has a known security hole (CVE-2026-25680). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-42502 golang.org/x/net/html: golang: golang.org/x/net/html: Cross-Site Scripting via unexpected HTML tree rendering
    go.mod
    A package you depend on has a known security hole (CVE-2026-42502). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-42506 golang.org/x/net/html: golang.org/x/net/html: Cross-Site Scripting (XSS) via arbitrary HTML parsing
    go.mod
    A package you depend on has a known security hole (CVE-2026-42506). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-56852 golang.org/x/text: golang.org/x/text: Denial of Service via invalid UTF-8 input
    go.mod
    A package you depend on has a known security hole (CVE-2026-56852). Fix: Update that package to its patched version.
  • Worth fixing GHSA-hrxh-6v49-42gf gRPC-Go: xDS RBAC and HTTP/2 Vulnerabilities
    go.mod
    A package you depend on has a known security hole (GHSA-hrxh-6v49-42gf). Fix: Update that package to its patched version.
  • FYI CVE-2026-46600 Parsing an invalid SVCB or HTTPS RR can panic when the size of a param ...
    go.mod
    A package you depend on has a known security hole (CVE-2026-46600). Fix: Update that package to its patched version.
… 1 more not shown

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 52 found · 7 serious

Your dependencies cross-checked against the OSV vulnerability database.

  • Serious GO-2026-5005 Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39833). Fix: Update that package to its patched version.
  • Serious GO-2026-5006 Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39832). Fix: Update that package to its patched version.
  • Serious GO-2026-5017 Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39830). Fix: Update that package to its patched version.
  • Serious GO-2026-5019 Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39831). Fix: Update that package to its patched version.
  • Serious GO-2026-5020 Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39834). Fix: Update that package to its patched version.
  • Serious GO-2026-5021 Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-42508). Fix: Update that package to its patched version.
  • Serious GO-2026-5023 Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-46595). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-4479 Usage of random nonce generation with AES GCM ciphers risks leaking the authentication key in github.com/pion/dtls
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-26014). Fix: Update that package to its patched version.
  • Worth fixing GHSA-wg4g-wm44-ch5j Pion DTLS vulnerable to denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-54908). Fix: Update that package to its patched version.
  • Worth fixing GHSA-34rh-wp3j-6cxc Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-54909). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5676 HTTP/3 QPACK Trailer Expansion Memory Exhaustion in github.com/quic-go/quic-go
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-40898). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5013 Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-46597). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5014 Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39828). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5015 Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39835). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5016 Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39827). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5018 Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-39829). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5033 Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-46598). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-5028 Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-25680). Fix: Update that package to its patched version.
  • Worth fixing GO-2026-6061 Vulnerabilities in the xDS RBAC authorization engine and the HTTP/2 transport server implementation in google.golang.org/grpc
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • FYI GO-2026-5774 Chi has an IP spoofing vulnerability in middleware.RealIP in github.com/go-chi/chi
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • FYI GO-2026-5775 Chi Middleware vulnerable to IP spoofing via X-Forwarded-For header in github.com/go-chi/chi
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • FYI GO-2026-5777 Chi's RealIP Middleware allows IP spoofing via unvalidated X-Forwarded-For header in github.com/go-chi/chi
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • FYI GO-2026-5841 OOB read in github.com/klauspost/compress/s2
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • FYI GO-2026-5932 The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • FYI GO-2026-5025 Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
    /workdirs/scan-6f3da20f-9a23-4fce-b614-1a139e2c9293/go.mod
    A package you depend on has a known security hole (CVE-2026-42506). Fix: Update that package to its patched version.
… 27 more not shown

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 timed out

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

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

via Guarddog v2.10.0 · Apache-2.0

error: go:timeout

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.