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

@cvoc/core

Latest version: v0.11.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: rlxu
10 Versions
1.3K Downloads

Scan summary

@cvoc/core was last scanned on 24 Nov 2026 at version 0.11.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 5 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 0.11.0.
  • Downloads: 1,326 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.11.0 LATEST 24 Nov 2026 No rules fired
0.10.0 24 Nov 2026 No rules fired
0.9.0 23 Nov 2026 No rules fired
0.8.0 23 Nov 2026 Not shown
0.7.0 23 Nov 2026 Not shown

No rules fired in 0.11.0

Findings

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

README

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

@cvoc/core

Cognvoc SDK 核心模块,提供各业务模块共享的全局配置、HTTP 请求、事件总线、日志等基础设施。

安装

npm install @cvoc/core

快速开始

Config 是整个 SDK 的统一配置入口,所有业务模块(如 @cvoc/phone、@cvoc/data)共享同一份配置实例。在创建任何模块客户端之前,必须先调用 Config.init() 完成初始化。

import { Config, LogLevel } from '@cvoc/core';

Config.init({
  apiUrl: 'https://prod.cognvoc.com/openapi/',
  accessToken: 'YOUR_ACCESS_TOKEN',
  refreshToken: 'YOUR_REFRESH_TOKEN',
  tenantId: 1,
  logLevel: LogLevel.Info,
  phone: {
    mqttUrl: 'wss://mqtt.example.com:8084/mqtt',
    ringtoneUrl: '/ring.wav',
  },
});

初始化完成后,即可创建并使用各业务模块客户端:

import Phone from '@cvoc/phone';

const client = await Phone.createClient();

方法

Config.init(options)
static init(options: ConfigInitOptions): void;

初始化全局配置。可在任何时机多次调用,后传入的字段会覆盖之前的值,未传入的字段保持原值。

options 参数说明
字段 类型 必⁠填 说明
apiUrl string ✅ API 服务基础地址,如 https://prod.cognvoc.com/openapi/
accessToken string ✅ 访问令牌,HTTP 请求会携带 Authorization: Bearer <token>
refreshToken string ❌ 刷新令牌,访问令牌过期时用于换取新的令牌;不传或为空时不刷新
tenantId string \| number ✅ 租户 ID
logLevel LogLevel ❌ 全局日志级别。可选值:'debug'、'info'、'warn'、'error'、'silent'
phone PhoneConfig ❌ @cvoc/phone 模块配置
phone.mqttUrl string ✅ MQTT 服务地址,如 wss://mqtt.example.com:8084/mqtt
phone.ringtoneUrl string ❌ 来电铃声文件地址,如 /ring.wav
phone.iceServers IceServer[] ❌ WebRTC ICE 服务器列表。每个条目包含 urls(必填)、username、credential
⚠️ 注意事项
  • 调用时机:必须在创建任何模块客户端之前调用 Config.init(),否则模块会抛出 Config is not initialized 异常。
  • 全局唯一:Config 类无法实例化(私有构造函数),所有模块通过静态方法访问同一份配置数据。
  • 二次配置:更新配置时直接再次调用 Config.init({ ... }) 传入新值即可,无需清空。

License

MIT

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 @cvoc/core

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229