Package
agent-sanitizer
Defend an agent against hidden-content injection: strip payload-capable invisible Unicode and ANSI, splice out human-invisible HTML, and flag data-exfil URLs in untrusted text before any model sees it.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 23.9k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 17
- Direct, from package.json
- Last release
- 3 days ago
- v2.58.6
- GitHub stars
- 11
- 1 forks
- Open issues / PRs
- 2 / 2
- Contributors
- -
- Commits, last 52 weeks
- 1,908
Downloads
Last week 2026-09-15 to 2026-09-21
23,911 downloads last week, 102,174 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 2.58.6, 21 Sept 20263 days ago
- First published
- -
- Last push to GitHub
- 22 Sept 20262 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 2
- Commits, last 52 weeks
- 1,908
- Dependents on npm
- 0
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 1.4 MB
- Dependencies (17)
vfileparse5unifiedcss-treeremark-parsemdast-util-gfmnamespace-guardunist-util-visitmicromark-util-typeshast-util-from-parse5agent-control-plane-coremicromark-util-charactermicromark-extension-gfm-tablemicromark-extension-gfm-footnotemicromark-util-combine-extensionsmicromark-extension-gfm-strikethroughmicromark-extension-gfm-task-list-item
npm install agent-sanitizer- jsDelivr
https://cdn.jsdelivr.net/npm/agent-sanitizer@2.58.6/ - unpkg
https://unpkg.com/agent-sanitizer@2.58.6/ - esm.sh
https://esm.sh/agent-sanitizer@2.58.6
Indexability: Indexed.