The GitHub Actions job "Required Checks" on texera.git/feat/agent-ownership has 
failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
91b7223fb1dd2bb65266317a8e7d0ef3562bb275 / Jiadong Bai 
<[email protected]>
feat(agent-service): scope agents to their verified owner

Any caller could list every user's agents and read or drive any of them: the
agent list was not per user, routes and the websocket looked an agent up by id
alone, and the one token check, at creation, only decoded the token.

The service now verifies a token's HS256 signature with the secret the
dashboard service signs it with (AUTH_JWT_SECRET, defaulting to auth.conf's
value as the backend does) before trusting its claims. Each agent records the
user who created it. Every /agents route requires the token, the list returns
the caller's agents only, and a route or websocket naming another user's
agent answers as for an agent that does not exist.

The frontend sends the token in the agent websocket's query, as the workflow
websocket does, and the Kubernetes chart passes the secret to the service.

Report URL: https://github.com/apache/texera/actions/runs/44827762287

With regards,
GitHub Actions via GitBox

Reply via email to