skills/mukul975/anthropic-cybersecurity-skills/deploying-osquery-for-endpoint-monitoring/Gen Agent Trust Hub
deploying-osquery-for-endpoint-monitoring
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript executes theosqueryicommand-line utility viasubprocess.runto perform system audits. The queries are sourced from a hardcoded dictionary within the script, and CLI arguments are constrained to specific choices from that dictionary, which prevents arbitrary command injection. - [EXTERNAL_DOWNLOADS]: The
SKILL.mdfile provides instructions to download and install osquery from its official package repositories (e.g.,pkg.osquery.io). These are well-known, trusted sources for the security software being deployed. - [INDIRECT_PROMPT_INJECTION]: The skill's scripts (
scripts/agent.pyandscripts/process.py) ingest and analyze system state data (process names, network sockets, logs). While this data is externally influenced, it is processed as structured JSON for reporting and manual analysis, following safe data handling practices for this domain.
Audit Metadata