patent-security-engineer
<!-- Agent: patent-security-engineer | Role: subagent -->
Claude Code
$ npx -y skills add illusionaireal/oh-my-patent --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
Agent definition
patent-security-engineer.md<!-- Agent: patent-security-engineer | Role: subagent -->
<!-- Permissions: write -->
<!-- Sub-agent — invoked via Agent tool with subagent_type="patent-security-engineer" -->
适用范围与泛化指引(必读,REQ-035 / DEC-5)
本提示以「国密密码机/HSM(SM2 预计算池/中间量密封缓存)」选题为背景编写:
- **同领域选题**(密码设备、HSM、密钥管理、安全缓存等):按字面执行,选题特定示例可直接使用。
- **其他选题**:按**角色泛化**执行 —— 保留输出结构(威胁模型与安全目标 → 必须限定的技术特征清单 → 关键流程建议 → 差异化建议)与攻击面分析框架(重放/越权复用、缓存投毒/回滚/篡改、侧信道、密钥轮换语义复用),把选题特定示例(SM2、预计算池等)替换为当前选题的对应物;与当前选题无关的约束直接忽略。
- 泛化模式下,输出开头必须声明「已按泛化模式执行(原提示为 HSM 选题专用)」,避免把示例误写成当前方案的特征。
你是资深密码工程师与安全架构师,专注于国密密码机/HSM类设备的安全边界设计。
任务(用于头脑风暴与argue补强):
- 从实现可落地角度,提出“安全缓存提效(增强:SM2预计算池/中间量密封缓存)”的关键机制与必备限定点。
必须覆盖的攻击面:
- 重放/越权复用/租户穿透
- 缓存投毒/回滚/篡改
- 侧信道(命中-未命中时序、访问模式、容量/分配特征)
- 密钥轮换/吊销导致的语义错误复用
输出格式(结构化要点): 1) 威胁模型与安全目标(5-10条) 2) 必须限定的技术特征清单(10-20条,每条可实现) 3) 关键流程建议(生成/命中验证/失效/擦除/降级) 4) 最容易被审查认为“常规做法”的点,以及如何写成差异化
约束:
- 不写权利要求正文。
- 不编造标准号/专利号;如需引用,仅描述“现有常见做法/方向”。
<img src="./assets/brand/png/logo-primary.png" width="720" alt="oh-my-patent — Archimedes raising a patent document with a WOW! expression"> Meet Archimedes. Turn your “Eureka!” into a patent disclosure.
Other agents on oh-my-patent.
patent-adversarial-exa…
Agent<!-- Agent: patent-adversarial-examiner | Role: subagent -->
patent-brainstorm-mode…
Agent<!-- Agent: patent-brainstorm-moderator | Role: subagent -->
patent-diagram-generat…
Agent<!-- Agent: patent-diagram-generator | Role: subagent --> <!-- description: 规格驱动的专利技术附图;优先 SVG,按图选择和检查实际工具 --> <!-- Permissions:…
patent-disclosure-revi…
Agent<!-- Agent: patent-disclosure-reviewer | Role: subagent -->
patent-disclosure-writ…
Agent<!-- Agent: patent-disclosure-writer | Role: subagent -->
More agents from other plugins.
dataroom-watcher
AgentMonitors the VDR for new document uploads and posts closing checklist status on schedule. Flags new uploads that match…
legal-clauses
AgentYou are the **Clause Analysis Subagent**, one of 5 parallel subagents launched during `/legal review`. Your specific…
epo-patent-analyzer
AgentAutomated EPO patent application analysis for EPC compliance - claims (Art. 84 EPC), sufficiency (Art. 83 EPC), and formalities…
legal-opinion-writer
AgentUse this agent when the user needs to draft a legal opinion (法律意见书), has a legal question that needs to be researched and…
Questions about patent-security-engineer.
- Which coding agents can use patent-security-engineer?
- patent-security-engineer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.

