{
  "schemaVersion": "ebb.rule.v1",
  "id": "nodejs.symbol.child-process.customfds",
  "ecosystem": "nodejs",
  "purl": "pkg:generic/nodejs",
  "affectedVersions": "vers:semver/>=12.0.0",
  "event": "removed",
  "severity": "high",
  "title": "The customFds option of child_process has been removed",
  "summary": "Node.js removed the customFds option of child_process (DEP0006: documentation-only since v0.5.10, runtime deprecation since v0.11.14, end-of-life since v12.0.0).",
  "replacement": "options.stdio",
  "sources": [
    {
      "title": "Node.js deprecations: DEP0006",
      "url": "https://nodejs.org/api/deprecations.html",
      "accessedAt": "2026-10-21"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-21",
    "reviewedAt": "2026-10-21",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep the behavior of the code unchanged; check the replacement's argument and return-value differences."
    ],
    "steps": [
      {
        "id": "replace-symbol",
        "title": "Replace the usage",
        "instructions": "Replace each reported use of the customFds option of child_process with options.stdio.",
        "targets": "usages"
      }
    ],
    "verification": [
      {
        "command": "npm run test --if-present",
        "purpose": "Run the repository tests when defined."
      }
    ]
  }
}
