rpi is a Node.js library to use the Raspberry Pi GPIOs, this package are vulnerable to Command Injection.
pinNumbver in function
src/lib/gpio.js is used as part of the argument of
exec function without any sanitization.
var RPI = require("rpi"); var pin = new RPI.GPIO(';touch vulnerable.txt;', '123');