All tags
Catalogue tag

#sanitize

Every repository in the public record carrying this tag — from its GitHub topics or the keywords its package registries publish. Health is measured under the same versioned methodology as the rest of the record.

27 records
Tagged “sanitize”Ranked by health index
npm
98Exceptionalhealth index
cure53/DOMPurify
DOMPurify - 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.4K↓ 227M/moSep 16, 2026
Apache-2.0Sep 16, 2026 · metrics 2.10.0
Packagist · npm
93Exceptionalhealth index
10up/safe-svg
Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
PHP · JavaScript★ 339↓ 6,201/moSep 18, 2026
GPL-2.0Sep 18, 2026 · metrics 2.10.0
PyPI
90Excellenthealth index
tox-dev/turbohtml
A fast, fully typed HTML toolkit for Python. Escape, unescape, parse, select, and serialize HTML from one library, powered by a C-accelerated core.
C · Python★ 20↓ 30.3K/moOct 1, 2026
Custom licenseOct 1, 2026 · metrics 2.10.0
npm
88Excellenthealth index
validatorjs/validator.js
String validation
JavaScript★ 23.7K↓ 97.7M/moSep 17, 2026
MITSep 17, 2026 · metrics 2.10.0
npm
86Excellenthealth index
kkomelin/isomorphic-dompurify
Use DOMPurify on server and client in the same way
TypeScript★ 595↓ 23.1M/moAug 27, 2026
MITAug 27, 2026 · metrics 2.10.0
npm
84Excellenthealth index
peerigon/parse-domain
Splits a hostname into subdomains, domain and (effective) top-level domains.
TypeScript★ 517↓ 2.1M/moSep 15, 2026
MITSep 15, 2026 · metrics 2.10.0
PyPI · crates.io
80Excellenthealth index
raeq/disarm
Canonicalize and neutralize adversarial Unicode — homoglyph/bidi/zalgo/invisibles — before it reaches your classifiers, indexes, and identifiers
Python · Rust★ 2↓ 3,007/moSep 9, 2026
MITSep 9, 2026 · metrics 2.10.0
Packagist
80Excellenthealth index
ui-awesome/html-svg
Fluent, immutable SVG rendering for PHP: shapes, text, gradients, filters, masks, and sanitized inline SVG.
PHP★ 2↓ 4,546/moAug 24, 2026
Custom licenseAug 24, 2026 · metrics 2.10.0
Packagist
78Goodhealth index
MathiasReker/php-svg-optimizer
php-svg-optimizer is a lightweight PHP library designed to optimize, minify, and sanitize SVG files 🖼️✨🛡️
PHP★ 34↓ 2,849/moSep 5, 2026
MITSep 5, 2026 · metrics 2.10.0
npm
78Goodhealth index
mysqljs/sql-escaper
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
TypeScript★ 1↓ 19.7M/moAug 27, 2026
MITAug 27, 2026 · metrics 2.10.0
Packagist
77Goodhealth index
ui-awesome/html-helper
HTML helpers for PHP: attribute rendering, CSS class management, content encoding, sanitization, and template normalization.
PHP★ 1↓ 9,677/moSep 12, 2026
Custom licenseSep 12, 2026 · metrics 2.10.0
npm · PyPI
73Goodhealth index
AlexanderMattTurner/agent-sanitizer
Strip common prompt injection surfaces.
JavaScript · Python★ 10↓ 126.9K/moSep 5, 2026
Apache-2.0Sep 5, 2026 · metrics 2.10.0
npm · crates.io
71Goodhealth index
jonathanong/vurst
No repository description published.
Rust · JavaScript★ 0↓ 11K/moSep 9, 2026
MITSep 9, 2026 · metrics 2.10.0
npm
67Goodhealth index
ExorTek/nosql-sanitize
nosql-sanitize is a lightweight and blazing-fast suite of tools designed to prevent NoSQL Injection attacks in Node.js applications. It recursively sanitizes user-supplied data to remove characters and patterns (like $ and control characters) used in malicious MongoDB queries.
JavaScript★ 7↓ 8,516/moSep 15, 2026
MITSep 15, 2026 · metrics 2.10.0
Packagist
67Goodhealth index
interactivetools-com/SmartArray
PHP 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↓ 37.1K/moSep 9, 2026
MITSep 9, 2026 · metrics 2.10.0
npm
67Goodhealth index
natemoo-re/ultrahtml
No repository description published.
TypeScript★ 591↓ 24.9M/moSep 23, 2026
Custom licenseSep 23, 2026 · metrics 2.10.0
npm
65Goodhealth index
flare-collection/flare-redact
Zero-dependency TypeScript secret and PII redaction for any SDK, logs, HTTP, LLM prompts, and scoped MCP tool boundaries.
TypeScript · JavaScript · Python★ 48↓ 5,615/moSep 18, 2026
MITSep 18, 2026 · metrics 2.10.0
npm
63Moderatehealth index
macieklamberski/feedsweep
Tidy up the HTML content in web feeds. Fix feed-specific quirks so content displays in its best possible form.
TypeScript★ 1↓ 800/moOct 20, 2026
MITOct 20, 2026 · metrics 2.10.0
Packagist
62Moderatehealth index
auraphp/Aura.Filter
Validate and sanitize arrays and objects.
PHP★ 157↓ 6,385/moSep 8, 2026
MITSep 8, 2026 · metrics 2.10.0
Packagist
62Moderatehealth index
interactivetools-com/SmartString
PHP 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↓ 24.7K/moSep 5, 2026
MITSep 5, 2026 · metrics 2.10.0
npm
60Moderatehealth index
sindresorhus/filenamify
Convert a string to a valid safe filename
JavaScript★ 525↓ 41.7M/moSep 23, 2026
MITSep 23, 2026 · metrics 2.10.0
npm
59Moderatehealth index
leizongmin/js-xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
HTML · JavaScript★ 5,311↓ 21.6M/moSep 17, 2026
Custom licenseSep 17, 2026 · metrics 2.10.0
npm
56Moderatehealth index
nazmul-nhb/toolbox-x
A versatile collection of smart, efficient, and reusable utility functions, classes and types for everyday development needs.
TypeScript★ 1↓ 1,763/moSep 8, 2026
Apache-2.0Sep 8, 2026 · metrics 2.10.0
npm
54Moderatehealth index
sindresorhus/to-valid-identifier
Convert a string to a valid JavaScript identifier
JavaScript★ 42↓ 10.4M/moSep 23, 2026
MITSep 23, 2026 · metrics 2.10.0
NuGet
51Moderatehealth index
Codeuctivity/SanitizeFilename
No repository description published.
C#★ 4Oct 21, 2026
Apache-2.0Oct 21, 2026 · metrics 2.10.0
npm
48Weakhealth index
sindresorhus/escape-goat
&🐐; Escape a string for use in HTML or the inverse
JavaScript · TypeScript★ 552↓ 53.6M/moSep 15, 2026
MITSep 15, 2026 · metrics 2.10.0
npm
32At Riskhealth index
tracespace/tracespace
⚡️generate beautiful and accurate SVG renders of printed circuit boards
TypeScript · PLSQL★ 951↓ 283.9K/moSep 13, 2026
MITSep 13, 2026 · metrics 2.10.0