AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerC++breadcrumb dividerTagsbreadcrumb dividerTag: security-contextFeedbackFeedback icon

Amazon Q

Detector Library

C++ detectors (43/43)

Disabled HTML autoescapeWeak pseudorandom number generationMissing Default in SwitchHardcoded credentialsUnsafe File ExtensionUse Of Incorrect OperatorIncorrect Order Of setuid and setgidOut Of Bounds ReadCode InjectionOut Of Bounds WriteThread safety violationIncorrect Pointer SubtractionMismatched memory management routines.File System AccessInsecure Buffer AccessIncorrect Use of SizeofIncorrect Pointer ScalingLoose File PermissionsSensitive information leakMissing AuthorizationReturn Stack AddressOS Command InjectionUse After FreeIncorrect ComparisonCross-Site Request Forgery (CSRF)off by one errorNumeric Truncation ErrorPath traversalInsecure temporary file or directoryInsecure CryptographyInsecure connection using unencrypted protocolUnchecked Null DereferenceSQL injectionLog injectionMissing check on method outputImproper Restriction on Memory BufferIncorrect Conversion Of Numeric TypesMultiple LocksImproper Input ValidationNull Pointer DereferenceImproper Certificate ValidationCross Site ScriptingImproper Authentication

Tag: security-context

Weak pseudorandom number generation

Insecure pseudorandom number generators such as rand(), srand(), std::mt19937, or drand48() produce predictable values.

Thread safety violation

A thread safety violation might indicate a data race which can put the system into an inconsistent state.