Title: Security issue - create @tanstack/start with neon db exposes database url to client · Issue #287 · TanStack/cli · GitHub
Open Graph Title: Security issue - create @tanstack/start with neon db exposes database url to client · Issue #287 · TanStack/cli
X Title: Security issue - create @tanstack/start with neon db exposes database url to client · Issue #287 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug Creating a new tanstack start project with pnpm create @tanstack/start@latest per the docs will generate a project with the environment variables for the database pr...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug Creating a new tanstack start project with pnpm create @tanstack/start@latest per the docs will generate a project with the e...
X Description: Which project does this relate to? Create Tanstack App Describe the bug Creating a new tanstack start project with pnpm create @tanstack/start@latest per the docs will generate a project with the e...
Opengraph URL: https://github.com/TanStack/cli/issues/287
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Security issue - create @tanstack/start with neon db exposes database url to client","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nCreating a new tanstack start project with `pnpm create @tanstack/start@latest` per the docs will generate a project with the environment variables for the database prefixed with `VITE_` -- this means that they are sent to the client.\n\nBeing new to vite I had no idea this was the case. Luckily my app is not to production yet, but I'd expect a lot of people might overlook this when building a new app with this tool.\n\n### Your Example Website or App\n\nhttps://tanstack.com/start/latest/docs/framework/react/quick-start\n\n### Steps to Reproduce the Bug or Issue\n\n1. Follow the quick start instructions\n2. Expose your DB variables to the client\n\n### Expected behavior\n\nDo not expose sensitive variables to the client\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\nAny\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/billy-the-ape","@type":"Person","name":"billy-the-ape"},"datePublished":"2026-01-12T20:45:12Z","url":"https://github.com/TanStack/cli/issues/287"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d8152bc3-d1a8-57ad-beaf-612b0ee716c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6DC:8748A:2913CD2:35C3267:6AF9AC55 |
| html-safe-nonce | 0befd3b08e16bcd21077cc0ccc314c58bfe3b6fcd83dedfe746c5d04920bd7aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkRDOjg3NDhBOjI5MTNDRDI6MzVDMzI2Nzo2QUY5QUM1NSIsInZpc2l0b3JfaWQiOiIxMjg5NzY0MzU3MDY3NjE1MzE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6a21c8160234637f7fe6f6695944b88966f83766cc3315eb0cea8a6059ed17d8 |
| hovercard-subject-tag | issue:3805931290 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/287/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8167844da605662986dd6ba3fa47893ebee3b346da6b4b973a47f80aa6594be5/TanStack/cli/issues/287 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8167844da605662986dd6ba3fa47893ebee3b346da6b4b973a47f80aa6594be5/TanStack/cli/issues/287 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug Creating a new tanstack start project with pnpm create @tanstack/start@latest per the docs will generate a project with the e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | billy-the-ape |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/cli git https://github.com/TanStack/cli.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 932949058 |
| octolytics-dimension-repository_nwo | TanStack/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932949058 |
| octolytics-dimension-repository_network_root_nwo | TanStack/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width