TaaC AI
1.0.0
它利用AI來分析服務描述,確定安全威脅,可視化數據流並根據Stride框架和OWASP指南提出補救措施。該腳本生成深入的HTML報告,並包括手動風險評估的功能。

將OpenAI API密鑰設置為環境變量OpenAI_KEY和ANTHROPIC_KEY在您的操作系統中
Openai API人類API
Linux/Mac
export OPENAI_KEY=sk-ApiKeyExample export ANTHROPIC_KEY=sk-ant-api03-ApiKeyExample視窗
set OPENAI_KEY=sk-ApiKeyExample set ANTHROPIC_KEY=sk-ant-api03-ApiKeyExamplepip3 install -r requirements.txtollama pull mistralollama serve現在,您可以將Mistral用作主要模型:
python3 TaaC-AI.py --model mistral < path_to_yaml_file >或用於交叉驗證
python3 TaaC-AI.py --model claude --cross-validation mistral < path_to_yaml_file > taac_yaml_generator.py來指導您完成一個生成一個過程
python3 TaaC-AI.py < path_to_yaml_file >使用gpt-4 , claude或mistral作為模型,通過指定--model選項來識別威脅
python3 TaaC-AI.py --model gpt-4 < path_to_yaml_file >通過另一種LLM使用--cross-validation選項執行威脅結果驗證。
python3 TaaC-AI.py --model claude --cross-validation claude < path_to_yaml_file > Version : ' 1.0 '
Date : 14.11.2023
# Authentication Service Description
Description :
Name : AuthService
Type : Service
Criticality : Tier1
# Service Functionality
Functionality : Handles user authentication, including login and token generation.
# Data Processing Details
DataProcessed :
Type : Confidential
DataCategory : Auth
EncryptionAtRest : Yes
# Components Used by the Service
Components :
Internal :
Exist : Yes
Source : Private
Note : Scoped Package Access
External :
Exist : Yes
PackageManager : NPM
# Pipeline Configuration
Pipeline :
Type : GithubActions
CODEOWNERS : Yes
BranchProtection : Yes
SignCommits : Yes
PinActions : Yes
# Network Information
Network :
Access : Private
# Authentication Service Data Flow
dataFlow : # Removed the dash here
- name : UserAuthenticationFlow
description : Authenticates users and issues tokens.
source : UserLoginInterface
EncryptionTransit : Yes
Authentication :
Exist : Yes
Type : JWT
Authorization : read-write
Protocol : HTTPS
Communication :
Type : RESTful API
interactions :
- from : UserLoginInterface
to : AuthService
method : RESTful API
protocol : HTTPS
- from : AuthService
to : UserDatabase
method : Query
protocol : JDBC
servicesInvolved : [UserLoginInterface, AuthService, UserDatabase]



所有建議寫給[email protected]