| शीर्षक | 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) |
|---|
| सबमिशन | 13/04/2026 04:31 AM (2 महीनों पहले) |
|---|
| संयम | 29/04/2026 12:44 PM (16 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 360121 [NousResearch hermes-agent 0.8.0 tools/file_tools.py _check_sensitive_path अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|