
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@agent-pattern-labs/iso-guard
Advanced tools
Deterministic policy checks for AI-agent workflows: enforce orchestration invariants against traces and event logs without adding prompt tokens.
Runtime policy checks for AI-agent workflows.
isolint makes harness prose easier for weak models to follow. iso-guard
checks whether an actual run followed the operational rules. It reads local
files and trace exports; it does not call a model, start an MCP server, or
inject policy text into every prompt.
Use it for rules such as:
npm install -D @agent-pattern-labs/iso-guard
iso-guard audit guard.yaml --events events.json
iso-guard audit guard.yaml --events events.jsonl --json
iso-guard verify guard.yaml --events session.json --fail-on warn
iso-guard explain guard.yaml
audit and verify are aliases. --events accepts:
iso-trace export <session> --format jsoniso-trace export <session> --format jsonlText output stays intentionally compact:
iso-guard: PASS (4 rules, 12 events)
JSON output is suitable for scripts:
{
"ok": false,
"errors": 1,
"warnings": 0,
"violations": [
{
"ruleId": "H3",
"severity": "error",
"message": "event #3 matched trigger but no required event appeared before it"
}
]
}
version: 1
rules:
- id: max-two-task-dispatches
type: max-per-group
severity: error
match: { type: tool_call, name: task }
groupBy: round
max: 2
- id: cleanup-before-task
type: require-before
trigger: { type: tool_call, name: task }
require: { type: tool_call, name: geometra_disconnect }
groupBy: round
- id: merge-and-verify-after-apply
type: require-after
ifAny: { type: tool_call, name: task, fields: { mode: apply } }
require:
- { type: tool_call, name: job-forge-merge }
- { type: tool_call, name: job-forge-verify }
- id: no-proxy-secrets
type: forbid-text
match: { type: tool_call, name: task }
patterns:
- { source: "\\b(server|username|password|bypass)\\s*:", flags: "i" }
- id: no-same-company-overlap
type: no-overlap
start: { type: task_start }
end: { type: task_end }
keyBy: companyRole
The native event format is intentionally small:
[
{ "type": "tool_call", "name": "geometra_disconnect", "data": { "round": 1 } },
{ "type": "tool_call", "name": "task", "data": { "round": 1, "mode": "apply" } }
]
Selectors match type, name, optional regex over text, and exact
fields. Field lookup checks top-level event properties first, then
event.data, and supports dotted paths.
import { audit, loadPolicy, loadEvents } from "@agent-pattern-labs/iso-guard";
const policy = loadPolicy("guard.yaml");
const events = loadEvents("events.json");
const result = audit(policy, events);
if (!result.ok) process.exit(1);
iso-harness emits agent configs.iso-orchestrator runs durable workflows.iso-trace exports what happened.iso-guard checks the run against machine-readable policy.The boundary is deliberate: policy enforcement happens outside the model context unless you explicitly ask an agent to run the CLI and read the compact result.
FAQs
Deterministic policy checks for AI-agent workflows: enforce orchestration invariants against traces and event logs without adding prompt tokens.
We found that @agent-pattern-labs/iso-guard demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.