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

New Golang rule to check for Setuid to root user #590

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Sep 14, 2024

Similar to rule PY038, this rule checks Go code for syscall Setuid where the uid is set to 0 (aka root user).

Rule ID: GO004

Closes: #587

Similar to rule PY038, this rule checks Go code for syscall
Setuid where the uid is set to 0 (aka root user).

Rule ID: GO004

Closes: securesauce#587

Signed-off-by: Eric Brown <[email protected]>
@ericwb ericwb merged commit 0c683b7 into securesauce:main Sep 14, 2024
8 checks passed
@ericwb ericwb deleted the Setuid branch September 14, 2024 05:34
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.

New rules to check for os.setuid(0)
1 participant