Scan your whole stack
From OX Research Newsroom
Are you using @aooth/arbac?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.34
@aooth/arbac was last scanned on 29 Nov 2026 at version 0.2.34. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.34 LATEST | 29 Nov 2026 | No rules fired |
| 0.2.33 | 29 Nov 2026 | No rules fired |
| 0.2.32 | 29 Nov 2026 | No rules fired |
| 0.2.31 | 28 Nov 2026 | Not shown |
| 0.2.29 | 28 Nov 2026 | Not shown |
Findings for v0.2.34. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.34; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
pnpm add @aooth/arbac
Full docs, API reference, and recipes: https://aooth.moost.org/arbac/
.deny(resource, action) short-circuits the entire (resource, action) tuple — there is no scope or filter parameter. Once a deny rule's action regex matches, evaluate() returns { allowed: false } immediately, before any other role's allow scopes are even constructed (see arbac-core/src/arbac.ts:126-131).
If you need "hide rows where condition X", express it as an allow with a filter that excludes X, not as a partial deny:
// ✗ Not supported — no row-level deny.
// .deny("tasks", "query", { scope: { filter: { status: "secret" } } })
// ✓ Use a filtered allow instead.
allowTableRead<UserAttrs, Scope>("tasks", {
scope: (attrs) => ({
filter: { tenantId: attrs.tenantId, status: { $ne: "secret" } },
}),
});
Pinned by UNION-03 and UNION-05 in packages/e2e-demo/test/arbac-union.spec.ts — unscoped deny short-circuits sibling allows, and wildcard .deny("tasks", "*") 403s both row-allow (markDone) and set-allow (new) tuples.
$or — permissive winsWhen a user has multiple roles that each allow the same (resource, action), their scopes are merged disjunctively via mergeScopeFilters (see packages/arbac/src/scope/filter.ts). A row matches if ANY scope's filter matches. Consequence: if one scope has no filter (rule registered without scope, or with filter: undefined / filter: {}), the union widens to universe and the more restrictive filters in sibling scopes are silently dropped.
// Role "viewer" — tenant-scoped read on tasks.
.use(allowTableRead("tasks", {
scope: (attrs) => ({ filter: { tenantId: attrs.tenantId } }),
}))
// Role "tasks-everywhere" — unscoped read on tasks (e.g., for an audit role).
.allow("tasks", "query") // no scope ← contributes universe to the union
// A user with both roles sees ALL tasks (universe wins), not just their tenant.
This is the natural $or semantic: union of "tenant rows" and "all rows" is "all rows". The takeaway: don't grant an unscoped allow on a resource that other roles are trying to filter. Pinned by the arbacRowFilter empty-vs-undefined coercion tests in packages/arbac-moost/src/db/shared-read-helpers.spec.ts.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.