code injection in node langchain vectorstore #18928
vmsperandio
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good afternoon everybody,
I was able to ingest documents into the database, according to the langchain method below, but the return is an ingestion of malicious code on my page, as shown in the print below. Does anyone else have this vulnerability?
const vectorstore = await SupabaseVectorStore.fromDocuments(
splittedDocuments,
embeddings,
{
client,
tableName: "documents",
queryName: "match_documents",
},
);
[cause]: Error: Error searching for documents: undefined <script type="text/javascript">location.replace("https://malware.opendns.com/?url=MY_PASSWORD.supabase.co%2Frest%2Fv1%2Frpc%2Fmatch_documents&server=nyc4&prefs=&tagging=&nref");</script>
Beta Was this translation helpful? Give feedback.
All reactions