{
  "id": "S040",
  "name": "Session Fixation Protection - Regenerate Session on Login",
  "category": "security",
  "description": "S040 - Prevent Session Fixation attacks by regenerating session tokens after successful authentication.",
  "severity": "error",
  "enabled": true,
  "patterns": {
    "include": ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx", "**/*.php", "**/*.py"],
    "exclude": [
      "**/*.test.*",
      "**/*.spec.*",
      "__tests__/**",
      "__mocks__/**",
      "**/node_modules/**",
      "**/dist/**",
      "**/build/**"
    ]
  }
}
