
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@_all_docs/worker
Advanced tools
Edge-compatible worker implementation for processing npm registry data across multiple runtime environments.
Edge-compatible worker implementation for processing npm registry data across multiple runtime environments.
This package provides a Hono-based HTTP worker that can run on:
pnpm add @_all_docs/worker
import { serve } from '@hono/node-server';
import { app } from '@_all_docs/worker/app';
serve({
fetch: app.fetch,
port: 3141
});
import { app } from '@_all_docs/worker/app';
export default {
fetch: app.fetch
};
The worker includes three processors for different work item types:
import {
processPartition,
processPackument,
processPartitionSet
} from '@_all_docs/worker/processors';
// Process a partition of _all_docs
const result = await processPartition(workItem, env);
// Process a package document
const result = await processPackument(workItem, env);
// Process a set of partitions
const result = await processPartitionSet(workItem, env, enqueueFunc);
NPM_ORIGIN - npm registry origin (default: https://registry.npmjs.org)RUNTIME - Runtime environment (node, cloudflare, fastly, cloudrun)CACHE_DIR - Cache directory for Node.jsCACHE_KV - KV namespace for CloudflareCACHE_DICT - Dictionary for FastlyCACHE_BUCKET - GCS bucket for Cloud RunDEBUG - Enable debug outputGET /health - Health check endpointPOST /work - Submit work items for processingGET /work/:id - Get work item statusworker/
├── app.js # Main Hono application
├── node.js # Node.js entry point
├── cloudflare.js # Cloudflare Workers entry
├── fastly.js # Fastly Compute@Edge entry
├── processors/ # Work item processors
│ ├── partition.js
│ ├── packument.js
│ └── partition-set.js
└── test/ # Test files
# Build for all targets
pnpm build
# Build for Cloudflare Workers
pnpm build:cf
# Build for Fastly Compute@Edge
pnpm build:fastly
# Build Docker image for Cloud Run
pnpm docker:build
pnpm test
Run as a containerized service:
# Build image
pnpm docker:build
# Run locally
pnpm docker:run
# Test the container
pnpm docker:test
Apache-2.0
FAQs
Edge-compatible worker implementation for processing npm registry data across multiple runtime environments.
We found that @_all_docs/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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.