-
Notifications
You must be signed in to change notification settings - Fork 142
feat: sqlite #3666
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
base: main
Are you sure you want to change the base?
feat: sqlite #3666
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
11e48fd to
6e7aff4
Compare
Pull Request Review: SQLite SupportThis PR adds SQLite database support to RivetKit with a custom KV-backed VFS implementation. ✅ Strengths
|
Pull Request Review: SQLite SupportThis PR adds SQLite database support to RivetKit with a KV-backed VFS implementation. Overall, this is a significant and well-structured feature, but there are critical security vulnerabilities that must be addressed before merging. 🚨 Critical Security Issues1. SQL Injection VulnerabilitiesLocation: Multiple instances of SQL injection through string interpolation (lines 19, 48, 65, 74). Any user input passed to these functions could execute arbitrary SQL commands. Fix: Use parameterized queries instead of string interpolation: // WRONG - vulnerable to SQL injection
await c.db.execute(
`INSERT INTO test_data (value, created_at) VALUES ('${value}', ${Date.now()})`
);
// CORRECT - use parameterized queries
await c.db.execute(
"INSERT INTO test_data (value, created_at) VALUES (?, ?)",
value,
Date.now()
);Note: The
|
6e7aff4 to
4bd9a35
Compare
4bd9a35 to
4e6fb02
Compare
4e6fb02 to
4c7288e
Compare
4c7288e to
2fe07ff
Compare
2fe07ff to
8ddb5d7
Compare

No description provided.