一键导入
threat-advisory
Generate a personalized threat advisory based on your tech stack — what CVEs, breaches, and supply chain attacks matter to YOU.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a personalized threat advisory based on your tech stack — what CVEs, breaches, and supply chain attacks matter to YOU.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deep code scan for AI security issues — prompt injection, PII in prompts, hardcoded keys, unguarded agents.
Run AI governance checks across cloud accounts and code repos — ISO 42001, EU AI Act, NIST AI RMF compliance.
Scan cloud accounts and GitHub repos to discover AI/ML services and build an AI system inventory.
Walk staged changes against the engineering principles checklist and report pass/fail per principle. Run before any non-trivial commit. Catches doc drift, stub functions, single-region defaults, missing framework mappings, and other regressions before they ship.
Generate a public-facing security trust page from scan data. Produces a single deployable index.html that shows compliance framework scores, security policies, infrastructure overview, and data protection posture. Deployable to S3, Vercel, Netlify, or GitHub Pages.
Paste a vendor's domain. Get a security risk assessment in 60 seconds.
| name | threat-advisory |
| description | Generate a personalized threat advisory based on your tech stack — what CVEs, breaches, and supply chain attacks matter to YOU. |
| user-invocable | true |
Generate a personalized threat intelligence digest filtered to YOUR tech stack.
Read shasta.config.json for python_cmd. Use that for all commands (shown as <PYTHON_CMD>).
Generate the advisory:
<PYTHON_CMD> -c "
import json
from shasta.config import get_aws_client
from shasta.sbom.discovery import discover_sbom
from shasta.threat_intel.advisory import generate_daily_advisory, save_advisory_report
client = get_aws_client()
client.validate_credentials()
print('Building tech stack profile...')
sbom = discover_sbom(client)
print('Querying threat feeds...')
report = generate_daily_advisory(sbom, lookback_days=7)
path = save_advisory_report(report)
print(json.dumps({
'report_path': str(path),
'tech_stack': report.tech_stack_summary,
'total_advisories': report.total_advisories,
'critical': report.critical_count,
'high': report.high_count,
'advisories': [{
'id': a.id, 'title': a.title, 'severity': a.severity,
'affected': a.affected_component, 'action': a.action_required,
'is_kev': a.is_kev, 'is_supply_chain': a.is_supply_chain,
} for a in report.advisories]
}, indent=2))
"
Present as a personalized briefing: KEV items first (actively exploited), supply chain next, then CVEs. For each: what it is, what's affected in THEIR env, what to do.