-
Notifications
You must be signed in to change notification settings - Fork 0
fix(security): clear vibecoder semgrep blockers #4
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -27,7 +27,10 @@ export function setStorageErrorHandler(callback: StorageErrorCallback): void { | |||||||||
| */ | ||||||||||
| export function handleStorageError(error: unknown, operation: string): void { | ||||||||||
| const err = error instanceof Error ? error : new Error(String(error)); | ||||||||||
| console.error(`[Storage] ${operation} failed:`, err.message); | ||||||||||
| console.error("[Storage] operation failed", { | ||||||||||
| operation, | ||||||||||
| message: err.message, | ||||||||||
|
||||||||||
| message: err.message, | |
| message: err.message, | |
| error: err, | |
| stack: err.stack, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env.examplenow uses a placeholder anon key, but the Supabase URL is still a specific project URL. Since anon keys are project-specific, leaving a real URL here is misleading (copy/paste will fail unless the user also changes the URL) and may unintentionally point people at a real project. Consider replacing the URL with a neutral placeholder to match the key.