Auto generate security sdk code injections into custom application for run time llm protection
OwnerKrishnan Shankar Narayan, Srikumar Narayan Chariinventors
Life of this patent
Estimating the term…
Abstract
The present application discloses a method, system, and computer system for securing code. The method includes (i) obtaining a code sample, (ii) detecting a call flow associated with the code sample, (iii) determining whether to inject a software development kit (SDK) to the code sample based at least in part on the call flow, and (iv) in response to determining to inject the SDK to the code sample: (a) automatically injecting the SDK to the code sample to obtain an SDK-injected code sample, and (b) providing the SDK-injected code sample.
Claims20
A system for securing code, comprising:
- one or more processors configured to:
- obtain a code sample;
- determine whether to inject a software development kit (SDK) to the code sample;
- and
- in response to determining to inject the SDK to the code sample,
- automatically inject the SDK to the code sample to obtain an SDK-injected code sample;
- and
- provide the SDK-injected code sample;
- and
- a memory coupled to the one or more processors and configured to provide the one or more processors with instructions.
A method for securing code, comprising:
- obtaining a code sample;
- determining whether to inject a software development kit (SDK) to the code sample;
- and
- in response to determining to inject the SDK to the code sample,
- automatically injecting the SDK to the code sample to obtain an SDK-injected code sample;
- and
- providing the SDK-injected code sample.
A computer program product embodied in a non-transitory computer readable medium and comprising computer instructions for:
- obtaining a code sample;
- determining whether to inject a software development kit (SDK) to the code sample;
- and
- in response to determining to inject the SDK to the code sample,
- automatically injecting the SDK to the code sample to obtain an SDK-injected code sample;
- and
- providing the SDK-injected code sample.
Dependencies are inferred from the claim text.