From 85e85edafe99261edb9ee41c19d641a11ef08d82 Mon Sep 17 00:00:00 2001 From: anupamme Date: Tue, 25 Aug 2026 22:22:01 +0000 Subject: [PATCH] fix: javascript.shelljs.security.shelljs-exec-injection.shelljs-exec-injection security vulnerability Automated security fix generated by OrbisAI Security --- bin/runnodemodels | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/runnodemodels b/bin/runnodemodels index e2df5ba8..b577de6e 100755 --- a/bin/runnodemodels +++ b/bin/runnodemodels @@ -1,6 +1,7 @@ #!/usr/bin/env node const shell = require('shelljs') +const { spawnSync } = require('child_process') const dir = './models' @@ -18,4 +19,4 @@ models = models .map(str => str.charAt(0).toLowerCase() + str.slice(1)) shell.echo('models:', models) -models.forEach(model => shell.exec(`./bin/runnode ${model}`)) +models.forEach(model => spawnSync('./bin/runnode', [model], { stdio: 'inherit' }))