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-te-cost

Latest version: v0.4.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
AI: Suspicious npm package Publisher: sonettogu14
0 Stars
0 Forks
8 Versions
1.3K Downloads
TypeScript Repo language

Scan summary

dsh-te-cost was last scanned on 25 Nov 2026 at version 0.4.1. Risk score 80 of 100 (high). High-severity rules fired.

  • Releases: 8 versions; the latest 3 were published within 3 days (23–25 Nov 2026).
  • Findings: 1 rule fired in version 0.4.1 (1 high). The score describes this version only.
  • Downloads: 1,276 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.1 LATEST 25 Nov 2026 1 rule fired
0.4.0 23 Nov 2026 1 rule fired
0.3.0 23 Nov 2026 1 rule fired
0.2.1 18 Nov 2026 Not shown
0.2.0 18 Nov 2026 Not shown

Rules fired in 0.4.1: 1

Findings

1 High

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

New package re-exports an undocumented dependency

The package's main entry point re-exports code from a dependency that its README never mentions, and the package is newly published with few versions. Users of such a package run the dependency's code without knowing it is there. Established packages sometimes do this for ordinary reasons.

HIGH
Checking access…

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

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

README

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

dsh-te-cost

Cache-weighted token accounting for DeepSeek Harness. Raw totals mislead — most input tokens are cache reads billed at a fraction of a fresh input token — so this component folds the four provider buckets (uncachedInput, cacheRead, cacheWrite, output) into one comparable number: equivalent fresh-input tokens.

dsh plugin --profile <profile> add dsh-te-cost
# then add "dsh-te-cost" to dsh.profile.bundles in that profile's package.json
  • Observes session/event only; never touches the prompt or the tool surface.
  • Keeps a per-repository ledger in $DSH_HOME/dsh-tokeneconomizer/repos/<key>/cost.json.
  • /te-cost [session|repo] prints the breakdown.

Part of dsh-tokeneconomizer — install dsh-te for all three components. Configuration, the unknown-model fallback and the measurement caveat are documented there. Licensed Apache-2.0.

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-te-cost

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

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?

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229