Identifying hard-coded secret vulnerability inside application source code
AssigneeInternational Business Machines Corporation
InventorsYa-Hsuan Tsai, Chun-Shuo Lin, Chuang Hsin-Yu
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsYa-Hsuan Tsai, Chun-Shuo Lin, Chuang Hsin-Yu
Estimating the term…
A source code analysis tool is augmented to support rule-based analysis of code to attempt to identify certain lexical information indicative of hard-coded secret (e.g., password) support in the code. The tool takes the source code as input, parses the content with a lexical analyzer based on language grammar, and processes the resulting data through preferably a pair of rule-based engines. Preferably, one engine is configured to identify variables explicitly intended to be used as a hard-coded secret, and the other engine is configured to identify data strings that could potentially support such a secret. The outputs of these rules engines are consolidated and evaluated to identify a likelihood that the code under examination includes support for a hard-coded secret. The result is then provided to the developer for further action to address any potential security vulnerability identified by the analysis.
A method to detect and mitigate a hard-coded secret vulnerability in source code, comprising:
Apparatus, comprising:
A computer program product in a non-transitory computer readable medium for use a data processing system, the computer program product holding computer program instructions executed by the data processing system to detect and mitigate a hard-coded secret vulnerability in source code, the computer program instructions configured to:
Dependencies are inferred from the claim text.