AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerC++breadcrumb dividerTagsbreadcrumb dividerTag: cryptographyFeedbackFeedback 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: cryptography

Weak pseudorandom number generation

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

Insecure Cryptography

Use of insecure cryptography.

Insecure connection using unencrypted protocol

Connections that use insecure protocols transmit data in cleartext, which can leak sensitive information.