Skip to content
HALOWERK

Paketwerk

npm publish path boundaries

Return path escapes and forbidden package archive entries from supplied publish file paths and symlinks. Supplied data only; bounded local calculation. No network lookup or external action.

POST https://paket.halowerk.com/v1/npm-publish-path-boundaries

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
filesarrayYes
symlinksarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 0
    },
    "symlinks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1
          },
          "target": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1
          }
        },
        "required": [
          "path",
          "target"
        ],
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 0
    }
  },
  "required": [
    "files",
    "symlinks"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "files": [
    "package.json",
    "dist/index.js",
    "../private.env",
    ".git/config",
    "node_modules/ajv/index.js"
  ],
  "symlinks": [
    {
      "path": "dist/shared",
      "target": "../../outside"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’