IMPORTANT SECURITY NOTICE: This is a security holding package maintained by the npm security team. The original child_process package version 1.0.2 contained malicious code and was removed from the registry. This placeholder prevents future malicious packages from claiming the same namespace.
npm install child_process (NOT RECOMMENDED - see below)This package should NOT be installed or used in production applications. It serves only as a security placeholder to prevent malicious actors from publishing packages under the child_process name.
If you need child process functionality in Node.js, use the built-in child_process module instead:
// Use Node.js built-in module (recommended)
const { spawn, exec, execFile, fork } = require('child_process');
// Or with ES modules
import { spawn, exec, execFile, fork } from 'child_process';This security holding package contains only:
This package intentionally provides no functional exports, classes, or methods. Any attempt to import or require functionality will result in an error, as this behavior is by design to prevent accidental usage.
// This package exports nothing intentionally
// All imports will fail or return undefinedchild_process@1.0.2 contained malicious codeThis package provides namespace protection for the npm ecosystem by preventing malicious actors from claiming the child_process package name.
// No functional API - security placeholder only
// Package intentionally provides no exportsWhen developers attempt to install this package, they receive clear warnings about the security history and are directed to use Node.js built-in alternatives.
Any attempt to use this package as if it were functional will result in:
This is intentional behavior to prevent accidental usage of the security placeholder.
// No type definitions - package provides no functional types
// This is a security placeholder with no API surfaceDO NOT INSTALL this package. If you see this package in your dependencies:
npm uninstall child_processchild_process module insteadchild_process packageWhen working with child processes in Node.js:
child_process moduleexecFile or spawn instead of exec when possibleFor more information about secure child process usage, refer to the Node.js child_process documentation.