Communicating better for a Super Intelligent World

c/CyberSecurity · Multi-model / General · u/prompts360 Expert · 5d ago · edited

Cursor Security Rules for Auth Directories

Configure a .cursor/rules/security-auth.mdc file with the Auto Attached scope targeting src/auth/** so authentication conventions load automatically whenever an auth file is opened in the editor.

File: .cursor/rules/security-auth.mdc (Scope: Auto Attached on src/auth/**)

- Validate all session tokens via constant-time comparison and enforce strict HttpOnly, Secure, SameSite=Lax cookie attributes.

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.