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.

30 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.5K↓ 416M/moNov 19, 2026
Apache-2.0Nov 19, 2026 · metrics 2.10.0
Packagist · npm
91Excellenthealth index
10up/safe-svg
Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
PHP · JavaScript★ 346↓ 6,195/moNov 21, 2026
GPL-2.0Nov 21, 2026 · metrics 2.10.0
PyPI
91Excellenthealth 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★ 21↓ 137.5K/moNov 25, 2026
MITNov 25, 2026 · metrics 2.10.0
npm
87Excellenthealth index
kkomelin/isomorphic-dompurify
Use DOMPurify on server and client in the same way
TypeScript★ 605↓ 23.9M/moOct 24, 2026
MITOct 24, 2026 · metrics 2.10.0
npm
86Excellenthealth index
Nano-Collective/prompt-scrubber
Local-first tool that strips emails, secrets, paths, and other identifying content out of your prompts before they reach a cloud LLM — and rehydrates the response locally.
TypeScript★ 23↓ 5,371/moOct 24, 2026
MITOct 24, 2026 · metrics 2.10.0
npm
84Excellenthealth index
peerigon/parse-domain
Splits a hostname into subdomains, domain and (effective) top-level domains.
TypeScript★ 518↓ 2.6M/moNov 18, 2026
MITNov 18, 2026 · metrics 2.10.0
PyPI · crates.io
84Excellenthealth index
raeq/disarm
Canonicalize and neutralize adversarial Unicode — homoglyph/bidi/zalgo/invisibles — before it reaches your classifiers, indexes, and identifiers
Python · Rust★ 2↓ 3,334/moOct 25, 2026
MITOct 25, 2026 · metrics 2.10.0
Packagist
80Excellenthealth index
ui-awesome/html-helper
HTML helpers for PHP: attribute rendering, CSS class management, content encoding, sanitization, and template normalization.
PHP★ 1↓ 5,052/moNov 14, 2026
Custom licenseNov 14, 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★ 35↓ 20K/moDec 3, 2026
MITDec 3, 2026 · metrics 2.10.0
npm
78Goodhealth index
flare-collection/flare-redact
Keep secrets and PII out of logs, Sentry, LLM prompts and commits. Reads values, not field names. Zero dependencies.
TypeScript · JavaScript · Python★ 53↓ 36.5K/moNov 21, 2026
MITNov 21, 2026 · metrics 2.10.0
Packagist
78Goodhealth index
ui-awesome/html-svg
Fluent, immutable SVG rendering for PHP: shapes, text, gradients, filters, masks, and sanitized inline SVG.
PHP★ 2↓ 3,291/moOct 23, 2026
Custom licenseOct 23, 2026 · metrics 2.10.0
npm
78Goodhealth index
validatorjs/validator.js
String validation
JavaScript★ 23.7K↓ 155M/moNov 20, 2026
MITNov 20, 2026 · metrics 2.10.0
npm
77Goodhealth index
mysqljs/sql-escaper
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
TypeScript★ 1↓ 32.6M/moOct 24, 2026
MITOct 24, 2026 · metrics 2.10.0
PyPI · npm
75Goodhealth index
AlexanderMattTurner/agent-sanitizer
Strip common prompt injection surfaces.
JavaScript · Python★ 11↓ 704.8K/moDec 4, 2026
Apache-2.0Dec 4, 2026 · metrics 2.10.0
npm
75Goodhealth 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↓ 13.4K/moNov 18, 2026
MITNov 18, 2026 · metrics 2.10.0
npm · crates.io
75Goodhealth index
jonathanong/vurst
No repository description published.
Rust · JavaScript★ 0↓ 122.7K/moOct 25, 2026
MITOct 25, 2026 · metrics 2.10.0
npm
75Goodhealth index
leizongmin/js-xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
HTML · JavaScript★ 5,311↓ 34.1M/moNov 21, 2026
Custom licenseNov 21, 2026 · metrics 2.10.0
Packagist
69Goodhealth index
auraphp/Aura.Filter
Validate and sanitize arrays and objects.
PHP★ 155↓ 7,695/moDec 5, 2026
MITDec 5, 2026 · metrics 2.10.0
Packagist
69Goodhealth 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↓ 8,324/moDec 4, 2026
MITDec 4, 2026 · metrics 2.10.0
npm
67Goodhealth 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↓ 811/moNov 30, 2026
MITNov 30, 2026 · metrics 2.10.0
Packagist
65Goodhealth 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↓ 1,953/moOct 23, 2026
MITOct 23, 2026 · metrics 2.10.0
npm
65Goodhealth index
sindresorhus/filenamify
Convert a string to a valid safe filename
JavaScript★ 526↓ 67M/moNov 24, 2026
MITNov 24, 2026 · metrics 2.10.0
npm
60Moderatehealth index
natemoo-re/ultrahtml
No repository description published.
TypeScript★ 593↓ 59.3M/moNov 24, 2026
Custom licenseNov 24, 2026 · metrics 2.10.0
npm
53Moderatehealth index
nazmul-nhb/toolbox-x
A versatile collection of smart, efficient, and reusable utility functions, classes and types for everyday development needs.
TypeScript★ 1↓ 342/moOct 22, 2026
Apache-2.0Oct 22, 2026 · metrics 2.10.0
NuGet
51Moderatehealth index
Codeuctivity/SanitizeFilename
No repository description published.
C#★ 5Dec 2, 2026
Apache-2.0Dec 2, 2026 · metrics 2.10.0
Packagist
50Moderatehealth index
horde/Text_Filter
Horde Text Filter API
PHP★ 2↓ 5,482/moNov 30, 2026
LGPL-2.1Nov 30, 2026 · metrics 2.10.0
npm
47Weakhealth index
sindresorhus/escape-goat
&🐐; Escape a string for use in HTML or the inverse
JavaScript · TypeScript★ 558↓ 73.4M/moNov 18, 2026
MITNov 18, 2026 · metrics 2.10.0
npm
45Weakhealth index
sindresorhus/to-valid-identifier
Convert a string to a valid JavaScript identifier
JavaScript★ 42↓ 19M/moNov 24, 2026
MITNov 24, 2026 · metrics 2.10.0
npm
35Weakhealth index
tonioloewald/kilpi
A very small HTML sanitizer for rich-text paste paths — denylist, zero dependencies, ~0.8 kB gzipped. Passes DOMPurify's published 223-fixture corpus with zero executable residue.
JavaScript · TypeScript★ 0↓ 9,485/moNov 30, 2026
Apache-2.0Nov 30, 2026 · metrics 2.10.0
npm
32At Riskhealth index
tracespace/tracespace
⚡️generate beautiful and accurate SVG renders of printed circuit boards
TypeScript · PLSQL★ 956↓ 443.9K/moNov 16, 2026
MITNov 16, 2026 · metrics 2.10.0