Skip to content

Update SECURITY.md with reporting instructions#12

Open
thomaslovaslokoy-ui wants to merge 3 commits intovercel:add-install-composite-actionfrom
thomaslovaslokoy-ui:thomaslovaslokoy-ui-patch-1
Open

Update SECURITY.md with reporting instructions#12
thomaslovaslokoy-ui wants to merge 3 commits intovercel:add-install-composite-actionfrom
thomaslovaslokoy-ui:thomaslovaslokoy-ui-patch-1

Conversation

@thomaslovaslokoy-ui
Copy link

,

…te action (#3)

Three security vulnerabilities identified in audit and fixed:

1. Expression injection via inputs.filter (Finding 2)
   - inputs.filter was interpolated directly into the run: shell script,
     allowing arbitrary command injection if a caller passed a malicious value.
   - Fix: bind the value to an env var (FILTER) and pass it to jq via
     --arg, so jq treats it as data rather than part of its expression.

2. Private registry token exposed in shell command (Finding 3)
   - inputs.vercel-private-registry-token was interpolated directly into
     the pnpm config set command. This can surface the token value in
     runner debug logs, process listings, and crash artifacts. GitHub's
     secret masking does not cover composite-action inputs interpolated
     this way.
   - Fix: reference the already-present $VERCEL_PRIVATE_REGISTRY_TOKEN
     env var instead of the raw expression.

3. Step output injected into shell command (Finding 4)
   - steps.parse-filter.outputs.pnpm-filter-args was interpolated directly
     into the run: script, compounding Finding 2.
   - Fix: expose the output through a new PNPM_FILTER_ARGS env var and
     reference it in the shell body. The var is intentionally left unquoted
     so that multiple --filter flags word-split correctly.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: thomaslovaslokoy-ui <thomaslovaslokoy-ui@users.noreply.github.com>
Copy link
Author

@thomaslovaslokoy-ui thomaslovaslokoy-ui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant