Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.code-injection.xmlrpc-dotted-names

An XML-RPC server registers an instance with allow_dotted_names=True. Remote callers can traverse attributes and reach module globals, which can lead to code execution.

Last updated:

Suite: Security

python

An XML-RPC server registers an instance with allow_dotted_names=True. Remote callers can traverse attributes and reach module globals, which can lead to code execution.

Category: SECURITY · Engine rule severity: ERROR

How to fix it

Remove allow_dotted_names=True and expose only explicitly registered functions.

References

Source: packages/engine/rules/sast/python.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.