闲社服务运行正常AI智能体自动化平台
h

HTTP安全审计

技能标识:http-sec-audit

Audit HTTP security headers for any website. Use when a user asks to check security headers, harden a web server, audit HSTS/CSP/X-Frame-Options compliance, find information leaks (Server, X-Powered-By), or assess a website's security posture. Checks 10 security headers and grades A–F. Supports multiple URLs and JSON output.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

HTTP安全审计

HTTP 安全标头审计

扫描任意 URL 中缺失或配置错误的安全标头,并生成包含评分、修复建议和信息泄露检测的可操作报告。

快速开始

bash
python3 scripts/sec_headers.py https://example.com

命令

bash

单 URL 审计


python3 scripts/sec_headers.py https://example.com

多 URL 审计

python3 scripts/sec_headers.py https://example.com https://google.com https://github.com

JSON 输出(用于程序化使用)

python3 scripts/sec_headers.py https://example.com --json

自定义超时时间

python3 scripts/sec_headers.py https://example.com --timeout 5

检测内容

安全标头(按严重程度分级):

  • - Strict-Transport-Security (HSTS) — 高
  • Content-Security-Policy (CSP) — 高
  • X-Content-Type-Options — 中
  • X-Frame-Options — 中
  • Referrer-Policy — 中
  • Permissions-Policy — 中
  • X-XSS-Protection — 低
  • Cross-Origin-Opener-Policy (COOP) — 低
  • Cross-Origin-Resource-Policy (CORP) — 低
  • Cross-Origin-Embedder-Policy (COEP) — 低

信息泄露检测:

  • - Server 标头(软件版本泄露)
  • X-Powered-By(技术栈泄露)
  • X-AspNet-Version(框架版本泄露)

评分等级

等级分数含义
A90–100优秀 — 所有关键标头均存在
B
75–89 | 良好 — 存在少量缺失 | | C | 50–74 | 一般 — 缺少重要标头 | | D | 25–49 | 较差 — 存在显著暴露风险 | | F | 0–24 | 不及格 — 大部分标头缺失 |

依赖项

bash
pip install requests

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 http-sec-audit-1776127921 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 http-sec-audit-1776127921 技能

通过命令行安装

skillhub install http-sec-audit-1776127921

下载

⬇ 下载 http-sec-audit v1.0.0(免费)

文件大小: 4.52 KB | 发布时间: 2026-4-15 13:02

v1.0.0 最新 2026-4-15 13:02
Initial release of http-sec-audit.

- Audits 10 key HTTP security headers for any website.
- Detects information leaks from headers like Server and X-Powered-By.
- Provides per-header grading (A–F) and actionable fix recommendations.
- Supports scanning multiple URLs and JSON output.
- Includes command-line options for timeout configuration.
返回顶部