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

@solayao/api-data

Latest version: v1.0.4

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: solayao
3 Versions

Scan summary

@solayao/api-data was last scanned on 25 Nov 2026 at version 1.0.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 2 days (24 and 25 Nov 2026).
  • Findings: No rules fired in version 1.0.4.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.4 LATEST 25 Nov 2026 No rules fired
1.0.2 24 Nov 2026 No rules fired
1.0.1 24 Nov 2026 No rules fired

No rules fired in 1.0.4

Findings

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

README

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

@solayao/api-data

Koa2 数据访问包:MySQL 读写分离、Redis/Redlock、漫画元数据 SQL。纯 CommonJS;配置与日志由宿主注入,不读取项目配置文件。

要求 Node.js >= 15(使用了 String.prototype.replaceAll)。

安装

npm install @solayao/api-data

初始化(必须先做)

import { initPlugins, configureSqls, closePlugins } from '@solayao/api-data'

const { mysql, redis } = initPlugins({
  mysql: { useMysql: true, cuid, readOnly },
  redis: { useRedis: 'one', one, sentinel }, // 'one' | 'sentinel' | false
  logger: (type, text, tag) => {},          // 如项目的 logColor
  isDev: false                              // 是否输出 SQL 调试日志
})

configureSqls({ useFulltextSearch: false })

// 进程退出时
await closePlugins()

initPlugins 必须在任何 solGsMysqlAction / solGsRedisAction / SQL 调用之前执行。

常用 API

导出 说明
solGsMysqlAction({ action, actionParams, useCuidPool }) solTransaction / solExecute / end;最后一位参数为 Boolean 时指定是否走读写池,默认只读
solGsRedisAction({ action, actionParams, useRedis, useRedlock, pipeActionParams }) Redis / Redlock 统一入口,useRedlock: true 走锁
solGetGsMysql() / solGetGsMyRedis() 获取底层实例(inicSuccess、end、redis、redlock)
BaseSql / TofucatSql / tofucatSqlInstance 通用 SQL 基类、业务 SQL 类、单例
solGetRedisKey / solGetRedisKeysKey / solGetTranferRedisKey / solGetTimeFromRedisKey 缓存 key 工具
import { tofucatSqlInstance } from '@solayao/api-data'

const [rows] = await tofucatSqlInstance.solGetComicFolderSimpleInfo(null, { id })

全文检索

默认 LIKE。启用前先执行包内 sqls/sql/indexes.sql(把 @createFulltextAuthorIndex 改为 1),再 configureSqls({ useFulltextSearch: true })。搜索分页上限 500。

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 @solayao/api-data

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

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

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