| 제목 | NousResearch hermes-agent 0.8.0 Path Write Protection Bypass |
|---|
| 설명 | The write_file and patch tools in hermes-agent include a sensitive path protection mechanism that blocks writes to system directories (e.g., /etc/, /boot/). However, on macOS, /etc is a symlink to /private/etc. The protection check uses os.path.realpath() to resolve the target path, which transforms /etc/hosts into /private/etc/hosts. Since the blocklist only contains /etc/ (not /private/etc/), the check fails to match, and writes to system configuration files are allowed on macOS. |
|---|
| 원천 | ⚠️ https://github.com/NousResearch/hermes-agent/issues/8734 |
|---|
| 사용자 | Yu_Bao (UID 89348) |
|---|
| 제출 | 2026. 04. 13. AM 04:31 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 04. 29. PM 12:44 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 360121 [NousResearch hermes-agent 0.8.0 tools/file_tools.py _check_sensitive_path 권한 상승] |
|---|
| 포인트들 | 20 |
|---|