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

@hy-sde-org/dsh-fs-archive

Latest version: v0.2.3-alpha.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: hyang028
1 Stars
1 Forks
13 Versions
953 Downloads
TypeScript Repo language

Scan summary

@hy-sde-org/dsh-fs-archive was last scanned on 29 Nov 2026 at version 0.2.3-alpha.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 13 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.3-alpha.2.
  • Downloads: 953 downloads.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.3-alpha.2 LATEST 29 Nov 2026 No rules fired
0.2.2-rc.5 22 Nov 2026 No rules fired
0.2.2-rc.3 15 Nov 2026 No rules fired
0.2.2-rc.1 6 Nov 2026 Not shown
0.2.1-rc.5 1 Nov 2026 Not shown

No rules fired in 0.2.3-alpha.2

Findings

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

README

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

@hy-sde-org/dsh-fs-archive

A pure-TS multi-format archive engine — zip, tar, tar.gz, rar, 7z, iso, deb, rpm, cpio, cab, arj, asar — plus the codec layer (gzip, bzip2, ncompress LZW, xz, deflate, zstd) behind them. Ported from @oh-my-pi/pi-utils.

This is the durable core of the harness read tool's multi-format support: foo.zip lists an archive's root, foo.zip:dir lists a directory, and foo.zip:dir/file.txt reads one member as text. Published standalone as @hy-sde-org/dsh-fs-archive; it mirrors @deepseek-ai/dsh-fs-archive in the hy-sde deepseek-harness fork.

Format detection sniffs content signatures (sniffArchiveFormat) and falls back to extension inference (archiveFormatFromPath); member reads are bounded by ArchiveLimits (entry count, index size, in-memory size, member size, path bytes, link depth) so attacker-controlled archives cannot drive unbounded allocation.

Port differences

  • No Bun runtime: Bun.hash.crc32 is table-driven CRC-32, Bun.CryptoHasher is node:crypto SHA-256, and Bun.file / Bun.write are node:fs / node:fs/promises equivalents.
  • All relative imports carry the .ts extension (repo rewriteRelativeImportExtensions).
  • formatBytes, the small LRUCache, and the public index.ts surface replace the upstream package-level re-exports; tests load fixtures from one bundled tar.gz (the same layout upstream uses to keep checkout state quiet).

Otherwise the port is algorithmically 1:1 with the original source. Keep the two sources in sync when the fork backports upstream archive-engine fixes.

Known Limitations and Deferred Work

  • The harness read tool member reads go through ctx.fs.readBytes with a bounded readMaxArchiveBytes (default 256 MiB): the archive file is loaded into memory for indexing. No streaming/local fileByteSource path is wired into the tool yet, so very large archives stay beyond the cap even though the engine itself supports lazy source reads.
  • The harness read tool serves member text and listings only; archive writing is not exposed through the tool (members are immutable there), though this package's writeArchive API supports zip/tar/tar.gz/asar writing for programmatic use.
  • Detection needs either content sniffing or an archive extension on the path; a member named with a supported archive extension inside a container is interpreted by longest-prefix rules from parseArchivePathCandidates.

Package API:

import {
  openArchive,
  parseArchivePathCandidates,
  sniffArchiveFormat,
  formatArchiveEntryLines,
} from '@hy-sde-org/dsh-fs-archive'
  • openArchive(source, options) — open a file path or { bytes, format } into an ArchiveReader; getNode resolves members, listDirectory lists, readFile reads one member's bytes, indexEntries enumerates.
  • parseArchivePathCandidates(filePath) — split archive.ext:member/path into resolution candidates (longest archive prefix first).
  • sniffArchiveFormat(bytes) / archiveFormatFromPath(path) — format rules.
  • formatArchiveEntryLines(entries) — one line per member, name/ for directories and name (size) for files.
  • See src/index.ts for the full export surface.

License

Port of MIT-licensed code. Original copyright: Copyright (c) 2025-2026 Can Bölük and contributors. Derived files carry header attribution; see the inline file headers and THIRD-PARTY-NOTICES.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 @hy-sde-org/dsh-fs-archive

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

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229