mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
7 lines
285 B
JavaScript
7 lines
285 B
JavaScript
// Regression fixture: a tainted env string is pushed into an array
|
|||
// and later read back via subscript before being sunk through
|
|||
// child_process.exec. This exercises container-element taint.
|
|||
const items = [];
|
|||
items.push(process.env.INPUT);
|
|||
require('child_process').exec(items[0]);
|