$ the-wire · showcase
Guardrails fails closed on jailbreak timeouts, and warns on silent config typos
By RepoJournal · Filed · About Agent Security · Composed from the cited sources · methodology
NeMo Guardrails 0.26 will stop letting a broken or misconfigured rail pass silently: jailbreak check failures now block the request, unlocked hook allowlists and misspelled config keys now surface, and nest-asyncio becomes a deprecation-tracked optional extra.
fix(jailbreak)!: fail closed when the detector is unavailable NVIDIA-NeMo/Guardrails
A NIM timeout, connection failure, or invalid JSON used to produce an allow verdict and generation continued; it now reaches engine failure handling, stops the request, and returns an internal-error response. Any remote detector returning an error status also fails the check, with model HTTP 413 as the one exception, so previously passing traffic backed by a flaky detector will start erroring.
fix(hooks): refuse a tool allowlist that leaves allow_unlisted_tools unset NVIDIA-NeMo/Guardrails
Because hooks_server.allow_unlisted_tools defaults to true, a config that lists tools in allowed_tools without setting it allowed every unlisted tool, and the existing startup check only caught this when the list was the whole policy. Once the config also has per-tool rails, blocked_tools, or a {name, arguments} entry, the server now refuses to start rather than running with a fail-open allowlist.
fix(config): warn on unsupported RailsConfig keys NVIDIA-NeMo/Guardrails
Misspelled keys such as rails.input.flowz and unsupported sections such as rails.execution used to leave rails silently inactive; they now emit warnings carrying the configuration path and a typo suggestion, with strict validation and extension dictionaries preserved. The unsupported execution-rail documentation example is corrected at the same time.
fix: make nest-asyncio an optional compatibility dependency NVIDIA-NeMo/Guardrails
nest-asyncio moves to an optional extra and is imported only when automatic patching is enabled, with a FutureWarning announcing deprecation in 0.26; ordinary synchronous APIs stay supported, and the chat-ui and all extras still pull it in through Chainlit.
feat: [ADS-1631] retry hooks on test event transient errors snyk/agent-scan
On the agent-scan side, agent-scan guard install now retries the test hooksConfigured event and the servers-discovered event on DNS blips, timeouts, connection resets, and HTTP 5xx, where a single failing client previously aborted the whole install in --client all mode. Hard rejections remain fatal, and the failure output now explains what actually went wrong. The remainder of the day was a doc...