Token导航 LogoToken导航

Agent Skill · 研究检索

feal-linear-cryptanalysis(feal Linear cryptanalysis 搜索)

用于处理 Linear 项目、Issue、团队、周期和产品开发任务流。它适合让 Agent 辅助查询任务状态、整理需求队列、创建缺陷或汇总迭代进展。使用时需要确认 workspace、team、label、assignee 和状态流转规则;涉及批量创建或修改任务时,应先核对字段和目标团队,避免把草稿需求直接写入正式项目。

feal-linear-cryptanalysis 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证为 MIT,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 45,663。

总安装 832周安装 34GitHub Stars 93下载 269核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/letta-ai/skills --skill feal-linear-cryptanalysis

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

feal-linear-cryptanalysis 提供 FEAL 密码的线性密码分析框架,帮助识别非线性的近似路径以恢复密钥。适用于密码分析场景,特别是针对 Feistel 结构的分组密码实现攻击。使用前应明确任务是否指向线性攻击,并完成前置分析步骤。建议仅在授权环境下使用,避免对生产系统造成意外影响。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/feal-linear-cryptanalysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/letta-ai/skills --skill feal-linear-cryptanaly…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

feal-linear-cryptanalysis 怎么安装?

在终端执行 npx skills add https://github.com/letta-ai/skills --skill feal-linear-cryptanalysis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

feal-linear-cryptanalysis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

feal-linear-cryptanalysis 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

feal-linear-cryptanalysis 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

feal-linear-cryptanalysis 用的人多吗?

公开数据是累计安装 832 次,近一周安装 34 次,下载 269 次,GitHub 93 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

feal-linear-cryptanalysis 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
feal-linear-cryptanalysis

feal Linear cryptanalysis 搜索 · 本页

83293权限未标注MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

FEAL Linear Cryptanalysis

Overview

This skill provides structured guidance for performing linear cryptanalysis on FEAL (Fast Data Encipherment Algorithm) and similar Feistel-based ciphers. Linear cryptanalysis exploits linear approximations of the cipher's non-linear components to recover key bits with far fewer operations than brute force.

Critical Pre-Implementation Analysis

Before writing any code, complete these analysis steps:

1. Identify the Attack Type from Task Description

When a task explicitly mentions "linear attack" or "linear cryptanalysis":

  • This is a strong hint about the intended solution approach
  • Do NOT ignore this hint in favor of brute-force methods
  • Linear cryptanalysis is likely the only feasible approach

2. Complexity Feasibility Check

Before implementing any approach, calculate its feasibility:

Key SpaceOperationsTime at 10^9 ops/secFeasible?
2^20~1 million< 1 secondYes
2^40~1 trillion~18 minutesMaybe
2^64~10^19~292 yearsNo
2^80~10^24~38 million yearsNo

If the combined key space exceeds 2^40, brute force is infeasible. Linear cryptanalysis is required.

3. Analyze the Cipher Structure

Before implementing, thoroughly understand:

  1. Round function (F-function): Identify the non-linear components (S-boxes, G-function)
  2. Key schedule: Understand how round keys derive from the master key
  3. Number of rounds: Fewer rounds = easier linear approximations
  4. Known pairs available: Linear cryptanalysis effectiveness scales with available pairs

Linear Cryptanalysis Approach

Step 1: Study the Non-Linear Components

For FEAL-type ciphers, analyze the G-function:

  • Identify rotation operations
  • Locate addition operations (mod 256)
  • Find the one-byte truncation points

These operations have known linear approximations with varying biases.

Step 2: Find Linear Approximations

Linear approximations relate input bits, output bits, and key bits with a probability ≠ 0.5:

P[input_mask · plaintext ⊕ output_mask · ciphertext ⊕ key_mask · key = 0] = 0.5 + ε

Where ε (bias) determines attack effectiveness. Larger |ε| = fewer pairs needed.

