virtual-labs-archive / cryptography-iiith

Cryptography lab
Other
3 stars 70 forks source link

Generic Object Injection Sink (security/detect-object-injection) #90

Open BSravanthi opened 5 years ago

BSravanthi commented 5 years ago

Detects variable[key] as a left- or right-hand assignment operand.

//Bad:
variable[key] = value;

Please refer to the following link to fix similar issues. https://app.codacy.com/app/BSravanthi/cryptography-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiU2VjdXJpdHkiXX0seyJpZCI6IkxldmVsIiwidmFsdWVzIjpbbnVsbF19LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbMzM0MF19LHsidmFsdWVzIjpbXX1d