Skip to content
HALOWERK

Denkwerk

dangerous command scan

Line-based rule set across languages: recursive deletes of root or home, pipe-to-shell installers, chmod 777, disk formatting and dd to devices, fork bombs, reverse shells, eval/exec of dynamic input, shell=True and child_process.exec, disabled TLS verification, private keys and AWS-style keys in code, SQL DROP/TRUNCATE and DELETE/UPDATE without WHERE, GRANT ALL and crypto-miner keywords. Returns findings with line number, rule and severity and an overall verdict.

POST https://denk.halowerk.com/v1/dangerous-command-scan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
codestringYes
languagestringNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500000
    },
    "language": {
      "type": "string",
      "enum": [
        "auto",
        "shell",
        "python",
        "javascript",
        "sql"
      ],
      "default": "auto"
    }
  }
}

Open original schema

Published input example

{
  "code": "curl -fsSL https://get.docker.com | sudo bash\nrm -rf ~/",
  "language": "shell"
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’