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

@seafile/seatable-sdoc-editor

Latest version: v7.0.7

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: seafile
13 Versions
1.6K Downloads

Scan summary

@seafile/seatable-sdoc-editor was last scanned on 24 Nov 2026 at version 7.0.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest 5 were published within 5 days (20–24 Nov 2026).
  • Findings: No rules fired in version 7.0.7.
  • Downloads: 1,644 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
7.0.7 LATEST 24 Nov 2026 No rules fired
7.0.6 23 Nov 2026 No rules fired
7.0.5 23 Nov 2026 No rules fired
7.0.4 21 Nov 2026 Not shown
7.0.3 20 Nov 2026 Not shown

No rules fired in 7.0.7

Findings

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

README

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

@seafile/seatable-sdoc-editor

@seafile/seatable-sdoc-editor is a SeaTable document plugin editor component built on top of @seafile/sdoc-editor. It provides document editing, read-only preview, SeaTable data integration, and chart plugin capabilities for SeaTable plugin scenarios.

Features

  • Supports document editing and read-only preview modes;
  • Integrates SeaTable table, row, and column plugins;
  • Integrates the Chart plugin;
  • Supports displaying a document outline;
  • Supports collaborators, formula rows, SQL queries, and other SeaTable data capabilities;
  • Supports Socket.IO document connections and real-time collaboration;
  • Supports internationalization;
  • Exposes EventBus and EXTERNAL_EVENT for communication between the host application and the editor.

Installation

npm install @seafile/seatable-sdoc-editor

Basic Usage

import {
  DocumentPluginEditor,
  EventBus,
  EXTERNAL_EVENT,
} from '@seafile/seatable-sdoc-editor';

function DocumentEditor({ document, tableData }) {
  const handleImageColumnToggle = () => {
    EventBus.getInstance().dispatch(EXTERNAL_EVENT.IMAGE_COLUMN_TOGGLE);
  };

  return (
    <DocumentPluginEditor
      document={document}
      isReadOnly={false}
      showOutline
      tableId={tableData.tableId}
      columns={tableData.columns}
      tables={tableData.tables}
      collaborators={tableData.collaborators}
      currentRowIdx={tableData.currentRowIdx}
      getColumnCellValue={tableData.getColumnCellValue}
      getTableById={tableData.getTableById}
      formulaRows={tableData.formulaRows}
      getTableFormulaResults={tableData.getTableFormulaResults}
      sqlQuery={tableData.sqlQuery}
    />
  );
}

The host application must provide the document, SeaTable data, collaborator data, and related callbacks. The component does not handle SeaTable API authentication, data loading, or business state management on behalf of the host application.

Common DocumentPluginEditor Props
Prop Type Description
document object Document content. Required.
isReadOnly boolean Whether to use read-only preview mode. Editing mode is used by default.
showOutline boolean Whether to display the document outline.
docUuid string Document UUID used to initialize the document connection configuration.
tableId string ID of the currently associated SeaTable table.
columns array SeaTable column data.
tables array SeaTable table data.
collaborators object / array Collaborator data. The structure is provided by the host application.
currentRowIdx number Index of the current row.
getColumnCellValue function Gets the cell value for a column in the current row.
getTableById function Gets table data by table ID.
formulaRows object / array Formula row data.
getTableFormulaResults function Gets table formula results.
sqlQuery function Executes an SQL query provided by the host application.
getArticleStyle function Returns document page styles, such as page width.
EventBus

The currently exported EXTERNAL_EVENT constants are:

  • CHANGE_HEADER_WIDTH
  • COLLABORATORS_UPDATED
  • IMAGE_COLUMN_TOGGLE

Dispatch an event:

const eventBus = EventBus.getInstance();
eventBus.dispatch(EXTERNAL_EVENT.IMAGE_COLUMN_TOGGLE);

Refer to the EventBus API provided by @seafile/sdoc-editor for event subscription details.

Local Development

1. Install dependencies
npm install
2. Configure the local demo

Copy the local configuration template:

cp site/setting.local.dist.js site/setting.local.js

Update site/setting.local.js with the configuration for your local Seafile, SeaTable, and sdoc services. This file may contain API tokens, access tokens, server URLs, and other sensitive information. Do not commit real credentials to the repository.

3. Start the demo
npm run start

After the development services start:

The demo requires accessible Seafile, SeaTable, and sdoc services, as well as valid document and table data. If the backend services are not configured, the page may not load completely.

Build

Build the local demo
npm run build

This command builds the demo application and outputs the result to build/.

Generate npm package artifacts
npm run clean
npm run pub:dist
  • npm run clean removes and recreates dist/;
  • npm run pub:dist compiles src/ into dist/ and copies the required files;
  • The npm package entry point is dist/index.js;
  • dist/ contains generated artifacts and should not be edited directly.

Publishing

Before publishing, make sure the version in package.json has been updated, then run:

npm publish

The project defines a prepublishOnly hook. Before npm publish runs, it automatically executes:

npm run clean && npm run pub:dist

To inspect the package artifacts manually, run:

npm run clean
npm run pub:dist

Other Commands

Command Description
npm run test -- --watchAll=false Runs the Jest tests and exits. Running npm run test directly starts Watch mode by default.
npm run lint-fix Fixes ESLint issues under src/.
npm run clean Removes and recreates dist/.

Project Structure

.
├── public/                  # Public assets for the demo
├── site/                    # Local demo application
│   ├── _i18n/               # Internationalization
│   ├── api/                 # APIs used by the demo
│   ├── commons/             # Shared components
│   ├── context.js           # Demo context and configuration
│   ├── pages/               # Demo pages
│   ├── app.js               # Application routes
│   └── setting.local.dist.js # Local configuration template
├── src/                     # npm package source
│   ├── assets/              # Styles and assets
│   ├── constants/           # Constants and external events
│   ├── plugin-module/       # DocumentPluginEditor implementation
│   └── index.js             # Package entry point
├── tests/                   # Test code
├── scripts/                 # Build and test scripts
├── webpack/                 # Demo Webpack configuration
├── config.js                # Demo build configuration
├── dev-server.js            # Demo development server
└── package.json

Core Dependencies

The project relies on the following core packages:

  • @seafile/sdoc-editor
  • @seafile/slate and @seafile/slate-react
  • dtable-ui-component
  • sea-chart
  • dtable-sdk

See package.json for the complete dependency list and exact versions.

Notes

  • The editor requires the host application to provide document content, SeaTable data, and server configuration;
  • Tokens, access tokens, and server URLs in the local demo configuration are intended for local development only. Use your own test configuration;
  • npm run build builds the demo, while npm run pub:dist builds the npm package. They produce artifacts for different purposes;
  • After modifying the editor source, regenerate dist/ before publishing the npm package.

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 @seafile/seatable-sdoc-editor

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229