ch3njust1n / smart

Self-modifying code at runtime with Large Language Models
MIT License
4 stars 0 forks source link

[Paper] Write code injection section #8

Open ch3njust1n opened 1 year ago

ch3njust1n commented 1 year ago
  1. What is code injection
  2. Types of code injection and examples
  3. How to execute a code injection
  4. Code injection with respect to metaprogramming
  5. How to prevent code injections
  6. How we're using code injection
  7. Citations (find papers on machine learning and cybersecurity or related papers)
ch3njust1n commented 1 year ago

Think about:

  1. How to constrain generated code at run-time
  2. How to guarantee correctness of generated code at run-time
  3. How to induce and mitigate prompt injections that induce code injections at run-time
ch3njust1n commented 1 year ago

Look into secure design: https://owasp.org/Top10/A04_2021-Insecure_Design/

Consider:

  1. How existing patterns can be applied to metaprogramming at runtime
  2. How existing patterns can be applied to metaprogramming at runtime with LLM