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

@sub2tok/magpie

Latest version: v0.1.9

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: chiling.wjq, sobear
9 Versions
1.0K Downloads

Scan summary

@sub2tok/magpie was last scanned on 28 Nov 2026 at version 0.1.9. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.1.9.
  • Downloads: 1,034 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.9 LATEST 28 Nov 2026 No rules fired
0.1.8 20 Nov 2026 No rules fired
0.1.6 12 Nov 2026 No rules fired
0.1.5 24 Oct 2026 Not shown
0.1.4 23 Oct 2026 Not shown

No rules fired in 0.1.9

Findings

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

README

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

@sub2tok/magpie

English

把 sub2tok 接成 magpie 的 provider:填一枚 sub2tok 的 API 令牌,magpie 就能用这枚令牌能调的模型,并显示账号余额与按月订阅额度。

安装

在 magpie 里:插件 › Discover,搜索 sub2tok,安装 @sub2tok/magpie。

或者用命令行:

magpie plugin add @sub2tok/magpie

登录

在 magpie 里「添加 provider › 来自插件」选 sub2tok,粘贴 sub2tok 控制台令牌页建的 sk-…。或者:

magpie plugin login sub2tok

能做什么

  • 模型:取自 GET /v1/models,只列价目表上、此刻接得住的模型,带上下文窗口。claude- 开头的走 /v1/messages,gpt-、o 系列与 codex- 开头的走 /v1/responses,其余走 /v1/chat/completions。
  • 余额:取自 GET /v1/usage,显示账号余额(美元)。sub2tok 拒绝令牌(401)时,账号会标成要重新登录。
  • 独享额度:取自 GET /v1/subscriptions,只显示 exclusive: true 的订阅。每份最紧的一桶先显示,其余桶随后;快捷面板用圆环,Usage 用横条,可随 magpie 切换已用 / 剩余。所有窗口只展示、不参与 magpie 路由;没有有效读数时写「暂无读数」,不画成 0 或 100%。
  • 价格:取自 /v1/models 每项的 pricing,就是 sub2tok 实际收的价(未单独设单项实售价时按单价乘倍率);联网搜索的按次费不算在里面,实际扣了多少看 sub2tok 控制台。
  • 没登录时:先列 claude-opus-5-5、claude-sonnet-5-5、gpt-6.1-sol、gemini-3.8-flash,登录后换成这枚令牌能调的模型。
  • 周额度用完时自动用重置卡:provider 编辑器里的第二个开关(英文 Use a reset when the week runs out),只在账号有生效中的按月订阅时出现。Claude 与 Codex 的订阅账号会拿到「把用过的额度窗口重新开始一次」的重置卡,Antigravity 没有。打开后,每周额度用完、也没有别的线路能接这笔请求时,网关会用掉一张卡再重试;一周最多一张,用了退不回来。它和控制台「按月订阅」页的复选框共用 user.exclusive_reset_auto 一列与两条审计,写回 POST /v1/exclusive-reset;拨动与追平的规则和上面那个开关相同。剩下的张数来自 GET /v1/usage 的 resetCredits,按 magpie 自己的重置卡字段显示,不参与路由。
  • 允许使用余额:provider 编辑器里有一个开关(英文 Use balance when the plan can't serve),只在账号有生效中的按月订阅时出现。打开后,按月订阅接不住的请求改走按量计费、按价目表扣余额;它和控制台「按月订阅」页的同一项设置共用一列与一条审计,关掉也一样。开关是 magpie 的本机选项:拨动时写回 POST /v1/exclusive-fallback;magpie 启动后第一次读到服务端是关、而开关是开时补写一次,之后不再反复覆盖控制台的改动。没有插件开关的老 magpie 不会发这个请求。
  • 会话:Agent 自己报了会话 ID 时,插件把它带给 sub2tok,同一段对话尽量落在同一条渠道上,好复用缓存;没报的由 sub2tok 按对话开头去认。
  • 登录存在哪:令牌由 magpie 存在 ~/.config/magpie/plugin-auth.json(权限 600),插件自己不存。

选项

默认连 https://api.sub2tok.com。要连别的地址(比如本地开发),在插件选项里填:

{ "baseURL": "http://localhost:5173" }

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 @sub2tok/magpie

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

Vulnerability Insights

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

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?

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229