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:
- 18k
- JavaScript
- Apache-2.0
- 20 h ago
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:
Academic papers related to fuzzing, binary analysis, and exploit dev, which I want to read or have already read
Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
Custom memory allocator that helps discover reads from uninitialized memory
Fast JavaScript HTML Sanitizer, client-side (i.e. needs a browser, won't work in Node and other backend)
Zero-dependency Go input validation, in-place normalization, and JSON Schema generation from struct tags.
A fast, fully typed HTML toolkit for Python. Escape, unescape, parse, select, and serialize HTML from one library, powered by a C-accelerated core.
AST-first Markdown → HTML library for Rust. Ships with custom blocks, class-based syntax highlighting, a hardened sanitizer, table of contents, streaming output, plain-text extraction, and client-side mermaid diagrams.
A powerful string sanitization and normalization tool for Laravel that can be used as validation rules or standalone utility. / 可作 Rule 也可单用的字符串清洗/规范化工具
In this app show, youtube videos embedded in Ionic 3 Application. Application show two methods (iframes, Object) to implement embded videos. DomSanitizer is also implemented for safe Url and Cross-site Scripting (XSS).
Golang library for masking pii data from logs. Also, you can generate Sanitizer for your types.
LSS: Literal String Sanitizer. Sanitize any value (as nullish string) at runtime while preserving type accuracy.
AgnosticHTML: A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
Validation library for JavaScript/TypeScript with a strongly typed fluent API
Custom memory allocator that helps discover reads from uninitialized memory (portable C99 implementation)
Sanitize SVG files pasted from the web and prove the result is clean. Zero-dependency Python CLI that strips scripts, event handlers, and unsafe content with a per-category diff report.
Drop a real .env file and get a safe .env.example with every value stripped and replaced by type aware placeholders, plus likely secret warnings and a drift diff against an existing example file.
Sanitizit is a Chrome extension that automatically redacts personally identifiable information (PII) from text before you share it with AI assistants. Keep your sensitive data private while maintaining the context of your conversations.
This project will introduce you on how to use sanitizers, generating core dumps and coverage reports.
Memory sanitizer instrumentation of STL, OpenSSL & Boost Libraries