Use when asked to review a MR/PR on GitHub or GitLab. Checks for XSS vulnerabilities, validates ARIA attributes and WCAG compliance, identifies render-blocking issues and race conditions, enforces semantic HTML. Produces actionable feedback.
93
93%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
Reference standards for server-side HTML template review. Generic rules applicable to server-side HTML templating engines (e.g. Twig).
{% include %} tag instead of include() function in Twig. [Suggestion]include() without false as third argument (variable leakage into included template). [Important]|default() for booleans — use ?? (null coalescing); |default() treats false, 0, "", null as empty. [Important]|default('') for non-string fallbacks. [Suggestion]isActive ? 'isActive' : '') — Twig handles falsy natively. [Minor]|e('html'), |e('html_attr'), |e('js')); |raw only when explicitly trusted and sanitized. [Blocking]'Hello ' ~ name). [Suggestion]a, b, e, item1). [Important].twig files). [Minor]