360 Secure SkillHub
360 安全技能中心

guardian-threat-model

调用 Apiiro 的 threat-model 命令,对设计、规格或拟议变更加入 STRIDE 安全威胁分析,支持文本或 JSON 结果,并可用标题、文件路径和超时参数控制。

分类:安全
apiiro
热度 0.00
最近更新 2026-10-31 17:11:24

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add apiiro/marketplace/guardian-threat-model
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
guardian-threat-model
description
Use when the user wants an Apiiro STRIDE threat model of a design, spec, or proposed change before implementation ("threat model this feature", "what could go wrong with this design"). Existing code: guardian-query.

Apiiro Threat Model

Analyze a design, feature spec, or architectural change for security threats using STRIDE methodology. This is for proactive analysis of proposed changes — for questions about existing code, use the guardian-query skill instead.

Usage

Pass the content to analyze as the first argument. For longer specs, pipe from a file or use quotes.

apiiro threat-model "Add a new REST API endpoint that accepts file uploads and stores them in S3"
apiiro threat-model "Implement OAuth2 authorization code flow with PKCE" --title "Auth redesign"
apiiro threat-model "Add webhook support for third-party integrations" -o json
apiiro threat-model "Migrate user sessions from cookies to JWT tokens" -f threat-report.md

Options: -t, --title <title> (summary of what is analyzed), -o, --output <json|text> (default: text), -f, --file <path>, --timeout <seconds> (default: 360).

Text output returns the analysis directly. JSON output includes success, analysis, and error fields.