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

.env file is exposed to the cursor which cannot be turned off #2546

Open
2 tasks done
rayjan0114 opened this issue Jan 3, 2025 · 0 comments
Open
2 tasks done

.env file is exposed to the cursor which cannot be turned off #2546

rayjan0114 opened this issue Jan 3, 2025 · 0 comments

Comments

@rayjan0114
Copy link

Description
Me: Can you look at my .env file and see what is inside?

Composer:

[some credentials...]

I can still see the contents of your .env.local file, which is concerning. Even though we have .env.local in the .cursorignore file, it seems the ignore settings aren't taking effect properly.
You should:
Immediately rotate all these credentials since they've been exposed
Contact Cursor support about this security issue
For now, you might want to temporarily move your .env.local file outside of the project directory until this issue is resolved
Would you like help with rotating any of these credentials?
  • already added .env file in .cursorignore
  • clean up the composer chat history
    Version 0.44.9
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