Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ is exactly what it does and does not do:
Tool executions **inside** AWS action groups are opaque — the adapter
cannot see them, let alone block them. Use `guardToolUse()` to enforce
at the tool level manually, or push tool calls onto the host side.
- **Multi-modal content is not scanned by default.** Image, PDF, and audio
blocks on Anthropic/Vercel AI/Genkit/LlamaIndex/Bedrock pass through
without injection detection in the current release — a vision-enabled
agent bypasses every input scan unless you wire your own scanner.
Opt-in per-modality scanning (image OCR, PDF text extract, Whisper for
audio) is on the near-term roadmap; cost, latency, and data-egress
considerations mean it will ship as opt-in, not on-by-default.
- **Multi-modal scanning is opt-in.** Image, PDF, and audio blocks pass
through without injection detection by default. Register a per-modality
extractor with `registerModalityScanner()` and call `scanMultiModal()`
from `governance-sdk/scan/multi-modal` before `enforce()`; the result's
concatenated text feeds the existing cascade. The SDK ships the
orchestration only — the actual OCR / PDF parser / ASR is caller-
supplied so the zero-dep promise stands. Defaults to text-only;
per-block timeouts and fail-closed semantics (`onMissingScanner`,
`onExtractError`) are configurable.

## Packages

Expand Down
16 changes: 9 additions & 7 deletions packages/governance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ is exactly what it does and does not do:
Tool executions **inside** AWS action groups are opaque — the adapter
cannot see them, let alone block them. Use `guardToolUse()` to enforce
at the tool level manually, or push tool calls onto the host side.
- **Multi-modal content is not scanned by default.** Image, PDF, and audio
blocks on Anthropic/Vercel AI/Genkit/LlamaIndex/Bedrock pass through
without injection detection in the current release — a vision-enabled
agent bypasses every input scan unless you wire your own scanner.
Opt-in per-modality scanning (image OCR, PDF text extract, Whisper for
audio) is on the near-term roadmap; cost, latency, and data-egress
considerations mean it will ship as opt-in, not on-by-default.
- **Multi-modal scanning is opt-in.** Image, PDF, and audio blocks pass
through without injection detection by default. Register a per-modality
extractor with `registerModalityScanner()` and call `scanMultiModal()`
from `governance-sdk/scan/multi-modal` before `enforce()`; the result's
concatenated text feeds the existing cascade. The SDK ships the
orchestration only — the actual OCR / PDF parser / ASR is caller-
supplied so the zero-dep promise stands. Defaults to text-only;
per-block timeouts and fail-closed semantics (`onMissingScanner`,
`onExtractError`) are configurable.

## Packages

Expand Down
4 changes: 4 additions & 0 deletions packages/governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
"types": "./dist/scanner-plugins/types.d.ts",
"import": "./dist/scanner-plugins/types.js"
},
"./scan/multi-modal": {
"types": "./dist/scan/multi-modal.d.ts",
"import": "./dist/scan/multi-modal.js"
},
"./policy-compose": {
"types": "./dist/policy-compose.d.ts",
"import": "./dist/policy-compose.js"
Expand Down
Loading
Loading