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...
Saved in:
Main Authors | , , , , , , , , , , , , |
---|---|
Format | Patent |
Language | English |
Published |
09.01.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
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 |