[0] https://forum.cursor.com/t/environment-secrets-and-code-secu...
I can see from that thread that the approach hasn’t been perfect, but it seems that the last two releases have tried to address that :
“0.46.x : .cursorignore now blocks files from being added in chat or sent up for tab completions, in addition to ignoring them from indexing.”