Token导航 LogoToken导航

Agent Skill · 研究检索

insecure-design(不安全的设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

insecure-design 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 67,016。

总安装 256周安装 11GitHub Stars 9下载 90核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill insecure-design

这个 Skill 是做什么的

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

insecure-design 用于辅助界面设计、视觉规范和交互体验优化。适合整理页面结构、生成 UI 方案或检查视觉一致性,改进组件层级。使用时需结合现有品牌、设计系统和用户任务,不应只堆装饰元素。涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出和对齐。

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

来源仓库内路径:skills/insecure-design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

insecure-design 怎么安装?

在终端执行 npx skills add https://github.com/florianbuetow/claude-code --skill insecure-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

insecure-design 支持哪些 AI 工具?

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

insecure-design 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

insecure-design 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

insecure-design 用的人多吗?

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

insecure-design 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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调用外部服务未明确有提醒
insecure-design

不安全的设计 · 本页

2569需要联网未明确通过

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

SKILL.md 原文

Insecure Design Analysis (OWASP A04:2021)

Analyze application architecture and code for missing or ineffective security controls that result from absent threat modeling, insufficient security requirements, or failure to use secure design patterns. This is the most subjective OWASP category -- automated scanners provide minimal coverage, so Claude's architectural reasoning is the primary value.

Supported Flags

Read ../../shared/schemas/flags.md for the full flag specification. This skill supports all cross-cutting flags. Key behaviors:

FlagInsecure Design-Specific Behavior
--scopeDefault changed. Broader scopes (branch, full) are strongly recommended since design flaws are architectural.
--depth quickCheck for obvious missing controls (rate limiting, CSRF tokens, security headers). Pattern scan only.
--depth standardFull code read of scoped files, analyze request flows and business logic for design gaps.
--depth deepStandard + map full request lifecycle, identify trust boundaries, analyze defense-in-depth layering across the codebase.
--depth expertDeep + threat model construction, attack tree analysis, DREAD scoring per design flaw.
--severityFilter output. Insecure design findings span all severity levels.
--fixGenerate implementation suggestions for missing controls.
--explainEspecially useful for this category: adds threat modeling context and design rationale.

Framework Context

OWASP A04:2021 - Insecure Design

Missing or ineffective security controls as a result of missing threat modeling during design. Unlike implementation bugs (e.g., SQL injection), insecure design refers to the absence of security controls that should have been designed in from the start. No amount of perfect implementation can fix a fundamentally insecure design.

Key concern areas:

  • Missing threat modeling: No systematic identification of threats during design
  • Insufficient security requirements: Security not considered in user stories or specs
  • No secure design patterns: Missing rate limiting, account lockout, CSRF protection
  • Missing defense in depth: Single layer of security with no backup controls
  • Business logic security gaps: Exploitable workflows, race conditions in transactions
  • Trust boundary violations: Client-side enforcement of server-side rules

STRIDE Mapping: All categories (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege)

Detection Patterns

Read references/detection-patterns.md for the full pattern catalog with language-specific examples, regex heuristics, and false positive guidance.

Pattern Summary:

  1. Missing rate limiting on sensitive endpoints
  2. No CSRF protection on state-changing operations
  3. Missing account lockout after failed authentication attempts
  4. Absence of input validation layer
  5. No security headers middleware
  6. Trust-the-client design patterns (client-side-only validation)

Workflow

Step 1: Determine Scope

  1. Parse --scope flag (default: changed).
  2. Resolve to a concrete file list.
  3. For design analysis, prioritize these file categories:

- HTTP handlers/controllers: Routes, endpoints, API handlers - Authentication flows: Login, registration, password reset, MFA - Middleware/interceptors: Request processing pipeline configuration - Configuration files: Framework config, security settings, CORS setup - Business logic: Transaction processing, workflows, state machines - Client-side validation: Form validation, input checking in frontend code

  1. If scope is narrow (file: or changed), warn that design analysis benefits from broader scope and suggest --scope branch or --scope full.

Step 2: Check for Scanners

Design flaws have minimal scanner coverage. Check for:

ScannerDetectDesign Coverage
semgrepwhich semgrepLimited: can detect some missing security headers, CSRF patterns

For this category, Claude analysis is the primary detection method. Scanners provide supplementary signal at best. Note in output: "Insecure design analysis is primarily reasoning-based. Scanner coverage for this category is minimal."

Step 3: Run Scanners

If semgrep is available, run with rules targeting:

  • Missing security headers
  • CSRF token absence
  • Missing rate limiting decorators/middleware
semgrep scan --config auto --json --quiet <target>

Filter results to design-relevant rules only. Normalize to findings schema.

Step 4: Claude Analysis

This is the core of insecure design detection. Read scoped files and evaluate:

  1. Map the application architecture:

- Identify entry points (routes, API endpoints, event handlers). - Identify trust boundaries (client/server, service/service, user/admin). - Map the request processing pipeline (middleware, filters, interceptors). - Identify business-critical workflows (payments, authentication, authorization).

  1. Evaluate security control presence:

- Rate limiting: Are sensitive endpoints (login, registration, password reset, API) protected against abuse? - CSRF protection: Do state-changing endpoints validate CSRF tokens? - Account lockout: Do authentication flows implement lockout or progressive delays? - Input validation: Is there a server-side validation layer, or only client-side? - Security headers: Is there middleware setting CSP, HSTS, X-Frame-Options, etc.? - Error handling: Do errors leak implementation details or stack traces?

  1. Analyze trust boundaries:

- Is server-side validation present for everything validated client-side? - Are service-to-service calls authenticated and authorized? - Are admin functions separated from user functions? - Is there proper tenant isolation in multi-tenant systems?

  1. Evaluate defense in depth:

- Is there only one layer of security for critical operations? - If the primary control fails, what is the fallback? - Are security controls applied consistently across all entry points? - Are there monitoring and alerting mechanisms for security events?

  1. Assess business logic security:

- Can workflows be executed out of order? - Are there race conditions in financial or state-changing operations? - Can quantity, price, or privilege fields be manipulated client-side? - Are there proper idempotency controls on critical operations?

At --depth deep or --depth expert, construct a lightweight threat model:

  • List identified assets, threat actors, and attack surfaces.
  • Map missing controls to specific threat scenarios.
  • Evaluate the overall security posture against the STRIDE model.

Step 5: Report

Output findings using the format from ../../shared/schemas/findings.md.

Each finding must include:

  • id: DESGN-001, DESGN-002, etc.
  • title: Concise description of the missing control or design flaw.
  • severity: Based on exploitability and business impact of the missing control.
  • location: File(s), line range(s), and architectural component affected.
  • description: What control is missing and why it matters.
  • impact: What an attacker can achieve due to the design gap.
  • fix: Implementation approach for the missing control, with code sketch.
  • references: CWE, OWASP A04:2021, STRIDE mapping.

Because design findings are inherently more subjective than implementation bugs, include clear reasoning for each finding. Explain why the control is expected and what threat it mitigates. Use confidence: medium for most design findings unless the absence is unambiguous (e.g., zero rate limiting on a public login endpoint).

What to Look For

These are the primary insecure design patterns to detect. Each has detailed examples and heuristics in references/detection-patterns.md.

  1. Missing rate limiting: Login, registration, password reset, OTP verification, API endpoints with no throttling or abuse prevention.
  2. No CSRF protection: State-changing POST/PUT/DELETE endpoints without CSRF token validation.
  3. Missing account lockout: Authentication systems that allow unlimited login attempts with no lockout, delay, or CAPTCHA.
  4. No server-side validation: Input validation only in client-side JavaScript with no corresponding server-side checks.
  5. Missing security headers: No Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, or Referrer-Policy headers.
  6. Client-side trust: Price calculations, authorization decisions, or business rules enforced only in client-side code.
  7. No defense in depth: Single authentication check with no session validation, or single authorization layer with no audit trail.
  8. Missing error handling strategy: Inconsistent error responses that leak internal state, stack traces, or database details.
  9. No idempotency controls: Financial or state-changing operations that can be replayed or executed concurrently without protection.
  10. Missing tenant isolation: Multi-tenant systems without proper data segregation at the query or middleware level.

Scanner Integration

Primary: Claude reasoning-based analysis (scanners provide minimal coverage for design flaws). Supplementary: semgrep (limited rules for missing headers, CSRF patterns). Fallback: Grep regex patterns from references/detection-patterns.md.

This category relies primarily on Claude's ability to:

  • Understand application architecture by reading code.
  • Identify missing controls by reasoning about what should be present.
  • Evaluate trust boundaries and defense-in-depth layering.
  • Assess business logic for exploitable design patterns.

Scanner findings for this category should be treated as supplementary evidence, not primary detection. Report scanner status but emphasize that design analysis is reasoning-based.

Output Format

Use finding ID prefix DESGN (e.g., DESGN-001, DESGN-002).

All findings follow the schema in ../../shared/schemas/findings.md with:

  • references.owasp: "A04:2021"
  • references.stride: One or more of "S", "T", "R", "I", "D", "E"
  • metadata.tool: "insecure-design"
  • metadata.framework: "owasp"
  • metadata.category: "A04"

CWE Mapping by Design Flaw Type:

Design FlawCWETypical Severity
Missing rate limitingCWE-770high
No CSRF protectionCWE-352high
Missing account lockoutCWE-307high
Client-side-only validationCWE-602high
Missing security headersCWE-693medium
No defense in depthCWE-657medium
Business logic flawsCWE-840high
Missing tenant isolationCWE-284critical
No idempotency controlsCWE-362medium

Summary Table

After all findings, output a summary:

| Design Flaw Category   | Critical | High | Medium | Low |
|------------------------|----------|------|--------|-----|
| Rate Limiting          |          |      |        |     |
| CSRF Protection        |          |      |        |     |
| Account Security       |          |      |        |     |
| Input Validation       |          |      |        |     |
| Security Headers       |          |      |        |     |
| Trust Boundaries       |          |      |        |     |
| Defense in Depth       |          |      |        |     |
| Business Logic         |          |      |        |     |

Followed by: top 3 priorities, threat model observations (at --depth deep+), and overall design security assessment.

平台分布

Codex

39.49%
按下载量换算36

Claude

28.53%
按下载量换算26

Cursor

17.57%
按下载量换算16

Gemini CLI

9.79%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills