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

Add another bad example of yaml load #905

Merged
merged 1 commit into from May 24, 2022
Merged

Add another bad example of yaml load #905

merged 1 commit into from May 24, 2022

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented May 24, 2022

The yaml module supports passing the Loader of choice.
Passing yaml.Loader is considered unsafe. This commit
adds that example and ensures Bandit detects it.

Signed-off-by: Eric Brown eric_wade_brown@yahoo.com

The yaml module supports passing the Loader of choice.
Passing yaml.Loader is considered unsafe. This commit
adds that example and ensures Bandit detects it.

Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
@ericwb ericwb merged commit 232d52d into PyCQA:main May 24, 2022
@ericwb ericwb deleted the yaml_example branch May 24, 2022 23:50
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

2 participants