MCPcopy
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

resetSessionMarkerFunction · 0.90
datamarkContentFunction · 0.90
getSessionMarkerFunction · 0.90
wrapUntrustedPageContentFunction · 0.90
clearContentFiltersFunction · 0.90
urlBlocklistFilterFunction · 0.90
registerContentFilterFunction · 0.90
runContentFiltersFunction · 0.90
getFilterModeFunction · 0.90
generateInstructionBlockFunction · 0.90
startTestServerFunction · 0.90
markHiddenElementsFunction · 0.90

Tested by

no test coverage detected