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

use-defusedxml codemod should handle usage of xmlrpc #582

Open
drdavella opened this issue May 21, 2024 · 0 comments
Open

use-defusedxml codemod should handle usage of xmlrpc #582

drdavella opened this issue May 21, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@drdavella
Copy link
Member

Using xmlrpc is potentially unsafe and defusedxml.xmlrpc should be used instead.

We should enhance the existing use-defusedxml codemod to replace calls to xmlrpc with defusedxml.xmlrpc.

See this Semgrep rule for an example of the kinds of patterns we should detect and replace: https://semgrep.dev/r?q=python.lang.security.use-defused-xmlrpc.use-defused-xmlrpc

@drdavella drdavella added enhancement New feature or request good first issue Good for newcomers labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant