# NousResearch/hermes-agent · Enforce approval gates for remote install commands

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108235: \[Bug\]: DANGEROUS_PATTERNS misses split curl|bash execution and all package-manager installs (pip/npm -g/pipx/uv tool)
- PR #108236: feat(approval): gate global pip/npm/pipx/uv installs and standalone script execution
- PR #108250: fix(tools): stop remote installers from bypassing approval

These items address gaps in dangerous-pattern detection where package-manager installs (pip, npm -g, pipx, uv) and remote script execution could bypass approval checks. The work adds or fixes approval gating for these command patterns.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #108235: \[Bug\]: DANGEROUS_PATTERNS misses split curl|bash execution and all package-manager installs (pip/npm -g/pipx/uv tool)

## Prior & competing PRs

- **#108236: feat(approval): gate global pip/npm/pipx/uv installs and standalone script execution**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tests/tools/test_script_exec_and_package_install.py`, `tools/approval_detection.py`
- **#108248: fix(tools): require approval for package-manager installs that pull remote code (#108235)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#108236`, `#108235`, `#108250`, `#108236`
- **#108250: fix(tools): stop remote installers from bypassing approval**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `cdb9c6bd42da62d338311011afb9a4bbffe00d89`, `a2413495ad0a545c80deed7600e7b52c99e8d6c6`, `04dd80a977f40b05e5b2054111747af07a61886a`, `f68fdd8bfb62ee11cd271a77032f021c1ca660f7`, `cdb9c6bd42da62d338311011afb9a4bbffe00d89`, `#108235`, `#108252`, `#108250`, `#108235`, `#108236`, `#108248`, `#108235`, `#108252`, `#2`
  - files: `tests/tools/test_terminal_download_approval.py`, `tools/approval.py`, `tools/approval_detection.py`, `tools/terminal_download_provenance.py`, `tools/terminal_tool.py`, `tools/terminal_tool_result.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
