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

norain

Latest version: v0.2.4

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: jboxi
0 Stars
0 Forks
4 Versions
589 Downloads
Python Repo language

Scan summary

norain was last scanned on 29 Nov 2026 at version 0.2.4. Risk score 0 of 100. High-severity rules fired.

  • Releases: 4 versions; the latest was published on 29 Nov 2026.
  • Findings: 1 rule fired in version 0.2.4 (1 high). The score describes this version only.
  • Downloads: 589 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.4 LATEST 29 Nov 2026 1 rule fired
0.2.3 19 Nov 2026 1 rule fired
0.2.2 18 Nov 2026 1 rule fired
0.2.1 18 Nov 2026 Not shown

Rules fired in 0.2.4: 1

Findings

1 High

Findings for v0.2.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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.2.4; other versions have their own rules, not their own score.

README

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

Norain

PyPI Python License: MIT

基于 sing-box 的 Hysteria2 / Trojan 代理:客户端 norain 和服务端 norain-server,Python 做控制层, sing-box 做数据面,兼容 Windows 和 Linux。

安装

pip install norain

同一个包提供两个命令:norain(客户端)和 norain-server(服务端)。

当前版本为 0.2.4。 必要档测试 167 项通过(3 项仅 POSIX 跳过,11 项 slow 用例需 --full)。 0.2.4 修的是「动不动掉代理」:新增 [maintain] grace_seconds 抖动窗口,见 docs/pending.md。

已在真实环境验证过的部分包括生成配置通过 sing-box 1.14.4 check、本地端到端隧道、TUN 路由接管与还原、 Windows 防火墙阻断与解除、nftables 阻断、系统代理写入与还原、服务端 install/reload/fix/update/uninstall、 systemd 开机自启(真实重启)、真实 ACME 签发。仍未验证:客户端与 Linux 的安装流程、TUN 的实际流量、 监控错误码、自维持互拉、分流学习闭环。逐项见 docs/pending.md。

优先级:以最初目标 docs/reference/original-goals.md 为准,除非有硬性 bug。

客户端(九个模块)

代理、分流、监控、自维持、阻断、修复、启动、内控制、外控制。

norain install --server example.com     # 部署:sing-box、配置、norain 命令、环境变量、开机自启动
norain start | stop | restart | status
norain config protocol auto             # 自适应 / hysteria2 / trojan
norain config mode safe                 # 安全模式:不开机自启动
norain list white add example.com       # 白名单 / black 黑名单 / blue 蓝名单 / monitor 监控名单
norain module monitor restart           # 启动 / 结束 / 重启单个模块
norain repair file|builtin|full|reload  # 四种修复
norain block status|off                 # 阻断模式;off = 手动解除(未修复时需 --force)
norain once monitor                     # 一次性执行某个模块的某个功能
norain status -t                        # -t:显示每个模块的运行情况和返回结果
norain uninstall

服务端

干净机器上可以直接用引导脚本(系统依赖 → 虚拟环境 → 安装包 → norain-server install):

sudo bash scripts/bootstrap-server.sh

(脚本在仓库里保留了可执行位,sudo ./scripts/bootstrap-server.sh 同样可用; 用 bash 调用可以避免因 clone/拷贝丢失可执行位而失败。)

已经装好 Python 与 venv 时,照常手动安装:

NORAIN_DOMAIN=example.com NORAIN_PASSWORD=… norain-server install
norain-server start | stop | restart | reload | status
norain-server config validate|show|edit
norain-server cert check | cert self-signed --domain <域名>
norain-server firewall open|close|status
norain-server fix
norain-server update | uninstall [--purge]

文档

  • 交接说明和未验证项目:HANDOFF.md
  • 实现状态清单:docs/pending.md
  • 决策记录:docs/decisions/
  • 配置示例:examples/server.toml、examples/cfg.toml
  • sing-box 锁定版本:third_party/singbox.lock.toml(1.14.4)

开发

需要 Python ≥ 3.11,以及 pydantic、cryptography、psutil。

pip install -e ".[dev]"
python3 -m pytest -q

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).

  • pypi-releases norain

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

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?

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229