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

Alternative to "runpy.run_path" ? #63

Open
flyinghermit opened this issue Dec 23, 2022 · 0 comments
Open

Alternative to "runpy.run_path" ? #63

flyinghermit opened this issue Dec 23, 2022 · 0 comments

Comments

@flyinghermit
Copy link

flyinghermit commented Dec 23, 2022

Since run_path executes python scripts in the given python file, what will be our security modal to prevent someone from targeting predicate policies as a way to execute malicious codes?

The policies will be managed by administrators and the case may be similar to "admins have super access anyway". But consider a scenario where predicate is set up in CI/CD to deploy policies, anyone with push access to that pipeline can add a new policy file to trigger custom code inside CI runtime. Or maybe just trick policy admins to test a custom policy file and pwn their machine.

Are there other secure alternative to run_path?

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

No branches or pull requests

1 participant