UNPKG

@sun-asterisk/sunlint

Version:

☀️ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards

21 lines (20 loc) 566 B
{ "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/**" ] } }