gitsafehub
github.com/memset0/gpt_academic ↗

memset0/gpt_academic

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

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

Leaked secrets24Vulnerable dependencies8Known OSS vulnerabilitiesRisky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks 24 found · 10 serious

API keys, passwords or tokens committed into the repo.

  • Serious huggingface-access-token Discovered a Hugging Face Access token, which could lead to unauthorized access to AI models and sensitive data.
    config.py:264
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious openai-api-key Found an OpenAI API Key, posing a risk of unauthorized access to AI services and data manipulation.
    docker-compose.yml:36
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious alibaba-access-key-id Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.
    docker-compose.yml:52
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious alibaba-access-key-id Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.
    docker-compose.yml:225
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious alibaba-access-key-id Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.
    docs/use_audio.md:36
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious huggingface-access-token Discovered a Hugging Face Access token, which could lead to unauthorized access to AI models and sensitive data.
    config.py:264
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious openai-api-key Found an OpenAI API Key, posing a risk of unauthorized access to AI services and data manipulation.
    docker-compose.yml:36
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious alibaba-access-key-id Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.
    docker-compose.yml:52
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious alibaba-access-key-id Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.
    docker-compose.yml:225
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious alibaba-access-key-id Detected an Alibaba Cloud AccessKey ID, posing a risk of unauthorized cloud resource access and potential data compromise.
    docs/use_audio.md:36
    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.
    crazy_functions/pdf_fns/parse_pdf_via_doc2x.py:42
    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.
    docker-compose.yml:42
    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.
    docs/use_audio.md:24
    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.
    docs/use_audio.md:25
    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.
    docs/use_audio.md: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.
    docs/use_audio.md:37
    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.
    docs/use_azure.md:151
    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.
    crazy_functions/pdf_fns/parse_pdf_via_doc2x.py:42
    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.
    docker-compose.yml:42
    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.
    docs/use_audio.md:24
    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.
    docs/use_audio.md:25
    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.
    docs/use_audio.md: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.
    docs/use_audio.md:37
    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.
    docs/use_azure.md:151
    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 8 found

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

  • Worth fixing CVE-2024-12704 llama-index: Denial of Service (DoS) in run-llama/llama_index
    requirements.txt
    A package you depend on has a known security hole (CVE-2024-12704). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-5302 llama_index: Denial of Service (DOS) in JSONReader in run-llama/llama_index
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-5302). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-7647 llama-index-core: Insecure Temporary File Handling in run-llama/llama_index
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-7647). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-5472 llama-index: Denial of Service in llama_index
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-5472). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-6208 llama_index: llama_index: Denial of Service due to uncontrolled memory consumption in SimpleDirectoryReader
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-6208). Fix: Update that package to its patched version.
  • Worth fixing CVE-2022-1941 protobuf: message parsing vulnerability in ProtocolBuffers
    requirements.txt
    A package you depend on has a known security hole (CVE-2022-1941). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-4565 python-protobuf: Unbounded recursion in Python Protobuf
    requirements.txt
    A package you depend on has a known security hole (CVE-2025-4565). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-0994 python: protobuf: Protobuf: Denial of Service due to recursion depth bypass
    requirements.txt
    A package you depend on has a known security hole (CVE-2026-0994). Fix: Update that package to its patched version.

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner timed out

Your dependencies cross-checked against the OSV vulnerability database.

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

via OSV-Scanner v1.9.2 · Apache-2.0

error: timeout after 400s

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: pypi: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.