BC threat-modeling
Threat model, security audit, find vulnerabilities, check security of my app, risk assessment, penetration test prep, analyze attack surface, what could an attacker exploit. Use this skill whenever a user wants holistic security analysis of a codebase, application, or project. MUST be invoked instead of analyzing security yourself — it runs a specialized 8-phase STRIDE workflow producing professional deliverables you cannot generate alone: risk assessment reports, DFD diagrams, threat inventories, attack path validation, mitigation plans, and pentest plans. Trigger on: 威胁建模, 安全评估, 渗透测试, 安全分析, 安全审计, 安全检查, 风险评估. NOT for: fixing one specific bug, adding one security feature (rate limiting, CORS), writing tests, CI/CD setup, or debugging errors.
As a process C 60/100 · Has gaps — weak spots: inputs and preconditions, consistency, running it twice
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 36
✓ No critical or high findings
Medium and low: 36
-
low Risky intent
intent-offensive-securitydocs/KNOWLEDGE-ARCHITECTURE-v5.2.md:588Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (quoted — discussed, not commanded)phase: "Lateral Movement"
quoted -
low Risky intent
intent-offensive-securitydocs/KNOWLEDGE-ARCHITECTURE-v5.2.md:675Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (detector / deny-list definition)- "Penetration test confirms fix effectiveness"
detector -
low Risky intent
intent-offensive-securitydocs/Skillset-threat-modeling-tour-v5.md:25Offensive-security / dual-use content (legitimate for authorised testing; review intended use)**Verification Phase**: Dynamic Application Security Testing (DAST), Interactive Application Security Testing (IAST), and manual penetration testing are executed at this stage. While these techniques
-
low Risky intent
intent-offensive-securitydocs/Skillset-threat-modeling-tour-v5.md:50Offensive-security / dual-use content (legitimate for authorised testing; review intended use)│ │ │ Threat │ SAST/Code Review │ IAST/DAST/Pentest/ │ │ │
-
low Risky intent
intent-offensive-securitydocs/Skillset-threat-modeling-tour-v5.md:62Offensive-security / dual-use content (legitimate for authorised testing; review intended use)│ • Security testing, penetration testing, and compliance audits—high-investment │
-
low Risky intent
intent-offensive-securitydocs/Skillset-threat-modeling-tour-v5.md:152Offensive-security / dual-use content (legitimate for authorised testing; review intended use)Effective STRIDE analysis requires both system architecture understanding and offensive/defensive practical experience. To assess API endpoint privilege escalation risks, analysts must understand:
-
low Risky intent
intent-offensive-securitydocs/Skillset-threat-modeling-tour-v5.md:184Offensive-security / dual-use content (legitimate for authorised testing; review intended use)- **Security activities can be embedded in testing phase**: Penetration testing, security audits, and compliance checks are executed here
-
low Secrets in code
secret-high-entropy-tokenknowledge/compliance-mappings.yaml:632High-entropy token-like string (may be an id, hash or a credential)A05_…on:
-
low Risky intent
intent-offensive-securityknowledge/security-controls/control-set-10-data-protection.md:58Offensive-security / dual-use content (legitimate for authorised testing; review intended use)- Avoid making accounts database owners to prevent privilege escalation.
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-authentication.md:145Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (quoted — discussed, not commanded)It is generally not a good idea to use this method for widely and publicly available websites that will have an average user. For example, it wouldn't be a good idea to implement this for a website li
quoted -
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-authentication.md:254Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| Password Spraying | Testing a single weak password against a large number of different accounts.|
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-authentication.md:258Offensive-security / dual-use content (legitimate for authorised testing; review intended use)The following sections will focus primarily on preventing brute-force attacks, although these controls can also be effective against other types of attacks. For further guidance on defending against c
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-credential-stuffing-prevention.md:7Offensive-security / dual-use content (legitimate for authorised testing; review intended use)This cheatsheet covers defences against two common types of authentication-related attacks: credential stuffing and password spraying. Although these are separate, distinct attacks, in many cases the
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-credential-stuffing-prevention.md:13Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| Password Spraying | Testing a single weak password against a large number of different accounts.|
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-credential-stuffing-prevention.md:17Offensive-security / dual-use content (legitimate for authorised testing; review intended use)[Multi-factor authentication (MFA)](Multifactor_Authentication_Cheat_Sheet.md) is by far the best defense against the majority of password-related attacks, including credential stuffing and password s
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-credential-stuffing-prevention.md:37Offensive-security / dual-use content (legitimate for authorised testing; review intended use)Where it is not possible to implement MFA, there are many alternative defenses that can be used to protect against credential stuffing and password spraying. In isolation none of these are as effectiv
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-credential-stuffing-prevention.md:57Offensive-security / dual-use content (legitimate for authorised testing; review intended use)It must be emphasised that this **does not** constitute multi-factor authentication (as both factors are the same - something you know). However, it can still provide a useful layer of protection agai
-
low Secrets in code
secret-high-entropy-tokenknowledge/security-controls/references/reference-set-01-jwt-java.md:26High-entropy token-like string (may be an id, hash or a credential)TJVA…HgQ
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-01-multifactor-authentication.md:23Offensive-security / dual-use content (legitimate for authorised testing; review intended use)MFA is by far the best defense against the majority of password-related attacks, including brute-force, [credential stuffing](Credential_Stuffing_Prevention_Cheat_Sheet.md) and password spraying, with
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-02-authorization.md:95Offensive-security / dual-use content (legitimate for authorised testing; review intended use)Based on this URL, one could reasonably assume that the application will return a listing of transactions and that the transactions returned will be restricted to a particular account - the account in
-
low Risky intent
intent-offensive-securityknowledge/security-controls/references/reference-set-02-authorization.md:135Offensive-security / dual-use content (legitimate for authorised testing; review intended use)Unit and integration testing are essential for verifying that an application performs as expected and consistently across changes. Flaws in access control logic can be subtle, particularly when requir
-
low Risky intent
intent-offensive-securityREADME.md:5Offensive-security / dual-use content (legitimate for authorised testing; review intended use)AI-native automated software risk analysis skill. LLM-driven, Code-First approach for comprehensive security risk assessment, threat modeling, security analysis, security audit, and penetration testin
-
low Risky intent
intent-offensive-securityREADME.md:21Offensive-security / dual-use content (legitimate for authorised testing; review intended use)- Backported SM2 state machine from next-gen AI-Native penetration testing system named "Cobweb" for problem-solving in depth
-
low Risky intent
intent-offensive-securityREADME.md:133Offensive-security / dual-use content (legitimate for authorised testing; review intended use)### Mode 6: Backward Integration (Penetration Testing)
-
low Risky intent
intent-offensive-securityREADME.md:135Offensive-security / dual-use content (legitimate for authorised testing; review intended use)Attack path and POC design support for pentesting.
-
low Risky intent
intent-offensive-securityREADME.md:150Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| **Vulnerability Analysis** | Code / Description | Attack path + POC | Code review / Pentest |
-
low Risky intent
intent-offensive-securitySKILL.md:5Offensive-security / dual-use content (legitimate for authorised testing; review intended use)assessment, penetration test prep, analyze attack surface, what could an attacker exploit.
-
low Risky intent
intent-offensive-securitySKILL.md:11Offensive-security / dual-use content (legitimate for authorised testing; review intended use)plans, and pentest plans.
-
low Risky intent
intent-offensive-securitySKILL.md:24Offensive-security / dual-use content (legitimate for authorised testing; review intended use)AI-native automated software risk analysis skill. LLM-driven, Code-First approach for comprehensive security risk assessment, threat modeling, security testing, penetration testing, and compliance che
-
low Risky intent
intent-offensive-securitySKILL.md:278Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| TestCase | TC-{Seq:03d} | P8 | Penetration test cases | -
low Risky intent
intent-offensive-securityWORKFLOW.md:218Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| P5 | 4 | Architecture Perspective, Code Implementation Perspective, Security Testing Perspective, Penetration Testing Perspective |
-
low Risky intent
intent-offensive-securityWORKFLOW.md:219Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| P6 | 4 | Architect, Attack Path Analyst, Vulnerability Researcher, Penetration Test Planner |
A further 4 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 80. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 60/100
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 3 mutating operations with no state check
- 40Consistency. Frontmatter name (threat-modeling) differs from the folder (skill-threat-modeling)
- 50Failures and branches. 0 branches, has a failure section
- 60Tools and files. Uses tools (bash) that frontmatter does not declare
- 60Result and completion. Output format stated, no completion criterion
- 70Execution cost. Instruction body is 4772 tokens
- 100Steps. 31 steps
- 100When it triggers. States when to use and when not to
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 14 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +1No license
- +2Single-language instructions
- +4Description says when NOT to use the skill
- +3Description length 753: enough signal without eating the budget
- +4Structure: 32 headings
- +3Step-by-step instructions: 31 items
- +3Output format is stated explicitly
- +4Has examples (14 code blocks)
- +4Reference files are cited in the instructions (2 of 9)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 95.