🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@promptshield/sanitizer

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptshield/sanitizer - npm Package Compare versions

Comparing version
0.0.0
to
0.0.1
+2
-2
package.json

@@ -5,3 +5,3 @@ {

"private": false,
"version": "0.0.0",
"version": "0.0.1",
"description": "PromptShield sanitizer that applies safe, deterministic fixes to text based on detected prompt-injection threats such as invisible characters, markdown smuggling, and BOM artifacts.",

@@ -91,3 +91,3 @@ "license": "MIT",

"dependencies": {
"@promptshield/core": "0.0.0"
"@promptshield/core": "0.1.0"
},

@@ -94,0 +94,0 @@ "scripts": {

# @promptshield/sanitizer <img src="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png" style="height: 40px"/>
![PromptShield Banner](https://raw.githubusercontent.com/promptshield-io/promptshield/main/banner.jpg)
<img alt="PromptShield Banner" src="https://raw.githubusercontent.com/promptshield-io/promptshield/main/banner.gif" />

@@ -47,2 +47,5 @@ <p className="flex gap-2">

<details>
<summary>View complete usage and exact removal rules</summary>
```ts

@@ -70,2 +73,6 @@ import { sanitize, sanitizeStrict } from "@promptshield/sanitizer";

</details>
> 📚 **Deep Dives**: For the exact execution order of the sanitization pipeline and understanding `applyFixes`, see the [Documentation section](https://promptshield.js.org/docs/sanitizer).
---

@@ -72,0 +79,0 @@