Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/garrytan/gstack
/ content-security.test.ts
File
content-security.test.ts
browse/test/content-security.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Content security tests — verify the 4-layer prompt injection defense
3
*
4
* Tests cover:
Callers
nothing calls this directly
Calls
15
resetSessionMarker
Function · 0.90
datamarkContent
Function · 0.90
getSessionMarker
Function · 0.90
wrapUntrustedPageContent
Function · 0.90
clearContentFilters
Function · 0.90
urlBlocklistFilter
Function · 0.90
registerContentFilter
Function · 0.90
runContentFilters
Function · 0.90
getFilterMode
Function · 0.90
generateInstructionBlock
Function · 0.90
startTestServer
Function · 0.90
markHiddenElements
Function · 0.90
Tested by
no test coverage detected