Showing all detectors for the Python language with low severity.
Improper error handling can enable attacks and lead to unwanted behavior.
Using naive datetime objects might cause time zone related issues.
Process.terminate API might cause data corruption of shared resources.
Default values in Python are created exactly once, when the function is defined. If that object is changed, subsequent calls to the function will refer to the changed object, leading to confusion.
APIs that are not recommended were found - Low Severity.
Recreating AWS clients in each Lambda function invocation is expensive.
Complex code can be difficult to read and hard to maintain.
get method from the
dict class without default values can cause runtime exceptions.
Incorrect use of API leads to ambiguity and inconsistency
list replication using replication operator creates references to the existing objects, not copies, which could introduce bugs.
Best practices to improve the maintainability of notebooks.
This code uses deprecated methods, which suggests that it has not been recently reviewed or maintained.
Custom polling can be inefficient and prone to error. Consider using AWS waiters instead.
Catching and re-throwing an exception without further actions is redundant and wasteful.
Incorrect binding of SNS publish operations with the
create_topic operations might lead to latency issues.
Global variables can be dangerous and cause bugs because they can be simultaneously accessed from multiple sections of a program.
Methods that return multiple values can be difficult to read and prone to error.
Not setting the S3 bucket owner condition might introduce a risk of accidentally using a wrong bucket.
Directly modifying the
__dict__ object might cause undesirable behavior due to symbol table modification.