Context-aware authorization verification for API endpoints using large language models
AssigneeDryRun Security Co.
InventorsKenny Russell Johnson, James Wickett
Life of this patent
Estimating the term…
Loading patent…
AssigneeDryRun Security Co.
InventorsKenny Russell Johnson, James Wickett
Estimating the term…
Context-aware authorization verification for Application Programming Interface (API) endpoints using large language models (LLMs) is disclosed herein. A system receives source code including an implementation file and at least one service definition file. The service definition file(s) include metadata and a service interface definition. The system determines that the source code implements an API handler by determining that the implementation file includes a reference to the service interface definition. The metadata is used to determine that the API handler is associated with a public endpoint. An LLM is used to determine that the source code lacks an authorization check by determining absence of a direct call to an authorization function, and determining absence of an indirect authorization check. An alert is generated indicating that the source code implements an API handler associated with a public endpoint and that the source code lacks an authorization check.
A non-transitory, computer-readable storage medium comprising instructions recorded thereon, wherein the instructions, when executed by at least one data processor of a system, cause the system to perform operations including:
A system comprising:
A method comprising:
Dependencies are inferred from the claim text.