Scan your whole stack
From OX Research Newsroom
Are you using @mearl/cloud-types?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.1.11
@mearl/cloud-types was last scanned on 24 Nov 2026 at version 3.1.11. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.1.11 LATEST | 24 Nov 2026 | No rules fired |
| 3.1.10 | 24 Nov 2026 | No rules fired |
| 3.1.9 | 24 Nov 2026 | No rules fired |
| 3.1.8 | 24 Nov 2026 | Not shown |
| 3.1.8-beta.4 | 24 Nov 2026 | Not shown |
Findings for v3.1.11. 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 3.1.11; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
简体中文 | English
Mearl 云端通信链路的共享类型与常量。
@mearl/client、cloud-server、cloud-connector 三端通过 WebSocket 互通,本包定义它们之间消息的统一协议(消息结构、心跳、缓冲区上限、各类超时默认值),确保三端对线上格式始终一致。
仅供 monorepo 内部使用。
interface CloudMessage {
id: string;
action: string;
data: Record<string, any>;
connector?: string;
browser?: string;
timeoutSec?: number;
}
interface CloudResponse {
id: string;
success: boolean;
data?: any;
error?: string;
versionWarning?: string;
}
interface HeartbeatMessage {
type: 'ping' | 'pong';
timestamp: number;
}
interface AgentHelloMessage {
type: 'agent_hello';
}
interface ConnectorHelloMessage {
type: 'connector_hello';
connectorId: string;
name: string;
version?: string;
}
isAgentHelloMessage(msg): msg is AgentHelloMessage
isConnectorHelloMessage(msg): msg is ConnectorHelloMessage
isHeartbeatMessage(msg): msg is HeartbeatMessage
isCloudMessage(msg): msg is CloudMessage
isCloudResponse(msg): msg is CloudResponse
resolveCloudConnectorSelector(connectors, selector) 按精确 ID、精确名称、唯一模糊匹配的
顺序解析 connector 目标,并区分匹配、歧义和未找到。
MAX_BUFFER_SIZE; // 10 MB,单条消息缓冲上限
DEFAULT_REQUEST_TIMEOUT; // 60s
DEFAULT_CONNECT_TIMEOUT; // 30s
DEFAULT_HEARTBEAT_INTERVAL; // 30s
DEFAULT_HEARTBEAT_TIMEOUT; // 90s
import { type CloudMessage, isCloudResponse, DEFAULT_REQUEST_TIMEOUT } from '@mearl/cloud-types';
pnpm build # tsc 编译到 dist/
pnpm dev # tsc --watch
pnpm typecheck # 仅类型检查
Apache-2.0
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.