Cursor · RulesSeguridad
Cookie scope
Cookies with minimal domain and path.
by Prompt Studio
securitycookies
License: MITView original
Contents
Where it goes: .cursor/rules/sec-cookie-scope.mdc
---
description: Cookies con dominio y ruta mínimos
globs:
alwaysApply: false
---
# Alcance de cookies
- No compartas cookies entre subdominios sin necesidad
- Prefijos `__Host-`
- Expiraciones cortas
- Nada sensible en cookies legibles por JS
More in Rules
Project AGENTS.md
Plain Markdown instructions at the repo root: stack, commands and conventions.
Concise answers
Always-on rule: less prose, more code, no restating context.
Conventional commits
feat/fix/chore format with scope and imperative messages.
Testing with Vitest
When to write tests, how to name them and what to avoid.
Security basics
Secrets, input validation and safe queries.
API endpoints
Consistent responses, correct HTTP codes and validation.