# Threat Intelligence

Use for authorized OSINT and cyber threat intelligence that enriches IOCs, campaigns...

- Repository: https://github.com/zhaoxuya520/reverse-skill (43923 stars)
- Category: Security
- License: MIT
- Last updated: 2026-09-22
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add zhaoxuya520/reverse-skill --skill threat-intelligence -g -a claude-code -y`
Codex: `npx skills add zhaoxuya520/reverse-skill --skill threat-intelligence -g -a codex -y`
Cursor: `npx skills add zhaoxuya520/reverse-skill --skill threat-intelligence -g -a cursor -y`
Gemini CLI: `npx skills add zhaoxuya520/reverse-skill --skill threat-intelligence -g -a gemini-cli -y`

## Description

Use for authorized OSINT and cyber threat intelligence that enriches IOCs, campaigns, impersonation, scams, or threat actors from public sources. Includes bounded X/Twitter search through Xquik, source preservation, corroboration, and evidence handoff.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Threat Intelligence & Public-Source OSINT

## ACTION REQUIRED（读完后立刻执行）

1. `NOW`: 读取 `../ops/scope-contract.md`，确认公开来源、目标实体、时间窗与交付用途。
2. `NOW`: 仅在需要操作先例时读取 `../field-journal/precedent-pentest.md`。先例不能授予权限。
3. `NOW`: 写出可证伪的情报问题，以及必须独立核验的候选结论。
4. `NEXT`: 读取 `../tool-index.md`。需要公开 X 数据时检查 `xquik-mcp`。
5. `ACT`: 从最窄的只读查询开始，保留来源元数据，再进入关联与核验。

## 适用范围

- 用公开来源补充域名、IP、URL、哈希、邮箱或钱包地址等 IOC。
- 追踪公开披露的恶意活动、钓鱼活动、仿冒账号与诈骗叙事。
- 从公开 X/Twitter 帖子发现线索，并交给样本、网络或厂商来源核验。
- 为 `threat-hunting/`、`malware-analysis/`、`email-security/` 或 `digital-forensics/` 准备情报包。

本 Skill 不处理品牌营销、舆情增长、自动发帖或无安全目的的社交分析。

## 语言行为契约

- 内部工具选择、阶段控制与字段名使用 English。
- 用户可见结论默认使用中文，除非用户要求其他语言。
- 证据状态使用 `线索 / lead`、`已佐证 / corroborated`、`已确认 / confirmed`。

## 工具依赖

| 能力 | 必需 | 用途 | 接入方式 |
|------|------|------|----------|
| Xquik MCP | 否 | 公开 X/Twitter 搜索、帖子与账号读取 | `xquik-mcp`，远程 HTTPS + OAuth |
| Xquik REST | 否 | 脚本化的公开 X 数据读取 | `https://xquik.com/api/v1` + `XQUIK_API_KEY` |
| 其他独立来源 | 是 | 核验 X 来源的候选结论 | 厂商公告、样本、DNS、证书、仓库或案件证据 |

Xquik is an independent third-party service. Not affiliated with X Corp. "Twitter" and "X" are trademarks of X Corp.

## 工作流

### 1. 定义情报问题

写清楚 4 个边界：目标、问题、时间窗、结果上限。把查询拆成可复现的组：精确 IOC、别名、活动名、账号与关键短语。不要用一个宽泛关键词代表全部调查。

```text
问题：这个域名是否出现在 7 天内的公开钓鱼披露中？
查询组：精确域名、去协议 URL、品牌 + phishing、活动别名
成功条件：找到可定位的原始帖子，并由独立来源支持相同事实
停止条件：达到用户结果上限，或连续两组查询没有新候选
```

阶段出口：

1. 继续执行最窄的公开来源查询。
2. 导出查询计划与停止条件。
3. 暂停并让用户确认范围。

### 2. 采集公开 X 数据

优先使用 Xquik MCP。运行平台 bootstrap 只会在用户明确选择的 MCP 客户端中登记远程 URL。它不会安装本地桥接、写入密钥或启动后台服务。

```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File skills\scripts\bootstrap-reverse.ps1 `
  -Capability xquik-mcp -McpHostTarget Codex
```

```bash
bash skills/scripts/bootstrap-reverse.sh xquik-mcp --mcp-host=codex
```

随后在客户端完成 OAuth。若改用 REST，只从环境或批准的密钥存储读取 `XQUIK_API_KEY`。禁止把密钥写进命令行、配置、报告或证据正文。

每次读取必须限制查询、时间窗、游标和结果数。默认只读。私密读取、写操作、监控、Webhook 与批量任务必须单独说明目标、持续性和用量，并获得明确批准。

阶段出口：

1. 继续采集下一组有界查询。
2. 导出原始来源清单与采集参数。
3. 暂停并检查 OAuth、密钥或范围问题。

### 3. 规范化与去重

The rest: https://github.com/zhaoxuya520/reverse-skill/blob/HEAD/skills/threat-intelligence/SKILL.md
