Packages

Input Sanitization & Security Packages

Input sanitization, XSS prevention, and application-security utilities that clean untrusted input before it reaches your rendering or storage layer (DOMPurify).

123 packages

Packages in Input Sanitization & Security

45Health
Library PyPI

markupsafe

Escapes untrusted strings for safe use in HTML and XML markup, preventing injection attacks in templated output.

697
BSD 3
Used by 20
84Health
SDK npm

react-turnstile

React bindings for Cloudflare Turnstile — a privacy-first CAPTCHA alternative with a declarative component and a full imperative ref API.

853
MIT
Used by 11
53Health
Library PyPI

slowapi

Rate limiting for Starlette and FastAPI endpoints, adapted from Flask-Limiter.

2,064
MIT
Used by 6
40Health
SDK npm

react-google-recaptcha

React component wrapper for Google reCAPTCHA v2, handling script loading, widget rendering, and the execute/reset API out of the box.

1,082
MIT
Used by 5
71Health
Library npm

altcha

Privacy-first, self-hosted CAPTCHA replacement that proves a visitor is human with invisible proof-of-work instead of puzzles, tracking, or third-party APIs.

2,779
MIT
Used by 4
48Health
Library PyPI

Flask-Limiter

Rate limiting for Flask applications with pluggable storage backends and per-route limits

1,207
MIT
Used by 3
72Health
SDK npm

react-hcaptcha

Drop-in React and Preact components for adding hCaptcha bot-protection challenges to any form.

641
MIT
Used by 3
45Health
Library PyPI

django-csp

Content-Security-Policy header management for Django, with per-view overrides and nonce support.

624
BSD 3
Used by 3
76Health
Tool PyPI

Bandit

A static analysis tool that scans Python code for common security issues.

8,285
Apache 2.0
Used by 2
49Health
Library Go

base64Captcha

A flexible Go library for generating digit, string, math, Chinese-character, and audio CAPTCHAs encoded as base64 strings.

2,367
Apache 2.0
Used by 2
51Health
Library PyPI

python-ipware

Retrieve a client's real IP address from HTTP request headers, with proxy handling.

43
MIT
Used by 2
89Health
Library PyPI

Presidio Analyzer

The PII detection engine behind Presidio, combining NER, regex, and checksum recognizers

11,062
MIT
Used by 1
63Health
Library Composer

Gregwar Captcha

Generate distorted CAPTCHA images in PHP to stop bots.

1,818
MIT
Used by 1
65Health
Library PyPI

RestrictedPython

Compiles a restricted subset of Python so you can define a trusted boundary for running untrusted code.

743
Other
Used by 1
70Health
Library PyPI

simpleeval

A single-file Python library for safely evaluating user-supplied expressions without exposing full eval() access.

613
MIT
Used by 1
42Health
SDK Composer

laravel-recaptcha

Drop-in Laravel package for embedding and validating Google reCAPTCHA v2 and v3 in your forms.

516
MIT
Used by 1
31Health
Library PyPI

confusable_homoglyphs

Detect dangerous Unicode homoglyphs and mixed-script strings to stop impersonation attacks

166
MIT
Used by 1
32Health
SDK PyPI

altcha

Create and verify ALTCHA proof-of-work CAPTCHA challenges in Python with a zero-dependency, fully typed library.

33
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers