{"repo":"NousResearch/hermes-agent","public_id":"84551","display_label":"Unwrap shell wrappers before dangerous command detection","summary":"These items address a bug where commands wrapped in shells like `sh -c`, `env --split-string`, `timeout`, or `bash -c` bypass the dangerous command approval gate. The fixes add logic to scan and unwrap such wrappers before detection runs.","subsystem":"agent","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":1,"closed_issues":0,"merged_prs":0,"attempt_prs":2},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[],"members":[{"kind":"issue","number":84551,"title":"[Bug]: detect_dangerous_command does not unwrap timeout / bash -c wrappers, bypassing the approval gate","url":null,"state":"open"},{"kind":"pr","number":58742,"title":"fix(approval): scan commands carried by sh -c and env --split-string","url":null,"state":"open","close_reason":{"refs":[{"kind":"commit","value":"86095b2f4","number":0}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":84577,"title":"fix(approval): unwrap command wrappers before detection (#84551)","url":null,"state":"closed","close_reason":{"category":"stale_abandoned","implication":"active"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}