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 python rule to check for setuid(0) #589

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Sep 12, 2024

Setting the current process to user ID 0 (root) elevates the process to run as root which can be particularly risky for an application.

Partially-resolves #587

Setting the current process to user ID 0 (root) elevates
the process to run as root which can be particularly risky
for an application.

Partially-resolves securesauce#587

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit 62afed6 into securesauce:main Sep 12, 2024
8 checks passed
@ericwb ericwb deleted the setuid branch September 12, 2024 22:12
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