gitsafehub
github.com/fuzhengwei/openai-sdk-java ↗

fuzhengwei/openai-sdk-java

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

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

Leaked secrets4Vulnerable dependencies14Known OSS vulnerabilities9Risky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks 4 found · 1 serious

API keys, passwords or tokens committed into the repo.

  • Serious curl-auth-header Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.
    src/test/java/cn/bugstack/openai/test/model/brain360/curl.sh: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.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    src/test/java/cn/bugstack/openai/test/model/chatglm/ChatGLMTest.java:124
    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.
    src/test/resources/.env:34
    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.
    src/test/java/cn/bugstack/openai/test/model/baidu/BaiduTest.java:120
    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 14 found · 1 serious

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

  • Serious CVE-2023-24163 Dromara hutool vulnerable to SQL Injection
    pom.xml
    A package you depend on has a known security hole (CVE-2023-24163). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-52999 com.fasterxml.jackson.core/jackson-core: jackson-core Potential StackoverflowError
    pom.xml
    A package you depend on has a known security hole (CVE-2025-52999). Fix: Update that package to its patched version.
  • Worth fixing GHSA-r7wm-3cxj-wff9 jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
    pom.xml
    A package you depend on has a known security hole (GHSA-r7wm-3cxj-wff9). Fix: Update that package to its patched version.
  • Worth fixing CVE-2022-42003 jackson-databind: deep wrapper array nesting wrt UNWRAP_SINGLE_VALUE_ARRAYS
    pom.xml
    A package you depend on has a known security hole (CVE-2022-42003). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54512 jackson-databind: jackson-databind: Arbitrary code execution via PolymorphicTypeValidator bypass
    pom.xml
    A package you depend on has a known security hole (CVE-2026-54512). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54513 jackson-databind: Jackson-databind: Security bypass allows arbitrary code execution
    pom.xml
    A package you depend on has a known security hole (CVE-2026-54513). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-50193 jackson-databind: Jackson-databind: Denial of Service via deeply nested JSON processing
    pom.xml
    A package you depend on has a known security hole (CVE-2026-50193). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54514 jackson-databind: jackson-databind: Information Disclosure via Eager DNS Resolution
    pom.xml
    A package you depend on has a known security hole (CVE-2026-54514). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54515 jackson-databind: jackson-databind: Ignored properties can be unexpectedly modified
    pom.xml
    A package you depend on has a known security hole (CVE-2026-54515). Fix: Update that package to its patched version.
  • Worth fixing CVE-2021-0341 okhttp: information disclosure via improperly used cryptographic function
    pom.xml
    A package you depend on has a known security hole (CVE-2021-0341). Fix: Update that package to its patched version.
  • Worth fixing CVE-2023-3635 okio: GzipSource class improper exception handling
    pom.xml
    A package you depend on has a known security hole (CVE-2023-3635). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-48924 commons-lang/commons-lang: org.apache.commons/commons-lang3: Uncontrolled Recursion vulnerability in Apache Commons Lang
    pom.xml
    A package you depend on has a known security hole (CVE-2025-48924). Fix: Update that package to its patched version.
  • Worth fixing CVE-2020-29582 kotlin: vulnerable Java API was used for temporary file and folder creation which could result in information disclosure
    pom.xml
    A package you depend on has a known security hole (CVE-2020-29582). Fix: Update that package to its patched version.
  • Worth fixing CVE-2022-24329 kotlin: Not possible to lock dependencies for Multiplatform Gradle Projects
    pom.xml
    A package you depend on has a known security hole (CVE-2022-24329). Fix: Update that package to its patched version.

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 9 found · 1 serious

Your dependencies cross-checked against the OSV vulnerability database.

  • Serious GHSA-6c25-cxcc-pmc4 Dromara hutool vulnerable to SQL Injection
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2023-24163). Fix: Update that package to its patched version.
  • Worth fixing GHSA-3wrr-7qpf-2prh jackson-databind: Deeply nested JsonNode throws StackOverflowError for toString()
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2026-50193). Fix: Update that package to its patched version.
  • Worth fixing GHSA-5jmj-h7xm-6q6v jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2026-54515). Fix: Update that package to its patched version.
  • Worth fixing GHSA-hgj6-7826-r7m5 jackson-databind: InetSocketAddress deserialization triggers eager DNS resolution (SSRF)
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2026-54514). Fix: Update that package to its patched version.
  • Worth fixing GHSA-j3rv-43j4-c7qm jackson-databind has a PolymorphicTypeValidator bypass via generic type parameters that allows arbitrary class instantiation
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2026-54512). Fix: Update that package to its patched version.
  • Worth fixing GHSA-jjjh-jjxp-wpff Uncontrolled Resource Consumption in Jackson-databind
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2022-42003). Fix: Update that package to its patched version.
  • Worth fixing GHSA-rmj7-2vxq-3g9f jackson-databind has an array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2026-54513). Fix: Update that package to its patched version.
  • Worth fixing GHSA-w33c-445m-f8w7 Okio Signed to Unsigned Conversion Error vulnerability
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2023-3635). Fix: Update that package to its patched version.
  • Worth fixing GHSA-j288-q9x7-2f5v Apache Commons Lang is vulnerable to Uncontrolled Recursion when processing long inputs
    /workdirs/scan-ee8079ab-1fd7-4201-9b8c-a8bae3d4bde7/pom.xml
    A package you depend on has a known security hole (CVE-2025-48924). 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.