Here this express module detects SQL injection attacks and rejects the requests.
a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack
A fast, native Bun-powered HTML sanitizer with DOMPurify-like features. Protection against XSS and malicious content.
Utilities for SQL instrumentations
Comprehensive security sanitization library for Model Context Protocol (MCP) servers with trusted security libraries
A simple utility to sanitize a string according to ArcGIS supported HTML specification.
Express middleware for the sanitizer module.
Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
Format whitespace in a SQL query to make it more readable
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
A simple and lightweight library for highlighting SQL queries written in pure JavaScript
PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
Caja's HTML Sanitizer as a Node.js module
A JavaScript library for connecting securely to your Cloud SQL instances
SQL language support for the CodeMirror code editor
sanitizer for markdown-it.
Decorator based class property sanitation in Typescript.
simple node sql parser
A TDS driver, for connecting to MS SQLServer databases.
TypeScript definitions for sanitizer
Simple SQL escape and format for MySQL
PromptShield sanitizer that applies safe, deterministic fixes to text based on detected prompt-injection threats such as invisible characters, markdown smuggling, and BOM artifacts.
An intuitive & tiny string sanitizer to remove any special characters or convert strings to create filename or url 🎉🎉
Lightning Web Security HTML and SVG sanitization utilities
Sanitize an sql order clause from tainted params
Sanitize and Execute your raw SQL queries in ActiveRecord and Rails with a much more intuitive and shortened syntax.
Duplicate a databse with sanitization options using SQL comments
Backport #sanitize_sql_like method from Rails 4 for Rails 3. Sanitizes a string so that it is safe to use within an SQL LIKE statement.
Create well defined controller interfaces. Sanitize, coerce and constrain incoming parameters to safely populate data models, hold session state in URI variables across different locations, build SQL queries, apply ordering and offset/keyset pagination.
Create well defined controller interfaces. Sanitize, coerce and constrain incoming parameters to safely populate data models, hold session state in URI variables across different locations, build SQL queries, apply ordering and offset/keyset pagination.
Floating point ActiveRecord Models ordering for rich client apps heavily inspirated by Trello's ordering alorithm. ActiveRecordFlorder let client decide model's position in collection, normalize given value and resolve conflicts to keep your data clean. It's highly optimalized and generate as small SQL queries. The whole philosophy is to load and update as little records as possible so in 99% it runs just one SELECT and one UPDATE. In edge cases sanitization of all records happens and bring records back to the Garden of Eden state. It's implemented with both Rails and non-Rails apps in mind and highly configurable.