Skip to content

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

Open
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-7842092bf72c5592d8c1c762e8287eb0
Open

[Snyk] Security upgrade solana-agent-kit from 1.4.5 to 2.0.1#44
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-7842092bf72c5592d8c1c762e8287eb0

Conversation

@SMSDAO
Copy link
Owner

@SMSDAO SMSDAO commented Feb 12, 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
high severity Prototype Pollution
SNYK-JS-AXIOS-15252993
  828  

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

…i-personality-engine/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-15252993
Copilot AI review requested due to automatic review settings February 12, 2026 06:52
@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
Addedsolana-agent-kit@​2.0.18310010089100
Updatedtypescript@​5.6.3 ⏵ 5.7.3100 +110090 +110090

View full report

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 updates the examples/orbofi-personality-engine example’s npm dependency on solana-agent-kit to remediate a reported vulnerability (Snyk: axios prototype pollution), by upgrading the dependency to a new major version.

Changes:

  • Bump solana-agent-kit in the example from ^1.x to ^2.0.1.
  • Regenerate package-lock.json to reflect the upgraded dependency.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
examples/orbofi-personality-engine/package.json Updates the example to depend on solana-agent-kit@^2.0.1.
examples/orbofi-personality-engine/package-lock.json Locks solana-agent-kit to 2.0.1 and updates the dependency graph accordingly.

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

Comment on lines 12 to 15
"dependencies": {
"@langchain/langgraph-checkpoint-postgres": "^0.0.2",
"solana-agent-kit": "^1.3.0"
"solana-agent-kit": "^2.0.1"
},
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

[email protected] requires Node >=22 (see lockfile engines). Consider adding an engines.node field to this example's package.json so users get a clear requirement up front instead of discovering it during install/runtime.

Copilot uses AI. Check for mistakes.
Comment on lines -1295 to -1298
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/@scure/bip39":
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The lockfile shows [email protected] declares engines.node >=22.0.0. If this example is expected to be runnable standalone, it would be better to reflect the same Node requirement in package.json (and/or README) to avoid confusing install failures on older Node versions.

Copilot uses AI. Check for mistakes.
Comment on lines -1291 to -1295
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/@scure/bip39":
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

This [email protected] block doesn’t list any dependencies/peerDependencies metadata in the lockfile stanza. If the package expects consumers to provide peer deps (e.g., Solana/web3 libs), this example may need to add those packages explicitly to package.json to ensure a complete install.

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