Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

pentest-config-hardeningpentest 配置强化

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

1,024

周安装

44

GitHub Stars

266

下载量

359
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jd-opensource/joysafeter --skill pentest-config-hardening

简介

提供系统与网络配置加固的检查点与安全基线对照。

  • 适用于操作系统、中间件、数据库及服务端点的安全配置审查。
  • 可辅助生成 CIS Benchmark 符合性报告或自动化配置漂移检测脚本。
  • 实际部署前应在非生产环境验证变更,避免服务中断。
  • pentest-config-hardening 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Pentest Config Hardening

Purpose

Shannon checks only 2 of 14 WSTG-CONF items. The remaining 12 are "low-hanging fruit" findings expected in every professional pentest report — straightforward to test systematically.

Prerequisites

Authorization Requirements

  • Written authorization with infrastructure testing scope
  • Target URL list for all web-facing endpoints
  • CDN/WAF awareness — some headers may be set by infrastructure, not application

Environment Setup

  • testssl.sh for comprehensive TLS analysis
  • nmap with ssl-enum-ciphers script
  • curl for manual header inspection
  • nuclei with misconfig templates

Core Workflow

  1. HTTP Security Headers: Audit HSTS (+ preload), CSP policy analysis, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, CORP/COEP/COOP (WSTG-CONF-07/14).
  2. TLS Configuration: Protocol versions (TLS 1.0/1.1 deprecation), cipher suite strength, certificate validity, HSTS preload status, certificate transparency.
  3. HTTP Method Handling: OPTIONS enumeration, PUT/DELETE on static resources, TRACE for XST, method override headers (WSTG-CONF-06).
  4. Infrastructure Exposure: Admin interfaces (WSTG-CONF-05), default credentials on management consoles, exposed monitoring endpoints (/metrics, /health, /debug).
  5. Cloud Storage Misconfig: Public S3 buckets, Azure blob containers, GCP storage referenced in app code or responses (WSTG-CONF-11).
  6. CSP Bypass Analysis: unsafe-inline, unsafe-eval, overly broad source lists, JSONP on allowed domains, missing base-uri (WSTG-CONF-12).
  7. Cookie Security: Secure flag, HttpOnly flag, SameSite attribute, cookie scope, session cookie entropy.

WSTG Coverage

WSTG IDTest NameStatus
WSTG-CONF-02Test Application Platform Configuration
WSTG-CONF-03Test File Extensions Handling
WSTG-CONF-04Review Old Backup and Unreferenced Files
WSTG-CONF-05Enumerate Infrastructure and Admin Interfaces
WSTG-CONF-06Test HTTP Methods
WSTG-CONF-07Test HTTP Strict Transport Security
WSTG-CONF-08Test RIA Cross Domain Policy
WSTG-CONF-09Test File Permission
WSTG-CONF-11Test Cloud Storage
WSTG-CONF-12Test Content Security Policy
WSTG-CONF-13Test for Subdomain Takeover
WSTG-CONF-14Test Security Headers

Tool Categories

CategoryToolsPurpose
TLS Testingtestssl.sh, nmap ssl-enum-ciphersProtocol and cipher analysis
Header AuditSecurityHeaders.com API, Mozilla ObservatorySecurity header grading
Method Testingcurl, nmap http-methodsHTTP method enumeration
CSP AnalysisCSP Evaluator, custom scriptsCSP bypass assessment
Cloud StorageS3Scanner, cloud_enumPublic bucket detection
Subdomainsubjack, can-i-take-over-xyzSubdomain takeover detection

References

  • references/tools.md - Tool function signatures and parameters
  • references/workflows.md - Attack pattern definitions and test vectors

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.77%
按下载量换算118

Claude

29.5%
按下载量换算106

Cursor

19.46%
按下载量换算70

Gemini CLI

8.77%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills