Python: do not use empty array as function parameters
Using empty array as a default parameter value leads to unexpected results as parameters are evaluated only once.
Write better code, faster.
Using empty array as a default parameter value leads to unexpected results as parameters are evaluated only once.
The random module does not produce too random values and should be often replaced by the secrets module.
Migrating from an Intel architecture to Graviton in AWS brings some cost benefits. We explained how we migrated all our infrastructure.
Looking for a way to display code snippets in HTML and want to showcase your code on your blog? Check out this quick tutorial with examples.
SQL Injections is one of the most common vulnerability. Prevent SQL injections with code analysis in your IDE.
Not using autoescape in jinja2 makes your vulnerable to XSS attacks. Always use autoescape=True in your Jinja2 environment
Unsafe deserialization can cause an attack and compromise your system. You need to check your Python code to make sure you avoid them.
The Python SSL module gives a false sense of security and must be used carefully.
Are you interested in Datadog Static Analysis?
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.