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

@lostgradient/hoard

Latest version: v0.1.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: stevekinney
2 Stars
0 Forks
2 Versions
TypeScript Repo language

Scan summary

@lostgradient/hoard was last scanned on 30 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 30 Nov 2026 No rules fired
0.0.0-stage 30 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

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

README

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

@lostgradient/hoard

The shared contract lists objects, reads bytes with their opaque quoted ETag, and performs conditional writes. An absent write succeeds only once; an etag write succeeds only when that ETag is current. A stale condition leaves stored bytes unchanged.

createS3ObjectOperations signs S3-compatible fetch requests and additionally exposes conditional remove: a stale ETag preserves the object and a matching ETag removes it. createR2ObjectOperations returns the shared operations plus deleteUnconditionally(key) (the R2ObjectStoreOperations type). R2's binding has no conditional delete, so this delete ignores the object's ETag, succeeds for an absent key, and is named to say so; there is no remove, and a conditional delete is never approximated with a read followed by delete. Conditional R2 writes are verified against a local Miniflare R2 binding.

Presigned uploads to R2

A server can hand a client URLs it uploads to directly, so the bytes never pass through a Worker. Both paths target R2's S3-compatible endpoint (https://<account>.r2.cloudflarestorage.com, region auto) and read no process state: the credentials and the fetch are arguments.

import {
  abortMultipartUpload,
  completeMultipartUpload,
  createSigV4Presigner,
  presignObjectUpload,
  presignUploadPart,
  startMultipartUpload,
} from '@lostgradient/hoard';

const presigner = createSigV4Presigner({
  endpoint: `https://${accountId}.r2.cloudflarestorage.com`,
  region: 'auto',
  accessKeyId,
  secretAccessKey,
  bucket: 'screenshots',
});

Single part. presignObjectUpload returns a PUT URL. A contentType is part of the signature, so the client must send exactly that Content-Type. expiresIn is a whole number of seconds from 1 to 604800 (default 3600).

const url = presignObjectUpload(presigner, 'runs/42/home.png', {
  expiresIn: 900,
  contentType: 'image/png',
});
// The client: await fetch(url, { method: 'PUT', headers: { 'content-type': 'image/png' }, body });

Multipart. The server starts the upload, signs one URL per part, and completes (or aborts) it. Starting, completing and aborting are signed requests the server makes itself with fetch; only the parts are uploaded by the client. Part numbers run from 1 to 10000. The client reads each part's ETag response header and returns it to the server.

const options = { presigner }; // optionally { presigner, fetch } to inject a fetch
const uploadId = await startMultipartUpload(options, 'runs/42/video.mp4', {
  contentType: 'video/mp4',
});
const partUrl = presignUploadPart(presigner, 'runs/42/video.mp4', { uploadId, partNumber: 1 });
// The client PUTs part bytes to partUrl and reports the ETag it receives.
await completeMultipartUpload(options, 'runs/42/video.mp4', {
  uploadId,
  parts: [{ partNumber: 1, etag: '"9b2cf535f27731c974343645a3985328"' }],
});
// To discard an upload instead: await abortMultipartUpload(options, key, { uploadId });

An invalid part number, an empty part list, or an expiry over 604800 seconds throws a TypeError before any request. A failed request raises ObjectStoreError, whose message holds no URL, signature or credential.

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 @lostgradient/hoard

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

Copy of Template Design OX Blog (2)
Research

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

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 (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229