Il tire parti de l'IA pour analyser les descriptions des services, identifier les menaces de sécurité, visualiser le flux de données et suggérer des remèdes en fonction du cadre de foulée et des directives OWASP. Le script génère un rapport HTML détaillé et comprend une fonctionnalité pour l'évaluation des risques manuelle.

Définissez la clé API OpenAI en tant que variable d'environnement Openai_key et Anthropic_key dans votre système d'exploitation
API API Openai
Linux / Mac
export OPENAI_KEY=sk-ApiKeyExample export ANTHROPIC_KEY=sk-ant-api03-ApiKeyExampleFenêtre
set OPENAI_KEY=sk-ApiKeyExample set ANTHROPIC_KEY=sk-ant-api03-ApiKeyExamplepip3 install -r requirements.txtollama pull mistralollama serveVous pouvez maintenant utiliser Mistral comme modèle principal:
python3 TaaC-AI.py --model mistral < path_to_yaml_file >Ou pour la validation croisée
python3 TaaC-AI.py --model claude --cross-validation mistral < path_to_yaml_file > taac_yaml_generator.py qui vous guidera tout au long du processus de génération d'un 
python3 TaaC-AI.py < path_to_yaml_file > Utilisez gpt-4 , claude ou mistral comme modèle pour identifier les menaces en spécifiant l'option --model
python3 TaaC-AI.py --model gpt-4 < path_to_yaml_file > Pour effectuer la validation des résultats des menaces par une autre option LLM Use --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]



Toutes les suggestions écrivent à [email protected]