UNPKG

@sun-asterisk/sunlint

Version:

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

42 lines (41 loc) 1.06 kB
{ "id": "S043", "name": "Password changes must invalidate all other login sessions", "category": "security", "description": "S043 - Ensure attackers cannot continue using old session tokens after a password change. Enforce correct access control after sensitive updates.", "severity": "error", "enabled": true, "semantic": { "enabled": true, "priority": "high", "fallback": "heuristic" }, "patterns": { "include": ["**/*.js", "**/*.ts", "**/*.jsx", "**/*.tsx"], "exclude": [ "**/*.test.js", "**/*.test.ts", "**/*.spec.js", "**/*.spec.ts", "**/node_modules/**", "**/dist/**", "**/build/**" ] }, "analysis": { "approach": "symbol-based-primary", "fallback": "regex-based", "depth": 1, "timeout": 4000 }, "validation": { "httpIndicators": [ "http://", "require('http')", "require(\"http\")", "http.createServer" ], "httpsModules": ["https", "tls"], "frameworks": ["express", "nextjs", "nuxtjs", "nestjs"] } }