This release includes 1 security fix for security teams reviewing exposed deployments.
Published 1mo
Developer Productivity
✓ No known CVEs patched
This release patches 1 known CVE
Affected surfaces
auth
rbac
rce_ssrf
Summary
AI summaryFixed policy parsing to recursively inspect command‑substitution contexts and added cursor posture hardening features.
Full changelog
[2.1.0] - 2026-04-15
Security
- Fixed
execute_commandpolicy parsing to recursively inspect command-substitution contexts before shell execution:$(...)- backticks
`...` - process substitution
<(...)and>(...) - nested substitution forms.
- Network policy enforcement now applies to inner commands discovered inside substitution contexts, not only top-level tokens.
- Command-tier matching (
blocked/requires_confirmation/allowed) now applies to inner substitution commands as well. - Script Sentinel execute-time command-context scanning now evaluates substitution contexts to preserve policy-intent continuity.
Added
- Regression coverage for substitution bypass prevention in
tests/test_command_substitution_policy.py, including:- direct command and
&&baseline behavior - subshell and backtick substitution
- process substitution
- nested substitution
- substitution in variable assignment
- mixed top-level + substitution command chains
- clean command and clean substitution allow cases.
- direct command and
- Cursor posture hardening support in Settings -> Agents, including:
- strict hook enforcement controls (
preToolUse,beforeShellExecution,beforeMCPExecution) - optional read-path enforcement (
beforeReadFile) - fail-closed hook gate controls for security-critical paths
- sandbox hardening controls mapped to
.cursor/sandbox.json - optional
.cursorignoresynchronization from AIRG policy - optional
permissions.jsonmanagement for MCP allowlist and terminal allowlist lock.
- strict hook enforcement controls (
- Cursor-specific posture signals and scoring in
agent_posturefor standard/strict/maximum posture classification. - Cursor hook runtime support in
airg_hookfor Cursor-native events:beforeShellExecutionbeforeMCPExecutionbeforeReadFile.
Fixed
- Cursor scope selector fallback in the GUI now correctly shows
Project/Globalwhen backend scope payloads are legacy/invalid (Default-only).
Security Fixes
- Fixed `execute_command` policy parsing to recursively inspect command‑substitution contexts (`$(...)`, backticks, process substitution) before shell execution; network policy enforcement now applies to inner commands discovered inside substitutions.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About jimmyracheta/AI-Runtime-Guard
Runtime policy enforcement for AI agents - prevents accidental damage to your systems, unauthorized agent access and automates backup-before-write for any touched files.
Related context
Related tools
Beta — feedback welcome: [email protected]