
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
@plasius/gpu-worker
Advanced tools
A WebGPU worker runtime that builds on @plasius/gpu-lock-free-queue to schedule WGSL workloads like ray tracing, physics, and acoustics.
Apache-2.0. ESM + CJS builds. WGSL assets are published in dist/.
npm install @plasius/gpu-worker
import { assembleWorkerWgsl, loadWorkerWgsl } from "@plasius/gpu-worker";
const workerWgsl = await loadWorkerWgsl();
const shaderCode = await assembleWorkerWgsl(workerWgsl);
// Pass shaderCode to device.createShaderModule({ code: shaderCode })
The demo enqueues ray tracing tile jobs on the GPU and renders a simple scene. Install dependencies first so the lock-free queue package is available for the browser import map.
npm install
python3 -m http.server
Then open http://localhost:8000/demo/.
npm run build emits dist/index.js, dist/index.cjs, and dist/worker.wgsl.
demo/index.html: Loads the ray tracing demo.demo/main.js: WebGPU setup, enqueue, and ray tracing kernel.src/worker.wgsl: Worker entry points that dequeue jobs and run a ray tracer.src/index.js: Helper functions to load/assemble WGSL.Jobs are u32 indices into a fixed workload array (tiles, particles, etc). Keep job data fixed-size; use indices into a separate payload buffer for variable payloads.
FAQs
WebGPU worker runtime with a lock-free job queue for WGSL workloads.
The npm package @plasius/gpu-worker receives a total of 234 weekly downloads. As such, @plasius/gpu-worker popularity was classified as not popular.
We found that @plasius/gpu-worker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.