Security/GitHub/Framework

agentguard

by rutvirupani1111·Last observed 2026-10-27
★ 0 stars⑂ 0 forks

agentguard is a TypeScript library that scans HTML, Markdown, or text for hidden or AI-directed instructions, Unicode smuggling, and exfiltration vectors before content reaches an AI agent. It reports findings and can provide sanitized content for the model.

Useful for

  • Scan fetched web-page content before handing it to a model.

Key features

  • It compares content as a model can read it with what is visible to a person, and reports discrepancies with severity, excerpts, and locations.
  • It can return sanitized content with detected attacks removed and wrap untrusted content as data for a model.

Requirements & limitations

  • The package supports Node 18+ and browsers.

Project information

CategorySecurity
TypeFramework
Author / organizationrutvirupani1111
LicenseMIT
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote