In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @langchain/google-cloud-sql-pg to version 1.0.22 or higher.
@langchain/google-cloud-sql-pg is a LangChain.js integrations for Google Cloud SQL for PostgreSQL
Affected versions of this package are vulnerable to SQL Injection via the PostgresChatMessageHistory.initialize() method due to the improper parameters validation before incorporating them into SQL statements. An attacker can execute arbitrary SQL commands by supplying crafted input with modified parameters table and schema.