re-tls

re-tls is a skill for Claude Code from dslsdzc/rev-skills. It costs 50 tokens per session (4,342 once invoked), scanned A, original, Apache-2.0.

A workflow for analysing TLS-encrypted network traffic, including connection fingerprints, certificates, and recovered session keys. TLS is the encryption used by HTTPS and many other network protocols.

In plain words
What is it for?
Use it to decrypt supported TLS captures, inspect ClientHello fingerprints and certificate chains, and investigate encrypted command-and-control or application traffic.
Why use it?
Encrypted captures normally hide the messages inside them. With suitable key material or an interception setup, this workflow can reveal the contents and can also identify unusual TLS patterns when decryption is unavailable.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to decrypt supported TLS captures, inspect ClientHello fingerprints and certificate chains, and investigate encrypted command-and-control or application traffic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-tls
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dslsdzc/rev-skills --skill re-tls
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-tls

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-tls/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-tls)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-tls"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-tls/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-tls

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-tls"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-tls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.04342
Opus 5.5 $0.00020 $0.01737
Sonnet 5.5 $0.00010 $0.00868
Haiku 4.5 $0.00005 $0.00434

Measured 1mo ago against content hash 7963da3d0b4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-tls scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 特征清单: ① 指纹聚类——JA3/JA4 新簇或命中已知恶意库(curl/python requests 原生栈也是常见信号)② 异常证书——自签名/短有效期/SNI 与 IP 不匹配/证书 CN 是 IP ③ 信标节奏——固定间隔短连接(与 [[re-behavior]] 时间线对齐)④ SNI 异常——随机子域名/高熵 SNI/无 SNI(硬编码 IP 直连,[[re-netcap]] DoH 坑同源)⑤ 混合协议——443
.claude/skills/re-tls/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TLS/加密流量深度分析

何时使用 / 何时不用

  • 用:TLS/HTTPS 流量要"解密看明文"(有 keylog 或中间人)——C2 通信、固件回连、加密应用协议
  • 用:只有密文 pcap 也要做深度——ClientHello/证书指纹聚类、异常 TLS 特征判定
  • 用:证书链验证/证书内容分析(openssl x509)
  • 不用:只抓包不深入(那是 [[re-netcap]])
  • 不用:流量已解密、无 TLS 层(直接 [[re-proto-rev]] 重建状态机)
  • 不用:非标准 TLS 的自定义加密(走 [[re-crypto-id]] → [[re-crypto-keys]] → [[re-crypto-decrypt]])
  • 注意:本技能处理流量与密钥文件,不运行样本,默认可免沙箱;抓包环节按 [[re-netcap]] 在隔离环境进行([[re-analyze/platform-tips]] 最高原则)

工具准备

所有工具先验证再使用。

tshark / wireshark —— 解析、指纹、解密主力(安装见 [[re-netcap]])

  • Linux: apt install wireshark tshark / dnf install wireshark-cli wireshark / pacman -S wireshark-cli wireshark-qt
  • macOS: brew install --cask wireshark(含 tshark CLI);Windows: choco install wireshark
  • 验证: tshark --version;tshark -r out.pcap -Y 'tls.handshake.type == 1' | head -1 能解析 ClientHello
  • JA3 字段(Wireshark 3.6+ 内置)与 JA4 字段(Wireshark 4.2+ 原生,仅客户端): 验证 tshark -r out.pcap -T fields -e tls.handshake.ja4 | head -1 有输出;本机字段存在性以 tshark -G fields | grep -iE 'ja3|ja4' 为准

openssl —— 证书解析与 TLS 交互(跨 OS)

  • Linux: apt install openssl / dnf install openssl / pacman -S openssl(多数预装)
  • macOS: brew install openssl(keg-only,PATH 加 /opt/homebrew/opt/openssl@3/bin(Apple Silicon)或 /usr/local/opt/openssl@3/bin(Intel))
  • Windows: choco install openssl.light(PATH 需手动加,见包说明)或 Git for Windows 自带 openssl.exe
  • 验证: openssl version

python3 —— 指纹聚类/批量分析脚本(可选)

  • 安装与验证见 [[re-proto-rev]] 工具准备(python3)

SSLKEYLOG 环境 —— Chrome/Firefox 密钥导出(非独立工具)

  • Chrome: 启动前设置环境变量 SSLKEYLOGFILE=/tmp/keys.log(Linux/macOS)或 set SSLKEYLOGFILE=C:\keys.log(Windows)
  • Firefox: 同样环境变量(设置后需重启浏览器)
  • Wireshark: 编辑 → 首选项 → Protocols → TLS → (Pre)-Master-Secret log filename 指向该文件;tshark 侧用 -o tls.keylog_file:...
  • 验证: 设置后访问 HTTPS 站点,keys.log 出现 CLIENT_HANDSHAKE_TRAFFIC_SECRET 等行(TLS 1.3)或 CLIENT_RANDOM 行(TLS 1.2)

mitmproxy —— 中间人解密(可选,安装见 [[re-netcap]])

  • 场景: 无 keylog 权限的第三方程序(自实现 TLS 栈、证书固定见坑 4)
  • 验证: mitmdump --version

操作步骤

按顺序执行,每步产物(指纹表/证书/解密流量)存档 sha256 + 路径([[re-ioc]] 证据链要求)。

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +4 lines 7963da3d0b4d
  2. 2mo ago Changed 4768b968ede3
  3. 2mo ago First seen · 137 lines · 50 tokens per session scan A c1d6c14e14f0

Subscribe to this mod's changes

re-tls is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 4,342 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

re-tls compared with skills from other repositories

re-tls next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-tlsdslsdzc/rev-skillsSkill2751mo agoApache-2.0A50Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-golang-malware-with-ghidramukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A95Claude Code
analyzing-golang-malware-with-ghidra26zl/cybersec-toolkitSkill114todayMITA95Claude Code
reverse-engineering-binaries-with-ghidrameltedinhex/analyst-ai-packSkill254d agoApache-2.0A80Claude Code, Codex
reverse-engineering-shellcodemeltedinhex/analyst-ai-packSkill254d agoApache-2.0A68Claude Code, Codex
reverse-engineering-arm-binariesmeltedinhex/analyst-ai-packSkill254d agoApache-2.0A69Claude Code, Codex