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

Hardening suggestions for ci-integrations / run_pixee #3

Open
wants to merge 1 commit into
base: run_pixee
Choose a base branch
from

Conversation

pixeebot[bot]
Copy link

@pixeebot pixeebot bot commented May 13, 2024

I've reviewed the recently opened PR (2 - Github Action) and have identified some area(s) that could benefit from additional hardening measures.

These changes should help prevent potential security vulnerabilities and improve overall code quality.

Thank you for your consideration!

docs | feedback
🧚🤖Powered by Pixeebot

@pixeebot pixeebot bot requested a review from matt- May 13, 2024 17:02
@@ -99,7 +101,7 @@ def main():
command.append(os.getcwd())
print(command)
Copy link
Author

Choose a reason for hiding this comment

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

Replaces subprocess.{func} with more secure safe_command library functions.

@@ -17,7 +17,8 @@ dependencies = [
"whatthepatch",
"PyGithub",
"GitPython",
"load_dotenv"
"load_dotenv",
Copy link
Author

Choose a reason for hiding this comment

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

This library holds security tools for protecting Python API calls.

License: MITOpen SourceMore facts

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.

None yet

0 participants