Skip to content

Instantly share code, notes, and snippets.

@erangaeb
Created March 25, 2025 17:49
Show Gist options
  • Save erangaeb/d4bb3f0008cb6cf003027ed543ec30ee to your computer and use it in GitHub Desktop.
Save erangaeb/d4bb3f0008cb6cf003027ed543ec30ee to your computer and use it in GitHub Desktop.
stride-finetune.jsonl
{
"image": "images/webapp_diagram_01.png",
"prompt": "Given this threat diagram, identify the STRIDE threats and categorize them by components.",
"response": {
"Web Server": [
{
"threat": "Spoofing",
"description": "Unverified clients may impersonate legitimate users if authentication is weak.",
"mitigation": "Implement strong authentication with MFA."
},
{
"threat": "Tampering",
"description": "HTTP parameters can be modified by an attacker.",
"mitigation": "Use HTTPS and input validation."
}
],
"Database": [
{
"threat": "Information Disclosure",
"description": "Unencrypted data may be leaked via SQL injection.",
"mitigation": "Use parameterized queries and encrypt sensitive data."
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment