Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/market-making-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"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.
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.
}
}
Loading