security-test-generator

Generate STRIDE threat models and OWASP Top 10 test scenarios from security requirements.

5|1|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/tikazyq/agentic-spec-forge --skill security-test-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-test-generator
Source: https://github.com/tikazyq/agentic-spec-forge/tree/main/AGENTIC_SPEC_FORGE/spec_stage_skill/implementation_planning/security-test-generator
Command: npx skills add https://github.com/tikazyq/agentic-spec-forge --skill security-test-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of comprehensive security test cases based on Non-Functional Requirements (NFRs), ensuring robust application security.

Core Features & Use Cases

  • STRIDE Threat Modeling: Generates threat models based on the STRIDE framework (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege).
  • OWASP Top 10 Mapping: Maps security NFRs to relevant OWASP Top 10 vulnerabilities and generates corresponding test scenarios.
  • Use Case: For a web application with NFRs specifying secure authentication and data encryption, this Skill will produce STRIDE threats related to Spoofing and Information Disclosure, and map them to OWASP's "Identification and Authentication Failures" and "Cryptographic Failures," generating specific test cases like "Given a user attempts to bypass the login form with invalid credentials, When the system validates the input, Then the login attempt should be denied."

Quick Start

Generate security test scenarios for a web application based on its NFRs and architecture design.

Frequently Asked Questions about security-test-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate security test cases from non-functional requirements?

To generate security test cases from non-functional requirements, this Skill automates threat modeling and test scenario creation by mapping NFRs and architectural designs to OWASP Top 10 vulnerabilities and STRIDE threats, producing detailed Given-When-Then test formats.

What is STRIDE threat modeling and how does it apply to security testing?

STRIDE threat modeling is a framework categorizing security risks into Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege. It applies to security testing by systematically identifying threats from NFRs to prioritize critical security test scenarios.

Can I map OWASP Top 10 vulnerabilities to specific test scenarios for web APIs?

Yes, you can map OWASP Top 10 vulnerabilities to specific test scenarios for web APIs. The Skill evaluates security NFRs and architectural designs to identify relevant OWASP risks like Cryptographic Failures, generating prioritized L3 level test cases in a Given-When-Then format.

How do I create Given-When-Then test scenarios for mobile application security?

You create Given-When-Then test scenarios for mobile application security by inputting your NFRs and architecture design. The Skill processes these inputs to generate STRIDE threat models and OWASP mapped test cases, prioritizing critical security risks for mobile platforms.

Does this security testing approach support L3 level test case generation?

Yes, this security testing approach supports L3 level test case generation. It creates detailed, structured test cases in the Given-When-Then format from NFR security requirements and architectural designs, ensuring comprehensive coverage of critical security risks for web, API, and mobile applications.