Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@framework-m/desk

Latest version: v0.31.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: revant
13 Versions
1.7K Downloads

Scan summary

@framework-m/desk was last scanned on 28 Nov 2026 at version 0.31.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.31.0.
  • Downloads: 1,676 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.31.0 LATEST 28 Nov 2026 No rules fired
0.30.2 19 Nov 2026 No rules fired
0.30.1 13 Nov 2026 No rules fired
0.30.0 2 Nov 2026 Not shown
0.28.1 23 Oct 2026 Not shown

No rules fired in 0.31.0

Findings

Findings for v0.31.0. 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.31.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@framework-m/desk

Refine providers and UI components for Framework M applications.

Installation

npm install @framework-m/desk

# With pnpm
pnpm add @framework-m/desk

Usage

Basic Setup
import { Refine } from "@refinedev/core";
import {
  frameworkMDataProvider,
  authProvider,
  liveProvider,
} from "@framework-m/desk";

function App() {
  return (
    <Refine
      dataProvider={frameworkMDataProvider}
      authProvider={authProvider}
      liveProvider={liveProvider}
      options={{
        liveMode: "auto", // Enable real-time updates
      }}
      resources={[
        {
          name: "users",
          list: "/users",
          create: "/users/create",
          edit: "/users/edit/:id",
        },
      ]}
    >
      {/* Define your app routes */}
    </Refine>
  );
}
Available Exports
Providers
  • frameworkMDataProvider: DataProvider for CRUD operations
  • authProvider: Cookie-based authentication
  • liveProvider: WebSocket real-time updates
Configuration
  • API_URL: Base API URL (default: /api/v1)
  • META_URL: Meta API URL (default: /api/meta)
  • WS_URL: WebSocket URL (default: /api/v1/stream)
Types
  • ListResponse<T>: Paginated list response
  • BaseDocument: Base document fields
  • UserIdentity: User identity object
  • ApiError: API error response
  • FilterOperator: Supported filter operators
  • SortOrder: Sort direction
Custom Configuration

Override default endpoints via window.__FRAMEWORK_CONFIG__:

<script>
  window.__FRAMEWORK_CONFIG__ = {
    apiBaseUrl: "https://api.example.com/v1",
    wsBaseUrl: "wss://api.example.com/v1/stream",
  };
</script>
Standalone Shells & Menu Discovery

ShellProvider fetches the backend DocType menu (/api/meta/doctypes?show_in_desk=true) and performs per-request identity and permission checks by default. For standalone shells — kiosks, custom inboxes, or minimal portals that supply their own explicit or plugin-provided navigation — pass enableMenuDiscovery={false} to skip those discovery-triggered requests while retaining the full shell context (sections, omni-search, realtime):

<ShellProvider focusMode={false} setFocusMode={setFocusMode} enableMenuDiscovery={false}>
  {/* Explicit/plugin sections still register; no backend menu requests fire. */}
  <YourKioskApp />
</ShellProvider>

See docs/how-to/custom-shells.md for the full composition recipe, including direct ShellContext.Provider composition.

Real-time Updates

The live provider automatically subscribes to resource changes:

// Enable real-time mode
<Refine
  liveProvider={liveProvider}
  options={{
    liveMode: "auto", // or "manual"
  }}
/>

Events:

  • created: New record created
  • updated: Record updated
  • deleted: Record deleted
Cleanup

Close all WebSocket connections on logout:

import { closeAllConnections } from "@framework-m/desk";

const handleLogout = async () => {
  closeAllConnections();
  await authProvider.logout();
};

Architecture

This package follows Framework M's architectural principles:

  • No Global State: All context passed via props/hooks
  • Type Safety: 100% TypeScript with strict mode
  • Async Native: All I/O operations are async
  • Clean Separation: Providers are independent and composable

Contributing

See CONTRIBUTING.md for development guidelines.

License

Apache-2.0

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @framework-m/desk

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229