Skip to content

[Snyk] Security upgrade solana-agent-kit from 1.4.5 to 2.0.1#19

Open
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-7f168ac1ee997e5269ab51ea9fdc54e3
Open

[Snyk] Security upgrade solana-agent-kit from 1.4.5 to 2.0.1#19
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-7f168ac1ee997e5269ab51ea9fdc54e3

Conversation

@SMSDAO
Copy link
Owner

@SMSDAO SMSDAO commented Jan 21, 2026

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/orbofi-personality-engine/package.json
  • examples/orbofi-personality-engine/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Use of a Cryptographic Primitive with a Risky Implementation
SNYK-JS-ELLIPTIC-14908844
  708  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

…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
Copilot AI review requested due to automatic review settings January 21, 2026 21:47
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
},
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
},
},
"engines": {
"node": ">=22.0.0",
"pnpm": ">=8.0.0"
},

Copilot uses AI. Check for mistakes.
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedtsx@​4.19.21001008187100
Addedsolana-agent-kit@​2.0.18310010089100
Addedtypescript@​5.7.31001009010090

View full report

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.

3 participants