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

@morlay/better-session

Latest version: v0.2.0-alpha.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: morlay_null
11 Stars
5 Forks
43 Versions
5.8K Downloads
TypeScript Repo language

Scan summary

@morlay/better-session was last scanned on 1 Dec 2026 at version 0.2.0-alpha.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 43 versions; the latest was published on 1 Dec 2026.
  • Findings: No rules fired in version 0.2.0-alpha.0.
  • Downloads: 5,783 downloads.

Versions

43 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0-alpha.0 LATEST 1 Dec 2026 No rules fired
0.1.14 12 Nov 2026 No rules fired
0.1.13 9 Nov 2026 No rules fired
0.1.12 6 Nov 2026 Not shown
0.1.11 4 Nov 2026 Not shown

No rules fired in 0.2.0-alpha.0

Findings

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

README

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

@morlay/better-session

NPM Version NPM Downloads NPM Downloads (18 months)

profile 聚合 bundle:一次性装配 @morlay/session-branch、@morlay/session-rdb、 @morlay/ui-conversation-message-actions、@morlay/ui-conversation-manager、@morlay/dsh-reference 到 DeepSeek Harness 的 profile,提供就地编辑 / 重试 / 撤回 / 分支(rewind / retry / recall / fork)闭环。对话外壳走官方 ui-conversation 行,我们的扩展只注册在它的槽位上(conversation.chat.node / conversation.composer.dock)。

安装

dsh plugin --profile web add "@morlay/better-session"

安装带上全部子包,bundle patch(cordis.patch.yml)自动装配四层服务。装了什么、为什么这么 换、边界在哪,见设计 会话编辑闭环装配与 ADR 不 fork 上游前端组件。

使用

装配后即可在 GUI 会话中:

  • 编辑 user 消息 → 撤回该消息及其后内容到输入框(rewind,不重放),用户改后自行发送(带确认弹窗)
  • 重试 任意闭合回合 → 就地重放该回合输入(带确认弹窗)
  • 分支(fork)→ 从任意闭合边界派生新会话

也可以直接调用服务:

// 编排层(host)
await ctx.sessionEditor.retry({ action: "retry", sessionId, turn: 2, cascade: "truncate" });
// 数据层
await ctx.sessionBranch.rewind(sessionId, 5);
await ctx.sessionBranch.forkFrom(sourceId, { atSeq: 6, childSessionId });

配置(rdb)

默认配置为 SQLite($DSH_HOME/sessions/sessions.sqlite)。改配置就是改 session-rdb 那一行的 config(bundle patch / profile patch / 设置页都可)——字段、默认值与生效方式见 @morlay/session-rdb 的 README。

插件页不挂长文:locale/*.json 的 meta.detail 指向空文件 docs/detail.md,所以 bundle 详情页的"详细介绍"区是空的;本 README 仍是包门面。

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 @morlay/better-session

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

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?

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