wrapUntrustedContent (security/untrusted-content.ts)

Wraps external content in XML fences, escapes tags, and enforces character limits to prevent prompt injection.

Repository
vellum-assistant
Language
typescript
SPDX licence
MIT
Quality score (dated snapshot)
9.8/10
Category
security

Review source and licence terms before reuse. View on the service