skills/mukul975/anthropic-cybersecurity-skills/configuring-host-based-intrusion-detection/Gen Agent Trust Hub
configuring-host-based-intrusion-detection
Fail
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: HIGHDATA_EXFILTRATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/agent.pyaccesses several sensitive system files to perform integrity checks. - The
check_file_integrityfunction reads files such as/etc/shadow,/etc/sudoers, and/etc/ssh/sshd_configto compute SHA-256 hashes. - While these checks are restricted to computing hashes and are standard for File Integrity Monitoring (FIM) tools, the act of reading these files involves processing sensitive system data.
- Additionally, the script allows bypassing TLS verification via an environment variable, which could expose API communications to interception.
- [COMMAND_EXECUTION]: The script
scripts/agent.pyexecutes system commands via the subprocess module. - The
run_osquery_checkfunction executes theosqueryibinary to gather host information. - Currently, the query used is hardcoded to list root processes, which is a benign administrative task.
- [EXTERNAL_DOWNLOADS]: The
SKILL.mdfile provides instructions to download and install security software from official sources. - Fetches the Wazuh GPG key and agent package from the official
packages.wazuh.comrepository. - Downloads the Windows MSI installer for Wazuh from the same official domain.
- [PROMPT_INJECTION]: The skill processes external data which creates a surface for indirect prompt injection.
- Ingestion points:
scripts/process.pyparses alert files, andscripts/agent.pyconsumes data from the Wazuh API. - Boundary markers: None identified in the processing logic.
- Capability inventory: The skill can execute subprocesses (
osqueryi) and read system files. - Sanitization: No explicit validation or sanitization of external data before use in logs or outputs was observed.
Recommendations
- HIGH: Downloads and executes remote code from: https://packages.wazuh.com/key/GPG-KEY-WAZUH - DO NOT USE without thorough review
Audit Metadata