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

@cpsoft13/z-agent-page

Latest version: v0.1.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: cpsoft13
2 Versions

Scan summary

@cpsoft13/z-agent-page was last scanned on 25 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 25 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 25 Nov 2026 No rules fired
0.0.0-stage 25 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

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

README

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

zAgentPage

PageScript 运行时、编辑器与页面引擎 —— 一个页面就是一段可 diff 的文本。

English · @cpsoft13/z-agent-ui

页面写成脚本,不写成组件树:

page store-dashboard type=dashboard grid=24

request sales
  dataset "dataset:1"
  dim shop
  dim date
  metric 销售额 sum amount
  metric 订单数 sum orders

card "销售额" kind=kpi id=k-amount dataset=$sales span=6 format=money
  metric 销售额

card "销售额趋势" kind=line id=c-trend dataset=$sales span=24
  dim date
  metric 销售额

这段文本被解析成 AST、做静态检查、渲染成真实页面 —— PC 与手机端同一份源。编辑就是改这几行文本, 所以 AI 可以直接生成与修复页面,不必先谈一套 schema。

本仓库是 zAgentUI 的页面层:

层 目录 它是什么
L3 page · editor 脚本 ↔ AST、静态检查、渲染(PC / H5),以及四个外壳:两套编辑器 + 两套渲染器
L4 engine 路由、页面栈、页面上报的默认监听者
L5 platform 页面注册表(版本 / 上下架 / 权限)、路径模板、资源仓、应用壳装配

控件不在这里。 每个 <z-…> 元素都来自 @cpsoft13/z-agent-ui(L0–L2)。 依赖单向:本包引组件库,组件库不引本包。


安装

npm install @cpsoft13/z-agent-ui @cpsoft13/z-agent-page
// 令牌与基础样式来自组件库
import "@cpsoft13/z-agent-ui/z-agent-ui.css";
import "@cpsoft13/z-agent-ui/theme";

// 页面内核:解析 / 检查 / 渲染
import { parsePageScript, lintPageScript, renderPage } from "@cpsoft13/z-agent-page";

// 编辑器与渲染器是自定义元素,import 即注册
import "@cpsoft13/z-agent-page/editor";
<z-page-view></z-page-view>

入口

引入 得到什么
@cpsoft13/z-agent-page 页面内核 barrel:语法 / 渲染 / 取数 / 编辑 / 行为
@cpsoft13/z-agent-page/page/syntax 文本 ↔ AST、节点表、lintPageScript
@cpsoft13/z-agent-page/page/render AST → DOM(PC 与 H5),表格 / 图表 / 甘特的挂载壳
@cpsoft13/z-agent-page/page/data 请求怎么拼、键怎么归一、结果怎么缓存
@cpsoft13/z-agent-page/page/edit 编辑器内核:脚本 + 一个操作 → 新脚本
@cpsoft13/z-agent-page/page/behavior 事件与地址上报、写入流程
@cpsoft13/z-agent-page/editor <z-page-editor> <z-page-editor-h5> <z-page-view> <z-page-m-view>
@cpsoft13/z-agent-page/engine PageEngine、PageStack、页签、三种 transport(hash / history / memory)
@cpsoft13/z-agent-page/platform PageRegistry、路径匹配、publish / rollback、mountShell

每个模块也可单独引 —— 只要检查器时 @cpsoft13/z-agent-page/page/syntax/lint 就够。


三个该看的 demo

demo 演示什么
page.html 由脚本渲染出的整页:KPI、表格、图表、甘特、表单、筛选、页签
editor.html 三栏画布:组件 / 页面 / 属性。改一个属性,脚本跟着变
platform.html 菜单与面包屑由注册表装配、切身份、403 / 404、发布与回滚

本地跑:

npm install
npm run dev            # vite,自动打开 /demo/
npm run build:demo     # 静态站输出到 docs/

闸门

规则不靠约定,每条都是一个会非零退出的脚本。

命令 挡住什么
npm test 3 400+ 例:页面内核、编辑器、引擎、平台
npm run exports:check package.json 的 exports 与实际产物对不上(缺产物 / 有产物没声明)
npm run layer:check 层方向(只准 L3 → L4 → L5)、外部依赖白名单、扫描面不缩水
npm run lines:check 文件行数上限,基线只减不增
npm run skill:check skills/page-script/ 产物与真源不一致
npm run check:guards 一次跑完全部不变式测试
npm run check 上面四道闸门

目录

src/
  page/        L3  syntax · render · data · edit · behavior
  editor/      L3  page-editor · page-editor-h5 · page-view · page-m-view
  engine/      L4  engine · route · stack · tabs · transport
  platform/    L5  registry · path · source · shell · mount · publish
demo/          一页一个 HTML,导航事实只在 nav.ts
skills/        page-script skill:面向 AI 的入口(规格 + lint bundle)
registry/      page-spec.json(节点表快照,供 skill 用)
tests/         3 400+ 例;*-guard.test.ts 是不变式
bin/           layer / lines / exports / skill 四道闸门

开发需要组件库在同级目录:

git clone https://gitee.com/cpsoft13/z-agent-ui.git
git clone https://gitee.com/cpsoft13/z-agent-page.git
cd z-agent-ui && npm install && npm run build     # 本包消费它的 dist/
cd ../z-agent-page && npm install

许可

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 @cpsoft13/z-agent-page

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229