Skip to content

[Snyk] Fix for 3 vulnerabilities#163

Open
q1blue wants to merge 1 commit intomainfrom
snyk-fix-78f1b356dd1c51906245136bdd0126a4
Open

[Snyk] Fix for 3 vulnerabilities#163
q1blue wants to merge 1 commit intomainfrom
snyk-fix-78f1b356dd1c51906245136bdd0126a4

Conversation

@q1blue
Copy link
Copy Markdown

@q1blue q1blue commented Jan 17, 2026

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt
⚠️ Warning
transformers 4.30.2 requires tokenizers, which is not installed.
qdrant-client 1.3.1 has requirement numpy<1.21; python_version < "3.8", but you have numpy 1.21.3.
python-docx 1.1.2 has requirement typing-extensions>=4.9.0, but you have typing-extensions 4.5.0.
platformdirs 4.0.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 4.5.0.
onnxruntime 1.14.1 has requirement numpy>=1.21.6, but you have numpy 1.21.3.
llama-index 0.6.35 requires langchain, which is not installed.
llama-index 0.6.35 requires tiktoken, which is not installed.
llama-index 0.6.35 has requirement fsspec>=2023.5.0, but you have fsspec 2023.1.0.
fake-useragent 1.1.3 has requirement importlib-metadata~=4.0; python_version < "3.8", but you have importlib-metadata 6.6.0.
chromadb 0.3.26 requires duckdb, which is not installed.
chromadb 0.3.26 requires hnswlib, which is not installed.
chromadb 0.3.26 requires tokenizers, which is not installed.
chromadb 0.3.26 has requirement numpy>=1.21.6, but you have numpy 1.21.3.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)


EntelligenceAI PR Summary

This PR updates Python package dependencies to newer versions.

  • Upgraded filelock from 3.12.0 to 3.20.3 (minor version bump)
  • Upgraded pypdf from 3.11.0 to 6.6.0 (major version bump spanning multiple major releases)
  • The pypdf upgrade may introduce breaking changes requiring compatibility updates

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Walkthrough

This PR updates two Python package dependencies in the requirements file. The filelock package receives a minor version upgrade from 3.12.0 to 3.20.3, which likely includes bug fixes and incremental improvements. More significantly, pypdf is upgraded from 3.11.0 to 6.6.0, representing a major version jump across multiple major releases. This substantial upgrade may introduce new features, performance enhancements, and potentially breaking API changes that could require code modifications to maintain compatibility. Both updates aim to keep dependencies current with the latest stable releases.

Changes

File(s) Summary
requirements.txt Updated filelock from 3.12.0 to 3.20.3 and pypdf from 3.11.0 to 6.6.0.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant App as Application
    participant FileOps as File Operations Module
    participant PDFOps as PDF Operations Module
    participant filelock as filelock Library (3.12.0 → 3.20.3)
    participant pypdf as pypdf Library (3.11.0 → 6.6.0)
    
    Note over App,pypdf: Dependency Version Updates Only
    
    App->>FileOps: Initialize file operations
    FileOps->>filelock: Import and use file locking
    Note right of filelock: Updated to v3.20.3<br/>(bug fixes & improvements)
    
    App->>PDFOps: Initialize PDF operations
    PDFOps->>pypdf: Import and use PDF processing
    Note right of pypdf: Updated to v6.6.0<br/>(major version upgrade)
    
    Note over App,pypdf: No architectural changes<br/>Same APIs, updated implementations
Loading

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

@snyk-io
Copy link
Copy Markdown

snyk-io bot commented Jan 17, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants