AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerCbreadcrumb dividerHardcoded CredentialsFeedbackFeedback icon

Amazon Q

Detector Library

C detectors (38/38)

Logging of sensitive informationInsecure Use Of ChrootDeadlock And Lock InconsistencyUnsafe File ExtensionNumeric Truncation ErrorOS command injectionIncorrect Use Of FreeInsecure Use strcat fnSQL injectionBitwise Operator On Signed OperandInsecure use gets fnRandom fd exhaustionHardcoded CredentialsRedundant Free UsageIncorrect default PermissionsInsecure Use MemsetDivide By Zero.Return Stack AddressUnchecked Return ValueIncorrect Format SpecifierPath traversalImproper Input ValidationImproper Null TerminationOut Of Bounds ReadInteger OverflowInsecure use strtok functionImproper size of a memory bufferUnused Assigned Variablesincomplete-cleanupNull pointer dereferenceInsecure Temporary File Or DirectoryInsecure Buffer AccessIncorrect Use Ato FnLoose File PermissionsCross-site Scripting.Exposure of Sensitive InformationOut-of-bounds WriteString Equality

Hardcoded Credentials High

Hardcoding credentials can make it easier for attackers to get to them and could accidentally expose them through security issues.

Detector ID
c/hard-coded-credentials@v1.0
Category
Security
Common Weakness Enumeration (CWE) external icon
CWE-798
Tags
-