Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xvnpw committed Dec 7, 2024
1 parent 92507f8 commit a39f513
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Examples

| Project Name | Project Type | Security Design | Threat Modeling |
| --- | ---| --- | --- |
| [caddy](https://github.com/caddyserver/caddy) - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t caddy/ -v --project-type go -o examples/CADDY-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | go | [o1-preview](./CADDY-o1-preview.md), [gpt-4o](./CADDY-gpt-4o.md) | [threat model from design - o1-preview](./TM-FROM-DESIGN-CADDY-o1-preview.md) |
| [screenshot-to-code](https://github.com/abi/screenshot-to-code) - Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t screenshot-to-code/ -v -o examples/SCREENSHOT-TO-CODE-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [o1-preview](./SCREENSHOT-TO-CODE-o1-preview.md), [gpt-4o](./SCREENSHOT-TO-CODE-gpt-4o.md) | [o1-preview](./TM-SCREENSHOT-TO-CODE-o1-preview.md), [from design - o1-preview](./TM-SCREENSHOT-TO-CODE-o1-preview.md) |
| [requests](https://github.com/psf/requests) - A simple, yet elegant, HTTP library<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t requests/ -v --exclude "**/ISSUE_TEMPLATE*,**/CODE_OF_CONDUCT.md,**/CONTRIBUTING.md,**/FUNDING.yml" --include "**/*.cfg,**/*.rst" -o examples/REQUESTS-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [gpt-4o](./REQUESTS-gpt-4o.md), [o1-preview](./REQUESTS-o1-preview.md) | [o1-preview](./TM-REQUESTS-o1-preview.md), [from design - o1-preview](./TM-REQUESTS-o1-preview.md) |
| [flask](https://github.com/pallets/flask) - The Python micro framework for building web applications<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t flask/ -v --exclude "**/pull_request_template.md,**/ISSUE_TEMPLATE*,**/CODE_OF_CONDUCT.md" --include "**/requirements/*.txt,**/*.rst" -o examples/FLASK-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [gpt-4o](./FLASK-gpt-4o.md), [o1-preview](./FLASK-o1-preview.md) | [o1-preview](./TM-FLASK-o1-preview.md), [from design - o1-preview](./TM-FROM-DESIGN-FLASK-o1-preview.md) |
| [fabric-agent-action](https://github.com/xvnpw/fabric-agent-action) - A GitHub action that leverages fabric patterns through an agent-based approach<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -v -t fabric-agent-action/ --exclude "**/prompts/**" -o examples/FABRIC-AGENT-ACTION-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | [o1-preview](./FABRIC-AGENT-ACTION-o1-preview.md) | [o1-preview](./TM-FABRIC-AGENT-ACTION-o1-preview.md), [gpt-4o](./TM-FABRIC-AGENT-ACTION-gpt-4o.md) |
| Project Name | Project Type | Security Design | Threat Modeling | Threat Model from Security Design (using `create_stride_threat_model`) |
| --- | ---| --- | --- | --- |
| [caddy](https://github.com/caddyserver/caddy) - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t caddy/ -v --project-type go -o examples/CADDY-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | go | [o1-preview](./CADDY-o1-preview.md), [gpt-4o](./CADDY-gpt-4o.md) | - | [o1-preview](./TM-FROM-DESIGN-CADDY-o1-preview.md) |
| [screenshot-to-code](https://github.com/abi/screenshot-to-code) - Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t screenshot-to-code/ -v -o examples/SCREENSHOT-TO-CODE-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [o1-preview](./SCREENSHOT-TO-CODE-o1-preview.md), [gpt-4o](./SCREENSHOT-TO-CODE-gpt-4o.md) | [o1-preview](./TM-SCREENSHOT-TO-CODE-o1-preview.md) | [o1-preview](./TM-FROM-DESIGN-SCREENSHOT-TO-CODE-o1-preview.md) |
| [requests](https://github.com/psf/requests) - A simple, yet elegant, HTTP library<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t requests/ -v --exclude "**/ISSUE_TEMPLATE*,**/CODE_OF_CONDUCT.md,**/CONTRIBUTING.md,**/FUNDING.yml" --include "**/*.cfg,**/*.rst" -o examples/REQUESTS-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [gpt-4o](./REQUESTS-gpt-4o.md), [o1-preview](./REQUESTS-o1-preview.md) | [o1-preview](./TM-REQUESTS-o1-preview.md) | [o1-preview](./TM-FROM-DESIGN-REQUESTS-o1-preview.md) |
| [flask](https://github.com/pallets/flask) - The Python micro framework for building web applications<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -t flask/ -v --exclude "**/pull_request_template.md,**/ISSUE_TEMPLATE*,**/CODE_OF_CONDUCT.md" --include "**/requirements/*.txt,**/*.rst" -o examples/FLASK-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [gpt-4o](./FLASK-gpt-4o.md), [o1-preview](./FLASK-o1-preview.md) | [o1-preview](./TM-FLASK-o1-preview.md) | [o1-preview](./TM-FROM-DESIGN-FLASK-o1-preview.md) |
| [fabric-agent-action](https://github.com/xvnpw/fabric-agent-action) - A GitHub action that leverages fabric patterns through an agent-based approach<br/><details><summary>command...</summary>`python ai_security_analyzer/app.py -v -t fabric-agent-action/ --exclude "**/prompts/**" -o examples/FABRIC-AGENT-ACTION-o1-preview.md --agent-model o1-preview --agent-temperature 1`</details> | python | [o1-preview](./FABRIC-AGENT-ACTION-o1-preview.md) | [o1-preview](./TM-FABRIC-AGENT-ACTION-o1-preview.md), [gpt-4o](./TM-FABRIC-AGENT-ACTION-gpt-4o.md) | [o1-preview](./TM-FROM-DESIGN-FABRIC-AGENT-ACTION-o1-preview.md)
Loading

0 comments on commit a39f513

Please sign in to comment.