返回顶部
h

http-sec-auditHTTP安全审计

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
安全检测
已通过
207
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

http-sec-audit

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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部