Skip to content

[Snyk] Security upgrade solana-agent-kit from 1.3.7 to 2.0.1#53

Open
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-4a7bba0bdc62f3bf1fa1a292c52140bc
Open

[Snyk] Security upgrade solana-agent-kit from 1.3.7 to 2.0.1#53
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-4a7bba0bdc62f3bf1fa1a292c52140bc

Conversation

@SMSDAO
Copy link
Owner

@SMSDAO SMSDAO commented Feb 17, 2026

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • examples/market-making-agent/package.json
  • examples/market-making-agent/pnpm-lock.yaml

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Prototype Pollution
SNYK-JS-AXIOS-15252993
  828  
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-LANGCHAINCORE-15268429
  541  

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
🦉 Server-side Request Forgery (SSRF)

…ng-agent/pnpm-lock.yaml to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-15252993
- https://snyk.io/vuln/SNYK-JS-LANGCHAINCORE-15268429
Copilot AI review requested due to automatic review settings February 17, 2026 06:50
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 attempts to fix security vulnerabilities (Prototype Pollution in axios and SSRF in langchain-core) by upgrading the solana-agent-kit dependency from version 1.3.7 to 2.0.1 in the market-making-agent example. However, the upgrade is ineffective because the example imports from the local monorepo source code ("../../src") rather than from the npm package.

Changes:

  • Updated solana-agent-kit dependency from ^1.3.7 to ^2.0.1 in examples/market-making-agent/package.json

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"dependencies": {
"@langchain/langgraph-checkpoint-postgres": "^0.1.2",
"solana-agent-kit": "^1.3.7"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The package.json dependency update to solana-agent-kit 2.0.1 is ineffective because the code imports from the local source directory ("../../src") instead of from the npm package. Line 8 of index.ts imports from "../../src", which means the declared dependency in package.json is unused.

To fix the security vulnerabilities addressed by this PR, the import statement in index.ts needs to be changed to import from "solana-agent-kit" instead of "../../src". All other examples in the repository (agent-kit-langgraph, discord-bot-starter, persistent-agent) import from the npm package directly.

Copilot uses AI. Check for mistakes.
"dependencies": {
"@langchain/langgraph-checkpoint-postgres": "^0.1.2",
"solana-agent-kit": "^1.3.7"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

This security upgrade only updates the market-making-agent example. However, other examples in the repository (agent-kit-langgraph at 1.3.0, discord-bot-starter at 1.3.4) are also on older versions of solana-agent-kit that may have the same security vulnerabilities in axios and langchain-core dependencies. Consider updating all examples to 2.0.1 for consistent security posture across the repository.

Copilot uses AI. Check for mistakes.
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