titoyang/wordpress-malware-sweep

GitHub: titoyang/wordpress-malware-sweep

为 Hermes Agent 提供可复用的安全技能模块,涵盖 WordPress 恶意软件扫描清理流程和 AI 代理运行时安全防护。

Stars: 0 | Forks: 0

# Hermes Agent 安全技能 用于 [Hermes Agent](https://github.com/NousResearch/hermes-agent) 的可重用安全技能和操作工具。 [![验证技能](https://static.pigsec.cn/wp-content/uploads/repos/cas/fa/fa8fb5280d467ddb15d284aec1f14da25510f5e23dff20c6ad1ac3cf32e75b62.svg)](https://github.com/titoyang/wordpress-malware-sweep/actions/workflows/validate-skills.yml) [![最新发布](https://img.shields.io/github/v/release/titoyang/wordpress-malware-sweep?display_name=tag)](https://github.com/titoyang/wordpress-malware-sweep/releases) [![许可证: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) ## 包含的技能 ### wordpress-malware-sweep 当 IONOS 或其他共享主机标记 WordPress 恶意软件时使用。该技能记录了保守的发现 → 扫描 → 清理 → 加固 → 验证工作流,并配有用于全账户和逐站点扫描的配套 SSH 自动化工具。 - 技能:[`skills/wordpress-malware-sweep/SKILL.md`](skills/wordpress-malware-sweep/SKILL.md) - 账户扫描器:[`scripts/scan_wordpress_account.py`](scripts/scan_wordpress_account.py) - 逐站点扫描器:[`scripts/scan_wordpress_sites.py`](scripts/scan_wordpress_sites.py) ### hermes-agent-runtime-security 在保护 Hermes Agent 免受 prompt injection、memory 中毒、恶意扩展、凭据泄露、未经授权的外部访问、自我修改、权限提升、供应链攻击以及代理命令与控制(command-and-control)模式攻击时使用。 - 技能:[`skills/hermes-agent-runtime-security/SKILL.md`](skills/hermes-agent-runtime-security/SKILL.md) - 辅助参考:[`skills/hermes-agent-runtime-security/references/session-001_security_demo.md`](skills/hermes-agent-runtime-security/references/session-001_security_demo.md) ## 在本地安装技能 将所需的技能目录复制到 Hermes skills 目录中: ``` # Windows Git Bash cp -R skills/hermes-agent-runtime-security "$HOME/AppData/Local/hermes/skills/security/" cp -R skills/wordpress-malware-sweep "$HOME/AppData/Local/hermes/skills/devops/" # Linux/macOS cp -R skills/hermes-agent-runtime-security ~/.hermes/skills/security/ cp -R skills/wordpress-malware-sweep ~/.hermes/skills/devops/ ``` 安装后重启 Hermes 或开启一个新的会话,以便刷新技能索引。 ## 运行 WordPress 扫描器 凭据在运行时提供,绝不会存储在此 repository 中: ``` python scripts/scan_wordpress_account.py --help python scripts/scan_wordpress_account.py \ --host HOST --user USER --password PASSWORD --json ``` 在进行清理操作时,请首先查看试运行(dry-run)报告,然后明确添加由 `--help` 记录的清理标志。 ## 开发与验证 技能 frontmatter 会在推送(pushes)和拉取请求(pull requests)时自动验证。使用以下命令在本地运行相同的检查: ``` python scripts/validate_skill_frontmatter.py ``` ## 版本控制与发布 发布通过 Git 标签和 GitHub Releases 进行跟踪。最初的合并版本为 `v1.1.0`;后续的更改应根据语义化版本控制(semantic versioning)递增版本号。 ## 安全 请不要在公开的 issues 中报告漏洞。有关报告流程,请参阅 [`SECURITY.md`](SECURITY.md)。 ## 许可证 MIT。详见 [`LICENSE`](LICENSE)。
标签:AI智能体, DNS 反向解析, WordPress, 内存分配, 恶意软件清理, 数字取证, 自动化脚本, 运行时防御, 逆向工具