For FEAL specifically:

  • The G-function addition has exploitable linear properties
  • Carry propagation in addition creates predictable bit relationships
  • Common approximation: MSB of (a + b) ≈ MSB(a) ⊕ MSB(b) with bias ~0.25

Step 3: Chain Approximations Across Rounds

Use the piling-up lemma to combine approximations:

  • If individual rounds have biases ε₁, ε₂,..., εₙ
  • Combined bias: ε_total = 2^(n-1) × ε₁ × ε₂ ×... × εₙ

Step 4: Key Recovery Process

  1. For each candidate key (or key portion):

- Count how many pairs satisfy the linear approximation - The correct key produces a count significantly different from N/2

  1. Use multiple approximations to recover different key bits
  2. Verify recovered key bits against all available pairs

Verification Strategies

Incremental Verification

  1. Verify understanding first: Manually trace the cipher with a known pair
  2. Test approximations: Confirm linear approximations hold with expected bias
  3. Partial key verification: As key bits are recovered, verify against all pairs
  4. Full decryption test: Only after complete key recovery, decrypt all ciphertexts

Statistical Validation

  • With N pairs, expect count deviation of ~N × |ε| for correct key
  • Wrong keys produce counts near N/2
  • Use chi-squared or similar statistical tests for confidence

Common Pitfalls to Avoid

1. Ignoring Explicit Hints

Wrong: Task says "linear attack" but agent implements brute force Right: Follow the explicit methodology hint in the task description

2. Implementing Before Analysis

Wrong: Jump into coding brute-force approaches immediately Right: First analyze cipher structure, calculate complexities, design algorithm

3. Memory-Intensive Meet-in-the-Middle

Wrong: Attempt to store 2^40 entries in memory (requires terabytes) Right: Calculate memory requirements before implementation:

  • 2^20 entries × 16 bytes = ~16 MB (feasible)
  • 2^30 entries × 16 bytes = ~16 GB (problematic)
  • 2^40 entries × 16 bytes = ~16 TB (infeasible)

4. Repeated Failed Approaches

Wrong: Try brute force variant 1, fail, try variant 2, fail, try variant 3... Right: After one approach fails, analyze WHY before trying alternatives

5. Time Mismanagement

Wrong: Spend all available time on infeasible brute-force implementations Right: Allocate time for: analysis (30%), algorithm design (30%), implementation (30%), testing (10%)

6. Not Using All Available Pairs

Wrong: Use pairs only for final verification Right: Linear cryptanalysis uses ALL pairs simultaneously to statistically recover key bits

Implementation Checklist

Before starting implementation:

  • Read and understand the complete cipher implementation
  • Identify the key schedule and total key space
  • Calculate brute-force complexity (is it feasible?)
  • If brute force infeasible, identify linear approximations
  • Estimate required number of pairs vs. available pairs
  • Design the attack algorithm on paper before coding
  • Implement with progress output to monitor execution

During implementation:

  • Test each component independently
  • Verify linear approximations hold on known pairs
  • Include flush statements for output visibility
  • Set reasonable timeouts for each phase

After key recovery:

  • Verify recovered key decrypts all ciphertexts correctly
  • Create the required output file in the correct format
  • Double-check output matches expected format

Debugging Tips

  1. Output buffering: Use explicit flush after print statements
  2. Progress indicators: Print progress every N iterations for long computations
  3. Intermediate verification: Check partial results against known values
  4. Memory monitoring: Watch process memory usage for large operations

Resources

This skill does not require external scripts or assets. The approach relies on understanding and applying linear cryptanalysis principles to the specific cipher implementation provided in each task.

平台分布

Claude Code

25.26%
按下载量换算68

Gemini CLI

24.4%
按下载量换算66

Antigravity

16.74%
按下载量换算45

Codex

12.69%
按下载量换算34

OpenCode

7.28%
按下载量换算20

windsurf

3%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills