Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xvnpw/ai-nutrition-pro-design-gpt4
Research project on AI usage for threat modeling and security review and using OpenAI GPT-4
https://github.com/xvnpw/ai-nutrition-pro-design-gpt4
devsecops gpt gpt-4 llm threat-modeling
Last synced: 4 days ago
JSON representation
Research project on AI usage for threat modeling and security review and using OpenAI GPT-4
- Host: GitHub
- URL: https://github.com/xvnpw/ai-nutrition-pro-design-gpt4
- Owner: xvnpw
- License: apache-2.0
- Archived: true
- Created: 2023-09-01T19:55:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-17T11:11:11.000Z (about 2 months ago)
- Last Synced: 2024-11-17T12:19:52.308Z (about 2 months ago)
- Topics: devsecops, gpt, gpt-4, llm, threat-modeling
- Homepage:
- Size: 120 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-LLM4Security - Experiment AI Nutrition-Pro
- Awesome-LLM4Security - Experiment AI Nutrition-Pro
README
⚠️ 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](https://dsomm.owasp.org/). For **design** phase and using OpenAI **GPT-4**
## DevSecOps background
The most important DevSecOps goals are:
- shift left security
- be placed in developers ecosystem (IDE, code hosting, PRs, etc.)
- provide fast feedback and guidanceFor coding phase, we have tools like [semgrep](https://semgrep.dev/blog/2023/using-ai-to-write-secure-code-with-semgrep) that can benefit from AI and LLMs. What about **design** phase? Typical manual activities are:
- security design review
- threat modellingThe 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](https://github.com/xvnpw/ai-threat-modeling-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](./PROJECT.md) | High level description of the project with business explanation and listed core features | High level security design review | [PROJECT_SECURITY.md](./PROJECT_SECURITY.md) and as [pull request](https://github.com/xvnpw/ai-nutrition-pro-design-gpt4/pull/2) |
| Architecture | [ARCHITECTURE.md](./ARCHITECTURE.md) | Architecture of the solution | Threat Modelling | [ARCHITECTURE_SECURITY.md](./ARCHITECTURE_SECURITY.md) |
| User stories | [user-stories/*](./user-stories/)
also in [issues](https://github.com/xvnpw/ai-nutrition-pro-design-gpt4/issues?q=is%3Aopen+is%3Aissue+label%3Aai-threat-modeling) | Technical and user stories to implement | Security related acceptance criteria | [user-stories/*_SECURITY.md](./user-stories/)
also in [issues](https://github.com/xvnpw/ai-nutrition-pro-design-gpt4/issues?q=is%3Aopen+is%3Aissue+label%3Aai-threat-modeling) - as comment |Check my [blog post](https://xvnpw.github.io/posts/leveraging-llms-for-threat-modelling-gpt-3.5/) if you want to learn how I approached this research and interpreted results.
If you want to talk, I'm on [X/Twitter](https://twitter.com/xvnpw).
## Fork
If you would like to try on your own with this experiment:
- fork repository
- set `OPENAI_API_KEY` in repository secrets