# NousResearch/hermes-agent · Skills trust-level prefix-match security hardening

## Open now

- Nothing open on GitHub.

These items address a vulnerability where attacker-controllable skill identifiers could exploit prefix-matching logic in skills_guard to obtain elevated trust tiers. The work focuses on tightening trust-level assignment by enforcing exact or subpath matching and anchoring trust to verified provenance rather than identifier strings.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #31229. Verify it addresses your case.
- **Recommended:** read PR #31229 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-31229`. 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.

## Closed / duplicate issues

- #31141: security: skills_guard._resolve_trust_level prefix-match grants trusted tier to attacker-controlled identifiers

## Prior & competing PRs

- **#31229: fix: harden skill trust source matching**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/skills_hub.py`, `tests/hermes_cli/test_skills_hub.py`, `tests/tools/test_skills_guard.py`, `tools/skills_guard.py`
- **#31146: fix(security): use exact-or-subpath match for skills_guard trusted-repo tier**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `93660643a`, `#31229`
- **#31153: security(skills): prevent prefix-match trust level bypass**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#31146`, `#31141`

## Fix status

- Merged to main in PR #31229 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-05-25`.
- Subsystem: `skills`
