npm98Exceptionalhealth index

cure53/DOMPurifyDOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
JavaScript · TypeScript★ 17.5K↓ 416M/moNov 19, 2026
npm90Excellenthealth index

asamassekou10/ship-safeThe independent security agent for AI-written software. Finds issues, investigates whether they are real, and shows you the evidence. Deterministic core, no API key needed, JSON and SARIF output.
JavaScript★ 873↓ 5,927/moDec 5, 2026
Packagist90Excellenthealth index

nette/latte☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.
PHP★ 1,295↓ 458.5K/moDec 3, 2026
NuGet89Excellenthealth index
C#★ 12KNov 26, 2026
crates.io88Excellenthealth index

hahwul/dalfox🌙🦊 Dalfox is a powerful open-source XSS scanner and utility focused on automation.
Rust★ 5,398↓ 231/moNov 24, 2026
Go87Excellenthealth index

chaitin/SafeLineSafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.
Go · C++★ 23.4KNov 22, 2026
npm87Excellenthealth index
TypeScript★ 605↓ 23.9M/moOct 24, 2026
npm86Excellenthealth index

humanspeak/svelte-markdown📝 Markdown and HTML renderer for Svelte 5 — built for streaming AI agent output from Claude Code, ChatGPT, and agentic workflows. XSS-safe defaults, token caching, TypeScript types.
TypeScript · Svelte★ 145↓ 143.8K/moOct 26, 2026
NuGet86Excellenthealth index
C#★ 1,716Nov 13, 2026
Packagist84Excellenthealth index

voku/anti-xss㊙️ AntiXSS | Protection against Cross-site scripting (XSS) via PHP
PHP★ 712↓ 483.2K/moNov 17, 2026
crates.io83Excellenthealth index
Rust★ 3↓ 11.6K/moNov 17, 2026
crates.io83Excellenthealth index
Rust★ 688↓ 2.6M/moNov 15, 2026
Packagist78Goodhealth index
PHP★ 35↓ 20K/moDec 3, 2026
NuGet · npm77Goodhealth index

AlbusKavaliro/AntiXssInofficial port of https://web.archive.org/web/20180126072328/http://wpl.codeplex.com/ to .NET Standard 2.0
C#★ 14Nov 21, 2026

leizongmin/js-xssSanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
HTML · JavaScript★ 5,311↓ 34.1M/moNov 21, 2026
Packagist71Goodhealth index

paragonie/csp-builderBuild Content-Security-Policy headers from a JSON file (or build them programmatically)
PHP★ 540↓ 200.3K/moNov 29, 2026
npm · PyPI71Goodhealth index

sinewaveai/agent-security-scanner-mcpSecurity scanner MCP server for AI coding agents. Prompt injection firewall, package hallucination detection (4.3M+ packages), 1000+ vulnerability rules with AST & taint analysis, auto-fix.
JavaScript · Python · TypeScript★ 124↓ 5,600/moNov 26, 2026
Packagist69Goodhealth index

interactivetools-com/SmartStringPHP strings that HTML-encode themselves on echo, interpolation, and concatenation. XSS-safe by default and at least 3x faster than calling htmlspecialchars() yourself.
PHP★ 0↓ 8,324/moDec 4, 2026
Packagist67Goodhealth index

interactivetools-com/ZenDBPHP/MySQL database layer where values only enter SQL through placeholders and every result HTML-encodes itself on output. Within microseconds of raw mysqli + htmlspecialchars().
PHP★ 3↓ 3,613/moNov 20, 2026
crates.io65Goodhealth index
Rust★ 442↓ 157.3K/moNov 20, 2026
Packagist65Goodhealth index

interactivetools-com/SmartArrayPHP arrays whose fields HTML-encode themselves when echoed, with chainable methods for filtering, sorting, and grouping database rows. XSS-safe by default, with SmartString's encoder behind it: at least 2.5x faster than calling htmlspecialchars() yourself.
PHP★ 0↓ 1,953/moOct 23, 2026
Packagist60Moderatehealth index

TYPO3/html-sanitizerHTML sanitizer, written in PHP, aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values.
PHP★ 29↓ 537.7K/moNov 15, 2026
Packagist57Moderatehealth index

interactivetools-com/SvgSecurityCheckRejects uploaded SVG files that could run script, load an outside resource, or hang a renderer, and never rewrites the ones it accepts. Every rule is an allowlist checked against the file itself, so an accepted file runs no script even when its URL is opened directly, and each rejection has a stable error code.
PHP★ 0↓ 6,222/moDec 1, 2026
Packagist57Moderatehealth index

pieceofcake2/imageCakePHP 2: validate uploaded images by their contents (JPEG, PNG, GIF, WebP and strictly allowlisted SVG)
PHP★ 0↓ 2,039/moOct 24, 2026

Safe3/uusec-wafIndustry-leading free, high-performance, AI and semantic technology Web Application Firewall and API Security Gateway (WAAP) - UUSEC WAF.
Shell · C · Lua★ 1,729Nov 28, 2026
Packagist56Moderatehealth index
PHP★ 1,014↓ 23.7K/moNov 29, 2026
Packagist56Moderatehealth index

interactivetools-com/HtmlSecurityCheckRejects rich-text HTML that could run script, send the page's data to another host, or mislead the visitor, and never rewrites what it accepts. Element and attribute names, URL schemes and CSS functions must be on allowlists, and CI fails if headless Chrome finds script in any test input the check accepts.
PHP★ 0↓ 6,133/moDec 1, 2026
npm54Moderatehealth index
JavaScript · HTML★ 4↓ 304M/moNov 30, 2026
npm53Moderatehealth index
JavaScript★ 3↓ 40.2K/moNov 13, 2026
npm50Moderatehealth index

NaturalIntelligence/is-unsafeZero-dependency, DOM-free, pure predicate for detecting unsafe strings across HTML, XML, SVG, SQL, SHELL, NOSQL, and REGEX contexts
JavaScript★ 1↓ 97M/moOct 23, 2026