Detecting secrets in source code

A method for facilitating identification of secrets in source code by using machine learning is provided. The method includes retrieving a plurality of files from a repository, each of the plurality of files including a source code file; parsing the source code file to identify a training feature; a...

Full description

Saved in:
Bibliographic Details
Main Authors Silavong, Fanny, Tiwari, Ashish, Otter, Rob, Georgiadis, Antonios, Adebayo, Solomon Olaniyi, Keith, Robert Falconer, Moran, Sean, Moriarty, Bill, Emami, Ahmad, Papadopoulos, Georgios, Hall, Stephen, Fainberg, Joachim, Saphal, Rohan
Format Patent
LanguageEnglish
Published 09.01.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method for facilitating identification of secrets in source code by using machine learning is provided. The method includes retrieving a plurality of files from a repository, each of the plurality of files including a source code file; parsing the source code file to identify a training feature; associating a predetermined label with the training feature, the predetermined label corresponding to a secret label and a non-secret label; training a model by using the training feature and the corresponding predetermined label; receiving, via a graphical user interface, a test file, the test file including a set of source codes; parsing the set of source codes to identify a feature; and determining, by using the model, a first characteristic of the feature.
Bibliography:Application Number: US202117447859