Safe
jq -n --arg host "$DB_HOST" --arg port "$DB_PORT" '{host: $host, port: ($port|tonumber)}' > db.jsoncross-platform · bash · Expert
-n starts with no input and both values arrive as bound variables, so a host name containing quotes or braces cannot break out and become…
The full explanation and danger signals for this pack are part of Pro.
Think you can spot these under time pressure?
Start TrainingMore CI/CD
curl -fsSL https://example.com/sbom.json -o ./sbom.jsonAdvancedgh secret set NPM_TOKEN --repo example/app --body "$NEW_TOKEN"Expertdocker build --secret id=npmrc,src=$HOME/.npmrc -t app:ci .Expertnpm audit fixIntermediatepytest -k "not auth and not payments"Intermediaterm package-lock.json && npm installIntermediate