[Snyk] Security upgrade solana-agent-kit from 1.4.5 to 2.0.1#19
[Snyk] Security upgrade solana-agent-kit from 1.4.5 to 2.0.1#19
Conversation
…i-personality-engine/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-14908844
There was a problem hiding this comment.
Pull request overview
This PR upgrades the solana-agent-kit dependency from version 1.4.5 to 2.0.1 to address a security vulnerability (SNYK-JS-ELLIPTIC-14908844) related to cryptographic primitive implementation in the elliptic package, with a severity score of 708.
Changes:
- Upgraded solana-agent-kit from ^1.3.0 to ^2.0.1 in the orbofi-personality-engine example
- Updated package-lock.json with the new version and its dependencies
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "@langchain/langgraph-checkpoint-postgres": "^0.0.2", | ||
| "solana-agent-kit": "^1.3.0" | ||
| "solana-agent-kit": "^2.0.1" | ||
| }, |
There was a problem hiding this comment.
The upgrade to solana-agent-kit 2.0.1 introduces a breaking change that requires Node.js version 22.0.0 or higher and pnpm version 8.0.0 or higher. The package.json should include an "engines" field to explicitly declare these requirements, ensuring users are aware of the minimum Node.js and pnpm versions needed to run this example.
| }, | |
| }, | |
| "engines": { | |
| "node": ">=22.0.0", | |
| "pnpm": ">=8.0.0" | |
| }, |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
examples/orbofi-personality-engine/package.jsonexamples/orbofi-personality-engine/package-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-ELLIPTIC-14908844
Important
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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.