Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

misconfigmisconfig 搜索

Agent Skill

misconfig 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

190

周安装

8

GitHub Stars

9

下载量

67
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

misconfig 用于查找、检索和筛选相关信息。

  • 适合在安全审计中定位常见配置错误与修复方案。
  • 通过 npx 命令从指定仓库安装,需结合原始 README 了解查询方式。
  • 安装前应检查是否依赖云服务 API 或本地扫描权限。
  • 建议评估技能对多云环境的覆盖能力与误报率。misconfig 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Security Misconfiguration Analysis

Analyze application and infrastructure configuration for security misconfigurations that could expose the system to attack. Covers missing security headers, debug modes left enabled, overly permissive CORS, default credentials, verbose error handling, unnecessary features, and directory listing.

Supported Flags

Read ../../shared/schemas/flags.md for full flag documentation. This skill supports all cross-cutting flags.

Key flags for this skill:

FlagEffect
--scope <value>Target scope (default: changed). Config-heavy scopes like path: and full are common.
--depth <value>Analysis depth (default: standard). deep traces config inheritance chains.
--severity <value>Minimum severity to report (default: all).
--format <value>Output format: text, json, sarif, md.
--fixGenerate remediation patches for each finding.
--explainAdd OWASP context and learning material to each finding.

Framework Context

OWASP Top 10 2021 -- A05: Security Misconfiguration

Security misconfiguration is the most commonly seen issue. This is commonly a result of insecure default configurations, incomplete or ad hoc configurations, open cloud storage, misconfigured HTTP headers, unnecessary HTTP methods, permissive CORS, and verbose error messages containing sensitive information.

CWE Mappings:

  • CWE-16: Configuration
  • CWE-2: Environment
  • CWE-388: Error Handling
  • CWE-497: Exposure of System Data to an Unauthorized Control Sphere
  • CWE-611: Improper Restriction of XML External Entity Reference
  • CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute
  • CWE-756: Missing Custom Error Page
  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains

STRIDE Mapping: All categories -- misconfigurations can enable spoofing, tampering, information disclosure, denial of service, and elevation of privilege.

Detection Patterns

Read references/detection-patterns.md before running analysis. It contains Grep regex patterns, language-specific examples, scanner coverage, and false positive guidance for each detection category.

Workflow

Step 1 -- Determine Scope

  1. Parse --scope flag (default: changed).
  2. Resolve to a concrete file list.
  3. Filter to configuration-relevant files:

- Application config: *.yaml, *.yml, *.toml, *.ini, *.cfg, *.conf, *.json, *.properties, *.env, *.env.* - Server config: nginx.conf, httpd.conf, apache2.conf, Caddyfile, traefik.yml - Framework config: settings.py, config/*.rb, application.properties, next.config.*, nuxt.config.* - IaC: *.tf, *.hcl, Dockerfile, docker-compose*.yml, *.k8s.yml, k8s/*.yaml - CI/CD: .github/workflows/*.yml, .gitlab-ci.yml, Jenkinsfile, .circleci/config.yml - Source files that set headers or configure middleware

  1. Also include source files that import/configure security middleware or set HTTP headers.

Step 2 -- Check for Scanners

Detect available scanners in priority order:

ScannerDetectBest For
checkovwhich checkovIaC misconfigurations (Terraform, K8s, Docker)
tfsecwhich tfsecTerraform-specific security
kicswhich kicsMulti-IaC scanning
trivywhich trivyFilesystem misconfigs, Dockerfiles, K8s
semgrepwhich semgrepCode-level misconfiguration patterns

If no scanners are found, proceed with Claude analysis only and note this in output.

Step 3 -- Run Available Scanners

For each detected scanner, run against the scoped files:

  • checkov: checkov -d <target> -o json --quiet
  • tfsec: tfsec <target> --format json
  • kics: kics scan -p <target> --type json
  • trivy: trivy fs --format json --scanners misconfig <target>
  • semgrep: semgrep scan --config auto --json --quiet <target>

Normalize scanner output to the findings schema per ../../shared/schemas/scanners.md.

Step 4 -- Claude Analysis

Using Grep and Read, search for patterns from references/detection-patterns.md. For each match:

  1. Read surrounding context (10-20 lines) to determine if the pattern is a true finding.
  2. Check for compensating controls (e.g., a reverse proxy may set headers upstream).
  3. Determine if the configuration is for production or development.
  4. Assign severity based on the criteria in detection-patterns.md.
  5. Avoid duplicating scanner findings -- deduplicate by file and line.

Step 5 -- Report Findings

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

Use the MSCFG prefix for finding IDs (e.g., MSCFG-001, MSCFG-002).

What to Look For

  1. Debug mode enabled in production -- DEBUG=True, NODE_ENV=development, FLASK_DEBUG=1, RAILS_ENV=development in production-bound configs.
  2. Missing security headers -- No Content-Security-Policy, X-Frame-Options, Strict-Transport-Security, X-Content-Type-Options, Permissions-Policy, or Referrer-Policy in HTTP responses.
  3. CORS wildcard or overly permissive origins -- Access-Control-Allow-Origin: * or reflecting arbitrary Origin headers without validation.
  4. Default credentials -- Unchanged admin/admin, root/root, or well-known default passwords in configuration files.
  5. Verbose error handling -- Stack traces, internal paths, database details, or framework version numbers exposed to end users in error responses.
  6. Unnecessary features enabled -- Directory listing, HTTP TRACE/TRACK methods, admin panels exposed without authentication, phpinfo() pages.
  7. Insecure cookie attributes -- Missing Secure, HttpOnly, or SameSite flags on session or authentication cookies.
  8. Permissive file permissions -- World-readable secrets, 777 permissions on sensitive directories, overly broad IAM policies.
  9. TLS/SSL misconfiguration -- Weak cipher suites, outdated TLS versions (< 1.2), self-signed certificates in production, missing HSTS.
  10. Missing rate limiting -- No rate limiting on authentication endpoints, API routes, or form submissions.

Scanner Integration

See ../../shared/schemas/scanners.md for full scanner invocation details. This skill primarily uses:

ScannerWhat It Catches
checkovIaC misconfigurations: open security groups, missing encryption, public S3 buckets
tfsecTerraform-specific: missing tags, public subnets, insecure defaults
kicsMulti-IaC: Docker, K8s, Terraform, CloudFormation misconfigurations
trivyDockerfile and K8s manifest misconfigurations, misconfigured filesystem
semgrepCode patterns: missing headers, debug flags, insecure cookie settings

When scanners are unavailable, Claude falls back to Grep-based detection using the patterns in references/detection-patterns.md and reports findings with confidence: medium.

Output Format

All findings use the schema defined in ../../shared/schemas/findings.md.

ID Prefix: MSCFG (e.g., MSCFG-001)

References for each finding:

  • references.owasp: A05:2021
  • references.cwe: Appropriate CWE from the list above
  • references.stride: Relevant STRIDE category
  • metadata.tool: misconfig
  • metadata.framework: owasp
  • metadata.category: A05

Summary table after all findings:

| Severity | Count |
|----------|-------|
| CRITICAL | N     |
| HIGH     | N     |
| MEDIUM   | N     |
| LOW      | N     |

Followed by top 3 priorities and an overall assessment paragraph.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.05%
按下载量换算23

Claude

28.29%
按下载量换算19

Cursor

20.24%
按下载量换算14

Gemini CLI

8.99%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills