Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: security hardening for github actions #52927

Closed
wants to merge 1 commit into from

Conversation

RedYetiDev
Copy link
Member

I understand that the CI system has recently been updated to mandate an approving review for code safety. Some verification can be automated, hence this PR.

From my security research in many github repos, I've noticed that certain variables are frequently overlooked. This PR veirifies that said variables don't contain malicious content. While I don't think any of these insecure variables are used in the Node.js ecosystem insecurely, I still think it's safe to verify that they don't contain malicious content, as a pre-emptive measure.

Currently, < > ' " & ; { } are all considered 'unsafe' if they are in a branch name (base/head), commiter email, commiter repo name, or commiter user name

@nodejs/actions
@nodejs/security-wg

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label May 10, 2024
@RedYetiDev
Copy link
Member Author

@RedYetiDev RedYetiDev added the security Issues and PRs related to security. label May 10, 2024
@RedYetiDev RedYetiDev closed this May 10, 2024
@RedYetiDev
Copy link
Member Author

Closing (for now), If this change is still wanted, let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Issues and PRs related to the general management of the project. security Issues and PRs related to security.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants