Boundaryby OraXLabs

Boundary by OraXLabs · Static source review · 23 Nov 2026

AdminForth
authorization helpers.

A bounded review of four public framework modules: resource authorization, column access, API filter restrictions and request context. Existing defenses are documented with their limits. No vulnerability was established.

This independent educational sample is not commissioned or endorsed by AdminForth or Devforth.

Executive overview

The selected source contains explicit authorization and data-access controls. Preserve those controls and verify that the actual application and MCP entry points use them consistently. The MCP plugin documentation describes a contract; its implementation was not traced in this review.

Qualified vulnerabilities
0
Implementation modules read
4
Executed tests
0
Fix status
No established defect or security patch; not rechecked

Scope and method

Read-only review of public source and selected documentation at commit 42e951a89621658f1f2aa12adb917b3cc203e82b, reviewed on November 23, 2026. Public repository metadata was checked before reading the selected files; source bytes were hashed.

No target code, imports, installation, build, runtime tests or service requests were executed. The manifest is identity/context evidence only: no lock consumption, release equivalence, installed artifact or deployment claim is made.

Reviewed files

Existing controls and their limits

These observations describe defenses, not open vulnerabilities. Severity is not applicable; no defect was established.

AF-D1 · Control observation

Resource permissions and one-shot grants

Classification: Observed defense, not finding.

Resource authorization evaluates configured action rules in user/resource/request context; authorization grants only when the result is exactly true. A WeakMap grant is consumed once and bound to the exact user, resource, action, record and primary key.

Source evidence

Counterevidence and limits

Existing explicit checks contradict a claim that this helper simply trusts a frontend or unscoped reusable capability. Caller coverage and row-scope enforcement outside selected modules were not verified.

Status: Static source observation only. Caller integration and runtime behavior not rechecked.

AF-D2 · Control observation

Column access beyond display visibility

Classification: Observed defense and integration-review scope.

Selected helpers deny backendOnly writes, strip backend-only/unknown read keys, and check protected columns in nested filter/right-field references, sorting and aggregation. Aggregation additionally checks show visibility.

Source evidence

Counterevidence and limits

The documentation explicitly distinguishes showIn display visibility from backendOnly confidentiality. Hidden display fields remaining available is therefore not labelled a vulnerability. Calls from every REST/MCP endpoint and custom extensions remain outside this review.

Status: Static source observation only. Caller integration and runtime behavior not rechecked.

AF-D3 · Control observation

API raw-filter rejection

Classification: Observed defense, not finding.

Recursive API filter guard rejects raw SQL/NoSQL property keys in filter arrays and nested subFilters, including own properties irrespective of their values.

Source evidence

Counterevidence and limits

Trusted server hooks may add raw expressions intentionally; this small helper does not prove universal request validation, nor expose a demonstrated bypass.

Status: Static source observation only. Caller integration and runtime behavior not rechecked.

AF-D4 · Control observation

Request context mechanism

Classification: Observed context mechanism.

AsyncLocalStorage holds request context and provides websocket client identifier accessors.

Source evidence

Counterevidence and limits

No assertion is made about complete concurrent request isolation, identity authenticity, call-site correctness or deployed behavior from this helper alone.

Status: Static source observation only. Caller integration and runtime behavior not rechecked.

The documented MCP contract

The selected MCP documentation says requests act under the originating AdminForth user, describes a read-only option, and restricts read-only tool exposure using endpoint metadata. These are documented claims, not independently verified plugin behavior: the plugin implementation and complete request routing were outside this review.

Verification plan and closure

No security patch is recommended as an established fix. A useful future acceptance matrix could verify read-only tool registration and direct-call denial, contextual column rules across get/list/filter/sort/aggregate, and grant reuse/mismatch rejection at the actual caller integration. Existing controls should be retained. No tests were authored or executed here.

At an agreed revision, an authorized future integration review could trace endpoint routing into these guards. Proposed checks are not completed tests, and a question about coverage is not evidence of a gap.

Source identity

These SHA-256 checksums identify the selected public source bytes. They do not certify a deployed service.

adminforth/modules/resourceAccess.ts
83987d0d32079453e5254b7fa10e48167972642e39d0091998c69db55e0fc695
adminforth/modules/columnAccess.ts
0a9331bea4040c0dc6eddb3afa6dd31ac6b7de40bd094d02d9dfe3f99d6f2155
adminforth/modules/filterSecurity.ts
30c102c562b24fe87c5375ddbee7ec1638ea12c5666ad11b3685bf11827efecb
adminforth/modules/requestContext.ts
c2967e2b374b18aa522f78545ffd99bd610df72dc17f960903eab57a25377944
documentation/docs/tutorial/03-Customization/12-security.md
1bfe9128af0185dc523d3bf246bd905cfafc52eddfdbeef6fa48f01808c17a7a
documentation/docs/tutorial/09-Plugins/30-mcp.md
ce0186e9423c8f8203f28879da0284576fd1ee169dc9e961c8254fad93e9c67e
adminforth/package.json
45941bdddf5179aa9f53412a5d39b796b9f08812054b362a863010c864c99034

Browse public reviews · Review your public project