xvnpw / ai-nutrition-pro-design-gpt4

Research project on AI usage for threat modeling and security review and using OpenAI GPT-4
Apache License 2.0
3 stars 3 forks source link
devsecops gpt gpt-4 llm threat-modeling

⚠️ This repository is deprecated and will be archived.

Experiment AI Nutrition-Pro

⚠️ This is experimental project. It has nothing to do with any existing or future real project. Its name is fake and not related to any existing product or company. It's only for educational purposes.

Research project on AI usefulness in DevSecOps. For design phase and using OpenAI GPT-4

DevSecOps background

The most important DevSecOps goals are:

For coding phase, we have tools like semgrep that can benefit from AI and LLMs. What about design phase? Typical manual activities are:

The aim of this research is to answer the question of whether or not the current state of LLMs can bring meaningful value to those security activities.

Input Data & Results

Each time input data are updated, github action runs, query is sent to GPT-4 and results are committed back to repository as output.

Workflow can directly push into repository or create pull request. User Stories can be created as issues and bot will add comment with output.

Name File Description Security artefact Output
Project description PROJECT.md High level description of the project with business explanation and listed core features High level security design review PROJECT_SECURITY.md and as pull request
Architecture ARCHITECTURE.md Architecture of the solution Threat Modelling ARCHITECTURE_SECURITY.md
User stories user-stories/*
also in issues
Technical and user stories to implement Security related acceptance criteria user-stories/*_SECURITY.md
also in issues - as comment

Check my blog post if you want to learn how I approached this research and interpreted results.

If you want to talk, I'm on X/Twitter.

Fork

If you would like to try on your own with this experiment: