Detecting secrets in source code
US11868768B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Sep 16, 2021 |
| Grant date | Jan 9, 2024 |
| Priority date | — |
| Expiry date | Apr 7, 2042 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N20/20
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.