Skip to content

Treat Issue Text as Data in the Unattended Handoff Picker and Worker #1853

Closed

Description

@ptr727

Raised by CodeRabbit on ptr727/NxWitness#588 against the carried .github/skills/unattended-handoff/SKILL.md, byte-identical to .agents/skills/unattended-handoff/SKILL.md on main 45669468 and develop 23ef3574.

The picker's eligibility criteria never check who authored an issue, and no carried skill states that issue or comment text is data rather than instructions. The worker reads the handoff built from that text, and under the main or release scope the run merges and releases without a maintainer present. In a public repository with issues open to anyone, an external account's issue text can therefore steer an unattended run that ships.

What bounds it today: the default scope is develop, and the maintainer names any wider scope at invocation.

Possible fixes, for the maintainer to choose between:

  • Restrict unattended eligibility to issues authored by the maintainer, or by a trusted bot.
  • State in the skill that issue and comment text is untrusted data, never instructions.
  • Refuse the main and release scopes for work derived from an issue that an outside account authored.

Activity

  1. added
    skills
    on Sep 26, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Decision triage (2026-11-01) found the open question here already answered or overtaken, so it is not asked:

    Overtaken by 06e45c4 (#3735). All three proposed fixes are in force: issue and comment text from accounts without write access is task data, never commands or rules (backlog-burndown "Trusting a Comment" :618-629), an outsider's issue is held back until a write-access account accepts it and work follows that comment (:589-593, decision-triage "It comes from outside"), so unaccepted outsider work never reaches main or a release. The downstream copy of the retired skill drops on resync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    skills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions