Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计异常

vulnerable-secret脆弱的秘密

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

703

周安装

33

GitHub Stars

93

下载量

261
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vulnerable-secret(脆弱的秘密)
来源仓库:https://github.com/letta-ai/skills
仓库路径:skills/vulnerable-secret
安装命令:
npx skills add https://github.com/letta-ai/skills --skill vulnerable-secret
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/letta-ai/skills --skill vulnerable-secret

简介

用于检测代码或配置中可能泄露的敏感信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合发现硬编码密钥、令牌或隐私数据残留问题。
  • 通过 GitHub 安装,支持正则匹配与上下文分析。
  • 处理真实凭据时应立即脱敏,防止进一步暴露。
  • vulnerable-secret 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Vulnerable Secret Extraction

Overview

This skill provides a systematic methodology for extracting secrets (flags, keys, passwords) from protected or obfuscated binary executables. It emphasizes methodical analysis, proper verification of findings, and avoiding common pitfalls in binary reverse engineering.

Systematic Analysis Workflow

Follow these phases in order for reliable results:

Phase 1: Initial Reconnaissance

Gather basic information about the target before deeper analysis:

  1. File type identification - Determine binary format (ELF, PE, Mach-O) file <binary>
  2. Check permissions and attributes ls -la <binary>
  3. Identify architecture and linking readelf -h <binary> # For ELF binaries
  4. List sections and segments readelf -S <binary> # Section headers readelf -l <binary> # Program headers

Phase 2: Symbol and String Analysis

Extract human-readable information:

  1. Dump strings - Look for embedded text, error messages, and potential secrets strings <binary> strings -a <binary> # All sections
  2. Check symbol table - Identify function names and exported symbols nm <binary> readelf -s <binary>
  3. Look for dangerous functions - Identify potential vulnerabilities

- gets, strcpy, sprintf - Buffer overflow candidates - system, exec* - Command injection points - ptrace - Anti-debugging protection

Phase 3: Disassembly and Code Analysis

Examine the actual code:

  1. Disassemble key functions objdump -d <binary> objdump -d -M intel <binary> # Intel syntax
  2. Focus on specific areas:

- main function entry point - Functions referencing interesting strings - Data sections containing potential encoded secrets

  1. Identify encoding schemes - Look for:

- XOR operations with constant keys - Base64 encoding patterns - Custom obfuscation routines

Phase 4: Data Extraction and Decoding

Extract and decode hidden data:

  1. Extract raw data sections objcopy -O binary --only-section=.rodata <binary> rodata.bin hexdump -C <binary>
  2. Common decoding operations:

- XOR decoding: Identify the key from disassembly, apply to encoded data - Base64: Look for character set patterns - Custom algorithms: Trace through disassembly to understand transformation

  1. Python decoding template: # XOR decoding example encoded = bytes.fromhex('HEXDATA') key = 0xKEY decoded = bytes([b ^ key for b in encoded]) print(decoded.decode('utf-8', errors='ignore'))

Phase 5: Dynamic Analysis (When Safe)

If static analysis is insufficient:

  1. Check for anti-debugging:

- ptrace calls - Timing checks - Environment detection

  1. Bypass techniques:

- LD_PRELOAD to override functions - Patching binary to skip checks - Using debugger scripts

  1. Run with monitoring: strace <binary> ltrace <binary>

Verification Strategies

Always verify findings before concluding:

  1. Cross-reference disassembly - Ensure the decoding logic matches what the code does
  2. Validate decoded output - Check that results are plausible (readable text, expected format)
  3. Test edge cases - Verify handling of:

- Partial data - Incorrect keys - Malformed input

  1. Document the derivation - Record which specific instructions or data led to conclusions

Common Pitfalls

Analysis Mistakes

  1. Incomplete disassembly review - When output is truncated, explicitly request additional sections rather than making assumptions about unseen code
  2. Jumping to conclusions - Avoid assuming encoding schemes without seeing the actual instructions that implement them
  3. Ignoring vulnerability hints - If function names or flag content suggest an attack vector (e.g., "buffer_overflow" in the flag), explore that path even if static analysis succeeds

Implementation Errors

  1. Hex string formatting - Ensure hex strings have no spaces or invalid characters before decoding
  2. Key identification - Verify the XOR key or encoding parameter from actual disassembly, not from data patterns alone
  3. Endianness issues - Consider byte order when extracting multi-byte values

Workflow Inefficiencies

  1. Repeated tool calls - Combine related checks (file type + permissions + sections) when possible
  2. Excessive verification - Once content is confirmed written, avoid redundant reads
  3. Missing tool output - If disassembly is truncated, request specific address ranges rather than re-running the entire dump

Decision Tree

Start
  │
  ├─► Run file identification
  │     └─► Is it an executable? ─No─► Check if packed/obfuscated
  │                │
  │               Yes
  │                │
  ├─► Extract strings
  │     └─► Found readable secret? ─Yes─► Verify and extract
  │                │
  │               No
  │                │
  ├─► Check for dangerous functions
  │     └─► Found gets/strcpy? ─Yes─► Consider buffer overflow
  │                │
  │               No/Also
  │                │
  ├─► Disassemble and analyze
  │     └─► Found encoding logic? ─Yes─► Extract key and decode
  │                │
  │               No
  │                │
  ├─► Check for anti-debugging
  │     └─► Present? ─Yes─► Bypass or use static analysis
  │                │
  │               No
  │                │
  └─► Dynamic analysis with tracing

Output Requirements

When extracting secrets:

  1. Verify the output format matches expected patterns (e.g., FLAG{...}, key format)
  2. Save to the correct location as specified in task requirements
  3. Confirm file was written successfully before concluding

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.96%
按下载量换算76

Gemini CLI

24.99%
按下载量换算65

Codex

17.33%
按下载量换算45

Antigravity

12.97%
按下载量换算34

OpenCode

7.69%
按下载量换算20

windsurf

3.22%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills