Scan your whole stack
From OX Research Newsroom
Are you using @seafile/seatable-sdoc-editor?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v7.0.7
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
@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.
EventBus and EXTERNAL_EVENT for communication between the host application and the editor.npm install @seafile/seatable-sdoc-editor
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.
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. |
The currently exported EXTERNAL_EVENT constants are:
CHANGE_HEADER_WIDTHCOLLABORATORS_UPDATEDIMAGE_COLUMN_TOGGLEDispatch 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.
npm install
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.
npm run start
After the development services start:
9003The 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.
npm run build
This command builds the demo application and outputs the result to build/.
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;dist/index.js;dist/ contains generated artifacts and should not be edited directly.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
| 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/. |
.
├── 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
The project relies on the following core packages:
@seafile/sdoc-editor@seafile/slate and @seafile/slate-reactdtable-ui-componentsea-chartdtable-sdkSee package.json for the complete dependency list and exact versions.
npm run build builds the demo, while npm run pub:dist builds the npm package. They produce artifacts for different purposes;dist/ before publishing the npm package.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.