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

@stogas/sev-snp

Latest version: v0.1.0-alpha.14

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: stogas
0 Stars
0 Forks
4 Versions
198 Downloads
Rust Repo language

Scan summary

@stogas/sev-snp was last scanned on 29 Nov 2026 at version 0.1.0-alpha.14. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 2 days (28 and 29 Nov 2026).
  • Findings: 1 rule fired in version 0.1.0-alpha.14 (1 low). The score describes this version only.
  • Downloads: 198 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0-alpha.14 LATEST 29 Nov 2026 1 rule fired
0.1.0-alpha.13 28 Nov 2026 1 rule fired
0.1.0-alpha.12 28 Nov 2026 1 rule fired
0.1.0-alpha.11 28 Nov 2026 Not shown

Rules fired in 0.1.0-alpha.14: 1

Findings

1 Low

Findings for v0.1.0-alpha.14. 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.

WebAssembly module included

The package includes a WebAssembly (.wasm) module. It cannot be reviewed as source, but it runs sandboxed inside the JavaScript runtime and can access only what the host code gives it. WebAssembly is common in parsers, codecs and cryptography libraries. Shown for awareness.

LOW
Checking access…

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

The score describes 0.1.0-alpha.14; other versions have their own rules, not their own score.

README

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

@stogas/sev-snp

Networkless WebAssembly verification of AMD SEV-SNP attestation reports, for Node, Bun, Deno, browsers and Cloudflare Workers. It parses a report strictly, verifies its VCEK or VLEK certificate up to AMD's root for Milan, Genoa or Turin, which it pins, binds the certificate to the report's processor, chip and TCB, checks the report signature and an optional AMD CRL, and checks the result against your policy. Reports from other processors, such as Venice, fail closed.

import { readFileSync } from 'node:fs';
import { certificate_table_endorsements, verify } from '@stogas/sev-snp';

// A report and certificate table from configfs-tsm: outblob and auxblob.
const report = readFileSync('outblob');
const endorsements = certificate_table_endorsements(readFileSync('auxblob'), report);
const verified = verify(report, endorsements, {
    report_data: expectedReportData,
    measurements: [expectedMeasurement],
    vmpl: 0,
    platforms: [{ product: 'Milan', minimum_tcb: { bootloader: 4, tee: 0, snp: 29, microcode: 222 } }]
});

verify checks the certificates at the current time, or at the time you pass in seconds since the UNIX epoch. It returns the parsed report with its product, signing key, the cloud provider that a VLEK names, and when the certificates and CRL are valid.

A host that returns no certificate table leaves you to fetch the VCEK from vcek_url(report) and pass it as { leaf }. Cloud providers that sign with a VLEK, such as AWS, return it in the table. Pass AMD's CRL from crl_url(product) as crl, and set require_crl to refuse a report without one. verify_crl returns a CRL's number: keep the highest for each product and refuse a lower one, which an attacker could replay to hide a revocation.

Policies

The policy is the JSON form of the Rust crate's Policy: byte fields are lowercase hexadecimal, and masks are 0x followed by 16 lowercase digits, so that JavaScript keeps every bit. An absent value or empty list requires nothing, except that the guest policy forbids debugging and a migration agent unless you set forbid. Unknown fields throw, so that a misspelled requirement cannot go unchecked. The stogas-sev-snp README describes each check.

Errors

A failed check throws a SevSnpError whose code names it: report, unsupported_product, unsigned, certificate, signature, expired, revoked, binding, missing_endorsement, invalid_policy or policy. Arguments of the wrong type throw a TypeError.

Entry points

The default entry initializes the WebAssembly synchronously in Node, Bun and Deno. In a browser, call the default export of @stogas/sev-snp/browser once before using it. Cloudflare Workers and other runtimes that import .wasm files as modules use @stogas/sev-snp/worker.

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 @stogas/sev-snp

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

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

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