Skip to content

[Snyk] Security upgrade langchain from 0.0.67 to 0.1.29#109

Open
bozza-man wants to merge 1 commit intomasterfrom
snyk-fix-f4bc2481abb237ecdb5001865ce25a60
Open

[Snyk] Security upgrade langchain from 0.0.67 to 0.1.29#109
bozza-man wants to merge 1 commit intomasterfrom
snyk-fix-f4bc2481abb237ecdb5001865ce25a60

Conversation

@bozza-man
Copy link
Member

@bozza-man bozza-man commented Nov 11, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • examples/langchain/langchainjs-localai-example/package.json
  • examples/langchain/langchainjs-localai-example/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Prototype Pollution
SNYK-JS-EXPREVAL-13833679
  184  

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.

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:

🦉 Prototype Pollution


Note

Bumps langchain to 0.1.29 in the example and refreshes the lockfile with significant transitive dependency updates (e.g., @langchain/*, OpenAI v4, Anthropic SDK).

  • Dependencies:
    • Upgrade langchain from ^0.0.67 to ^0.1.29 in examples/langchain/langchainjs-localai-example/package.json.
    • Refresh package-lock.json with major transitive changes:
      • Adds/updates @langchain/*, langsmith, js-tiktoken, openai@^4, @anthropic-ai/sdk@^0.9, and related packages.
      • Removes/replaces older deps (e.g., openai@3, cross-fetch, axios, @dqbd/tiktoken, browser-or-node).

Written by Cursor Bugbot for commit 4d2fd38. This will update automatically on new commits. Configure here.

…amples/langchain/langchainjs-localai-example/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-EXPREVAL-13833679
@coderabbitai
Copy link

coderabbitai bot commented Nov 11, 2025

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch snyk-fix-f4bc2481abb237ecdb5001865ce25a60

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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