8 Repos
Libraries that ensure incoming data conforms to expected formats and types to prevent processing errors.
Distinguishing note: Focuses on input validation and sanitization, distinct from general security hardening.
Explore 8 awesome GitHub repositories matching security & cryptography · Data Sanitization Utilities. Refine with filters or upvote what's useful.
Pydantic is a data validation and serialization library that enforces schema constraints and performs type conversion on complex data structures. It utilizes standard Python type annotations to define data models, allowing developers to establish structured schemas that automatically enforce business rules and constraints without the need for custom domain-specific languages. The library distinguishes itself by transforming high-level model definitions into optimized code during initialization to minimize runtime overhead. It supports recursive validation for nested data structures and employ
Ensures incoming data from external sources matches expected formats and types before processing.
Devise is a comprehensive identity management system and authentication framework for Ruby on Rails applications. It provides a complete set of tools for managing user registration, secure sign-in, and session handling using a modular strategy pattern. The framework distinguishes itself by offering a suite of security hardening features, including brute force protection through account locking and secure password recovery workflows. It also functions as an integrator for external identity providers and third-party authentication via standardized protocols. Broad capabilities cover the full u
Filters account attributes during sign-up or profile changes to prevent unauthorized data modification.
validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that strings match specific patterns—such as emails, URLs, and alphanumeric formats—and a toolkit for cleaning and transforming text input to remove prohibited characters and trim whitespace. The library includes utilities for standardizing email addresses by lowercasing domains and removing sub-addressing markers. It also functions as an HTML entity escaper, replacing special characters with entities to prevent the browser from executing text as code. The project covers capabili
Provides libraries to ensure incoming string data conforms to expected formats to prevent processing errors.
Validator.js is a library of pure, stateless functions designed for the validation and sanitization of string data within any JavaScript environment. It provides a modular suite of tools to verify that user-provided information conforms to specific formats, such as emails, URLs, and dates, while simultaneously cleaning untrusted input to mitigate security risks. The library distinguishes itself through a design that avoids platform-specific APIs, ensuring consistent execution across browsers, servers, and edge runtimes. By utilizing a pre-compiled regular expression engine and a pure data tra
Provides a comprehensive set of tools for cleaning and escaping untrusted input strings.
AutoResearchClaw is an agentic system designed to automate the scientific research process. It functions as an autonomous research agent and workflow automator that manages the entire lifecycle of a project, from initial hypothesis generation and literature review to experimental execution and the production of LaTeX-formatted academic papers. The system distinguishes itself through a multi-agent research pipeline that utilizes structured debates for hypothesis refinement and peer review. It employs a branch-and-merge architecture to explore parallel research directions and integrates human-i
Prevents data fabrication by enforcing ground-truth experiment data and sanitizing unverified numbers in final reports.
Dieses Projekt ist ein jQuery-Input-Mask-Plugin und eine Bibliothek zur Durchsetzung spezifischer Formate in Formularfeldern und HTML-Elementen. Es fungiert als Tool zur Maskierung und Bereinigung von Formulareingaben, das die Zeicheneingabe einschränkt und automatisch Trennzeichen für Muster wie Datumsangaben und Telefonnummern einfügt. Die Bibliothek unterstützt flexible Maskierung durch optionale und rekursive Muster, die sich je nach Datenmenge erweitern oder zusammenziehen. Sie bietet dynamisches Maskenmanagement, wodurch Formatierungsregeln auf bestehenden Elementen geändert oder entfernt werden können, ohne die Seite neu zu laden. Das Tool enthält Funktionen für benutzerdefinierte Maskenlogik und Musterdefinition, um zu steuern, welche alphanumerischen Eingaben zulässig sind. Es bietet zudem eine Bereinigung der Eingabedaten, um Nicht-Masken-Zeichen vor der Serverübermittlung zu entfernen, sowie ein Fallback-System, um ungültige Zeichen durch vordefinierte Ziffern zu ersetzen.
Ensures data integrity by removing non-mask characters from form fields before server submission.
Dry-validation ist eine Ruby-Bibliothek, die für die Definition typsicherer Schemata und komplexer Validierungsregeln zur Überprüfung und Bereinigung von Eingabedatenstrukturen entwickelt wurde. Sie bietet ein formales Framework zur Konstruktion modularer Validierungslogik und stellt sicher, dass eingehende Informationen spezifische Geschäftsanforderungen und Datenformate erfüllen, bevor sie von einer Anwendung verarbeitet werden. Die Bibliothek nutzt eine domänenspezifische Sprache (DSL), um Validierungsregeln zu deklarieren, die dann in ausführbare Objekte geparst werden. Sie zeichnet sich durch ein Makro-gesteuertes System aus, das gängige Validierungslogik in wiederverwendbare Shortcuts bündelt, sowie durch ein rekursives Kompositionsmodell, das es Entwicklern ermöglicht, Validierungsobjekte zu verschachteln, um komplexe, hierarchische Strukturen aufzubauen. Dieser Ansatz ermöglicht die Erstellung konsistenter, modularer Logik, die Codeduplizierung in großen Anwendungen verhindert. Über die Kern-Schema-Definition hinaus enthält die Bibliothek eine Typ-Coercion-Pipeline, die rohe Eingaben in erwartete Formate umwandelt, sowie ein strukturiertes Fehleraggregationssystem, das Fehler auf spezifische Eingabepfade abbildet. Sie unterstützt Konfigurations-Hooks für die Integration externer Abhängigkeiten und bietet Tools zur Datenbereinigung, was sie für die Durchsetzung von Standards bei eingehenden API-Requests und komplexen Datenobjekten geeignet macht.
Converts raw input into consistent types and formats while reporting clear error messages for invalid entries.
This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp
Validates incoming data payloads in web services to ensure that all fields conform to expected formats before processing.