Skip to content

Bandit security analysis - xmlrpc.client #28

Description

@Ojaybee

Official repo Bandit Security Analysis has flagged the following. However, this is a standard file included in the stock QGIS plugin builder template.

/ags_tools/plugin_upload.py Line 10

Using xmlrpc.client to parse untrusted XML data is known to be vulnerable to XML attacks. Use defusedxml.xmlrpc.monkey_patch() function to monkey-patch xmlrpclib and mitigate XML vulnerabilities.

9 import getpass
10 import xmlrpc.client
11 from optparse import OptionParser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions