Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended Security Warning #7

Open
g-01234 opened this issue Jan 2, 2025 · 0 comments
Open

Recommended Security Warning #7

g-01234 opened this issue Jan 2, 2025 · 0 comments

Comments

@g-01234
Copy link

g-01234 commented Jan 2, 2025

Hello,

As this is an example / "Getting Started" project, I would consider including a security warning that indicates that users should exercise caution when granting LLM access to their database, especially if they plan to make it public-facing, due to prompt injection risk.

Some of the more obvious commands are blocked here but there are enough missing that imo it warrants a heads-up. Users can also convince the LLM to chain multiple commands to bypass the !startsWith("select")

This sort of thing works on the demo app and is something you wouldn't want leaking.
image

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

No branches or pull requests

1 participant