Skip to content

[WIP] Update security upgrade of solana-agent-kit to 2.0.1#34

Merged
SMSDAO merged 2 commits intosnyk-fix-79d17d74375956f9b19adb7e2186c148from
copilot/sub-pr-29
Jan 30, 2026
Merged

[WIP] Update security upgrade of solana-agent-kit to 2.0.1#34
SMSDAO merged 2 commits intosnyk-fix-79d17d74375956f9b19adb7e2186c148from
copilot/sub-pr-29

Conversation

Copy link

Copilot AI commented Jan 30, 2026

  • Update all example package.json files to use solana-agent-kit version ^2.0.1
    • market-making-agent (already on 2.0.1)
    • orbofi-personality-engine (updated from 1.3.0)
    • agent-kit-mcp-server (updated from 1.4.8)
    • discord-bot-starter (updated from 1.3.4)
    • agent-kit-langgraph (updated from 1.3.0)
    • agent-kit-nextjs-langchain (updated from 1.3.0)
    • tg-bot-starter/advanced-tg-bot (updated from 1.3.0)
    • tg-bot-starter/basic-tg-bot (updated from 1.3.0)
    • tg-bot-starter/group-tg-bot (updated from 1.3.0)
    • persistent-agent (updated from 1.3.0)
  • Run code review
  • Run security checks

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: SMSDAO <144380926+SMSDAO@users.noreply.github.com>
@SMSDAO SMSDAO marked this pull request as ready for review January 30, 2026 13:11
Copilot AI review requested due to automatic review settings January 30, 2026 13:11
@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
Addedts-node@​10.9.29710010082100
Updatedreact@​19.0.0 ⏵ 19.2.31001008497100
Addedtypescript@​5.6.31001009010090
Added@​langchain/​community@​0.3.20951009098100

View full report

@SMSDAO SMSDAO merged commit 0a2c321 into snyk-fix-79d17d74375956f9b19adb7e2186c148 Jan 30, 2026
6 checks passed
Copilot AI requested a review from SMSDAO January 30, 2026 13:13
Copilot stopped work on behalf of SMSDAO due to an error January 30, 2026 13:13
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

Updates the example projects to use solana-agent-kit ^2.0.1 as part of a security upgrade effort.

Changes:

  • Bump solana-agent-kit dependency to ^2.0.1 across multiple example package.json files.
  • Standardize the dependency version in examples previously on various 1.x versions.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
examples/tg-bot-starter/group-tg-bot/package.json Bumps solana-agent-kit to ^2.0.1 for the group Telegram bot example.
examples/tg-bot-starter/basic-tg-bot/package.json Bumps solana-agent-kit to ^2.0.1 for the basic Telegram bot example.
examples/tg-bot-starter/advanced-tg-bot/package.json Bumps solana-agent-kit to ^2.0.1 for the advanced Telegram bot example.
examples/persistent-agent/package.json Bumps solana-agent-kit to ^2.0.1 for the persistent agent example.
examples/orbofi-personality-engine/package.json Bumps solana-agent-kit to ^2.0.1 for the Orbofi personality engine example.
examples/discord-bot-starter/package.json Bumps solana-agent-kit to ^2.0.1 for the Discord bot starter example.
examples/agent-kit-nextjs-langchain/package.json Bumps solana-agent-kit to ^2.0.1 for the Next.js + LangChain example.
examples/agent-kit-mcp-server/package.json Bumps solana-agent-kit to ^2.0.1 for the MCP server example.
examples/agent-kit-langgraph/package.json Bumps solana-agent-kit to ^2.0.1 for the LangGraph example.

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

"react": "^19.2.0",
"react-dom": "^19.0.0",
"solana-agent-kit": "^1.3.0"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (e.g., run pnpm install in this example) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "^1.3.0"

Copilot uses AI. Check for mistakes.
"react": "^19.2.0",
"react-dom": "^19.0.0",
"solana-agent-kit": "^1.3.0"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (e.g., run pnpm install in this example) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "1.3.0"

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

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (run pnpm install here) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "^1.3.0"

Copilot uses AI. Check for mistakes.
"discord.js": "^14.25.1",
"dotenv": "^16.4.7",
"solana-agent-kit": "^1.3.4"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but examples/discord-bot-starter/pnpm-lock.yaml still pins solana-agent-kit to 1.3.4. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "^1.3.4"

Copilot uses AI. Check for mistakes.
"react-dom": "^18.3.1",
"react-toastify": "^9.1.3",
"solana-agent-kit": "^1.3.0",
"solana-agent-kit": "^2.0.1",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but examples/agent-kit-nextjs-langchain/pnpm-lock.yaml still pins solana-agent-kit to 1.3.0. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1",
"solana-agent-kit": "1.3.0",

Copilot uses AI. Check for mistakes.
"@modelcontextprotocol/sdk": "^1.5.0",
"dotenv": "^16.4.7",
"solana-agent-kit": "1.4.8",
"solana-agent-kit": "^2.0.1",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but examples/agent-kit-mcp-server/pnpm-lock.yaml still pins solana-agent-kit to 1.4.8. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1",
"solana-agent-kit": "1.4.8",

Copilot uses AI. Check for mistakes.
"react": "^19.0.0",
"react-dom": "^19.0.0",
"solana-agent-kit": "^1.3.0"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but the corresponding pnpm-lock.yaml in this example still pins solana-agent-kit to 1.3.0. Please update the lockfile (e.g., run pnpm install in this example) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "^1.3.0"

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

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

package.json was updated to solana-agent-kit ^2.0.1, but this example’s package-lock.json still references solana-agent-kit ^1.3.0 / 1.x (and will keep npm installs on the old version). Please regenerate/update package-lock.json so npm installs resolve to 2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "^1.3.0"

Copilot uses AI. Check for mistakes.
"@solana/web3.js": "^1.98.0",
"dotenv": "^16.4.7",
"solana-agent-kit": "^1.3.0",
"solana-agent-kit": "^2.0.1",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

This dependency was bumped in package.json, but examples/agent-kit-langgraph/pnpm-lock.yaml still pins solana-agent-kit to 1.3.0. Please update the lockfile (pnpm install) so installs/CI actually use solana-agent-kit ^2.0.1.

Suggested change
"solana-agent-kit": "^2.0.1",
"solana-agent-kit": "^1.3.0",

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