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

dsh-norms

Latest version: v1.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: nuoyis
0 Stars
0 Forks
3 Versions
299 Downloads
JavaScript Repo language

Scan summary

dsh-norms was last scanned on 29 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 3 days (27–29 Nov 2026).
  • Findings: No rules fired in version 1.1.0.
  • Downloads: 299 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 29 Nov 2026 No rules fired
1.0.0 27 Nov 2026 No rules fired
0.0.0-stage 27 Nov 2026 Not shown

No rules fired in 1.1.0

Findings

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

README

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

工作区规范化(dsh-norms)

作者:nuoyis/dsh-norms · 许可证:MIT

把「用户重点强调的总规则」和「公共 Python 的能力参数」沉淀到工作区根 AGENTS.md, 并让每次模型的系统提示先看到规则链。

  • 规则链:根 AGENTS.md → 指定目录区域 → 公共区 README.md → 本次会话 ROOT.md
  • 强调规则:norms_rule 或 /rule <文本> 直接写进 AGENTS.md 托管区块
  • 会话根文档:session/<会话名>/ROOT.md
  • 项目工具包:插件自带 toolkit/,安装/首次运行复制到工作区根;norms_toolkit 可补复制
  • 公共 Python:norms_py_audit 评分,严格大于 85 才允许 norms_py_register,登记时把 API、参数、评分写回 AGENTS.md

安装

从 npm:

plugin_manager action=install_bundle target=dsh-norms@1.1.0

从本目录(开发时):

plugin_manager action=install_bundle target=<插件目录的绝对路径>

安装后新开一个会话生效;源码改动后要 remove_bundle 再 install_bundle。

目录

dsh-norms/
├── index.js            Host 入口:prompt section、7 个工具、/rule 命令
├── lib/pyaudit.js      Python 公共性评分
├── lib/agentsmd.js     AGENTS.md 托管区块、备份、原子写
├── toolkit/            随包复制的项目级工具包(README/模板/脚手架/查找)
├── tests/              本地自测
├── market/index.example.json   插件市场索引模板(format 1)
├── package.json
├── cordis.patch.yml
├── locale/{en,zh}.json
├── icon.svg
├── docs/DETAIL.md      完整说明
├── LICENSE
└── README.md

自测

node tests/test-lib.mjs
node tests/test-apply.mjs
node --check index.js

发布(npm Trusted Publishing)

发布走 GitHub Actions + npm 官方的 Trusted Publishing: 用 OIDC 换取短时凭据,不需要 NPM_TOKEN,也不需要在本机登录 npm。 仓库里已带 .github/workflows/publish.yml,只在推送 v* tag 时执行。

一次性配置
  1. 打开 npm 包设置:https://www.npmjs.com/package/dsh-norms → Settings → Trusted publishing → 添加 GitHub Actions:

    字段 值
    Organization/user nuoyis
    Repository dsh-norms
    Workflow filename publish.yml
    Environment 留空

    workflow 文件名、仓库名、Environment 必须与这里完全一致,否则 npm 会拒绝。

  2. 确认仓库的 Actions 允许运行(公开仓库默认允许)。

每次发布
npm version patch   # 或 minor / major,改 package.json 版本并打 vX.Y.Z tag
git push --follow-tags

也可以到 GitHub 的 Actions 页手动运行 publish(workflow_dispatch), 适合没打 tag 时先发一版;手动运行时只校验版本不在 npm 上。

tag 推送后 workflow 会先校验:npm ≥ 11.5.1、tag 与 package.json 版本一致、 该版本在 npm 上不存在、npm pack --dry-run 通过;然后执行 npm publish --access public。Trusted Publishing 会自动附带 provenance, 发布成功后可在 npm 包页看到 “Built and signed on GitHub Actions”。

发布后
  • GitHub 仓库加 topic dsh-plugin(社区目录与自动扫描靠这个 topic 发现插件)。

  • 插件市场索引保持 market/index.json,source.commit 指向本版本源码 commit; DSH 的 Discover 支持添加一个 http(s) JSON 索引地址:

    https://raw.githubusercontent.com/nuoyis/dsh-norms/main/market/index.json

    在 DSH「插件 → 发现 → 管理索引源」添加该地址,即可搜索并安装。 索引必须是最终地址(DSH 拒绝重定向),版本带 engines.dsh。

  • 可选:向 dsh.so、dsh.works、DSH Plugin Hub 等社区目录提交仓库地址; 它们多数按 GitHub 的 dsh-plugin topic 自动收录,少数需要在其提交页登记。

完整功能、配置与评分规则见 docs/DETAIL.md。

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 dsh-norms

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229