Release Notes¶
0.2.0¶
Breaking Changes¶
- Environment variable rename: All
AIRS_*variables renamed toPRISMA_AIRS_*. See migration guide below.
New Features¶
beforeMCPExecutionhook — scans MCP tool inputs before execution via AIRStool_eventcontent type. Can block tool calls flagged for prompt injection, malicious parameters, etc.postToolUsehook — scans MCP, Shell, Write, and Edit tool outputs for DLP, malicious code, and other violations. Observe-only (audit and logging).- Per-direction profiles — new
profiles.toolfor MCP/tool scanning alongside existingprofiles.promptandprofiles.response. - Configurable content limits —
content_limits.max_scan_bytes(skip threshold, default 50KB) andcontent_limits.truncate_bytes(truncation, default 20KB) applied to all scan paths.
Migration¶
Replace in your shell profile:
- AIRS_API_KEY → PRISMA_AIRS_API_KEY
- AIRS_API_ENDPOINT → PRISMA_AIRS_API_ENDPOINT
- AIRS_PROMPT_PROFILE → PRISMA_AIRS_PROMPT_PROFILE
- AIRS_RESPONSE_PROFILE → PRISMA_AIRS_RESPONSE_PROFILE
- New: PRISMA_AIRS_TOOL_PROFILE (optional)
Then reinstall hooks: prisma-airs-hooks install --global
0.1.0 (2026-03-17)¶
Initial release.
Features¶
- Prompt scanning via
beforeSubmitPromptCursor hook - Response scanning via
afterAgentResponseCursor hook with code extraction - Three modes: observe, enforce, bypass
- Six detection services: prompt injection, DLP, toxicity, malicious code, URL categorization, custom topics
- Per-service enforcement: block, mask, or allow independently
- Fail-open design: never blocks on infrastructure failures
- Circuit breaker: automatic bypass after consecutive API failures
- DLP masking: replace sensitive content instead of blocking
- Code extraction: fenced, indented, and heuristic detection
- Structured logging: JSON Lines with automatic rotation at 10MB
- Stats CLI: scan totals, block rates, latency percentiles
- Global hook installation:
--globalflag for all Cursor workspaces - Precompiled JS: ~800ms cold start vs ~2.5s with tsx
- Environment variable defaults: only
AIRS_API_KEYrequired - 66 tests across 9 suites including compiled JS integration tests
Built On¶
@cdot65/prisma-airs-sdkfor AIRS API communication- TypeScript 5.x with strict mode
- Node.js 18+ (native fetch)
- Vitest for testing