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

@statewalker/vcs-utils-node

Latest version: v0.7.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: mkotelnikov
1 Stars
1 Forks
4 Versions
1.0K Downloads
TypeScript Repo language

Scan summary

@statewalker/vcs-utils-node was last scanned on 23 Nov 2026 at version 0.7.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest 2 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 0.7.0.
  • Downloads: 1,027 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.0 LATEST 23 Nov 2026 No rules fired
0.6.0 22 Nov 2026 No rules fired
0.3.2 6 Oct 2026 No rules fired
0.3.1 4 Oct 2026 Not shown

No rules fired in 0.7.0

Findings

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

README

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

@statewalker/vcs-utils-node

What it is

The Node.js FilesApi: a factory for NodeFilesApi from @statewalker/webrun-files-node, so apps and tests that run on Node can open a repository on the local filesystem.

Why it exists

The VCS packages use only portable APIs: files go through FilesApi, compression through the Web CompressionStream API, hashing through portable code. The same code runs in browsers, Node.js and workers, and no library imports a node:* module (a lint rule enforces it). Choosing the platform's FilesApi is the one thing left to the application, and this package is that choice for Node.js.

How to use it

pnpm add @statewalker/vcs-utils-node
Import path Contents
@statewalker/vcs-utils-node Everything below
@statewalker/vcs-utils-node/files createNodeFilesApi(), NodeFilesApi
import { createNodeFilesApi } from "@statewalker/vcs-utils-node/files";
import { readText } from "@statewalker/vcs-utils/files";

const files = createNodeFilesApi({ rootDir: "/path/to/project" });
const head = await readText(files, ".git/HEAD"); // "ref: refs/heads/main\n"

Paths are resolved against rootDir; a path whose .. would leave it is refused. To open a Git repository on disk, pass this FilesApi to a storage backend such as createGitFilesBackend() from @statewalker/vcs-store-files.

Internals

Writes and lock files
  • write streams (webrun-files-node 0.11): the chunks go to a temporary file beside the target as they arrive, and the temporary is renamed over the target once complete. Storing a large object does not hold it in memory, and readers see the old file or the new one, never a partial one; a source that fails leaves the old file in place. list hides the temporaries.
  • createExclusive is open(path, "wx") (O_CREAT | O_EXCL), after creating the parent directories, so the operating system decides who takes a lock. Lock files (<ref>.lock, packed-refs.lock, index.lock, gc.pid) go through atomicFilesOver(files, gitDir) from @statewalker/vcs-utils/files, which uses it: a lock excludes every other process on the machine, a running git included, and every other FilesApi instance over the same directory. If another process removes the lock's (empty) directory between the mkdir and the open, atomicFilesOver retries, as git's raceproof_create_file does.
  • File names are bytes on Linux: a path holding decodeGitPath escapes (a git path that is not UTF-8, such as latin-1 caf\xe9.txt) goes to the operating system as its bytes (a Buffer), and list reads names as bytes, so such a name round-trips. A plain UTF-8 path goes as a string, as before.
  • move is a rename(2), atomic on one filesystem, and a FilesApi rooted at / accepts absolute paths.
Dependencies
  • @statewalker/vcs-utils for the FilesApi type.
  • @statewalker/webrun-files-node, which provides NodeFilesApi.

License

MIT

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 @statewalker/vcs-utils-node

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

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?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229