Skip to content

Conversation

@try-panwiac
Copy link
Owner

No description provided.

Copy link

@prisma-cloud-devsecops prisma-cloud-devsecops bot left a comment

Choose a reason for hiding this comment

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

Prisma Cloud has found errors in this PR ⬇️

runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: false
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

Choose a reason for hiding this comment

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

MEDIUM  GitHub Actions ACTIONS_ALLOW_UNSECURE_COMMANDS environment variable is set to true
    Resource: jobs(secure-job) | Bridgecrew ID: BC_REPO_GITHUB_ACTION_1 | Checkov ID: CKV_GHA_1

Description

GitHub Actions has an environment variable flag called `ACTIONS_ALLOW_UNSECURE_COMMANDS` that allows GHA workflows to run deprecated commands `set-env` and `add-path`. These are vulnerable commands that should not be used as they expose accounts to potential credential theft or code injection.

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.

2 participants