eexiv/scripts/run.sh
Ananth Venkatesh 957adfc097
fix(security): potential arbitary code execution vulnerability (#36)
* fix(security): potential arbitary code execution vulnerability

sanitize all user input in zenodo uploader

fixes a medium-severity security vulnerability first identified by Snyk

* style: format

* chore: add shebang to zenodo shellscript

* ci(codeclimate): configure

* style: format

* fix(ci): stylelint plugin not working

* chore: remove manifest .vscode

* fix(ci): bye bye stylelint

* fix(ci): correct codeclimate config

specify exclude patterns

* fix(security): correct zenodo shellscript fail status

---------

Co-authored-by: quantum9Innovation <quantum9Innovation@users.noreply.github.com>
2024-03-01 12:56:51 -08:00

3 lines
94 B
Bash

#!/usr/bin/bash
set -euo pipefail
npx tsc --esModuleInterop zenodo.ts && node zenodo.js $1 $2