29th October 2026

From curl 8.12 through 8.16, config files could slice variable values and include other config files without an explicit depth cap. Together, these features let curl simulate any two-counter Minsky program. Under the usual idealization of unbounded strings and resources, this construction was Turing-complete.

Curl 8.17.0 added a five-level include cap that breaks this reduction.

Minsky 2-Counter Reduction

A counter value n is represented by n copies of x.

Each instruction state uses one or more config files, with file names acting as labels, and expand-config selecting the next file.

Syntax:

  • {{b}} expands the current value
  • [0-0] keeps only the first byte (x or empty)
  • [1-] keeps everything except the first byte
  • empty slices yield empty strings (doc)