Commit Graph
6 Commits
Author SHA1 Message Date
Devika Verma c6a809a69a Merge branch 'main' into security/persona-git-url-validation 2026-10-05 14:10:42 +05:30
Rohit C Prasad 80d57667b6 Coworkers: models per coworker, reviewer and lead personas, team store
A coworker lists its models in order; reviewer and lead coworkers ship.
Declared connectors and models are a default for a worker, not a ceiling.
2026-09-17 12:19:11 -07:00
coderdailyoneandClaude Opus 5 6238cc9394 security: reject non-https persona git_url before cloning (ext:: RCE / option injection)
POST /v1/personas/install passed git_url to `git clone` with no scheme
allowlist, no `--` separator, and no protocol restriction. Git runs
arbitrary code at clone time — BEFORE the install consent gate — for:

  ext::sh -c <cmd>        (ext transport executes the "URL" as a command)
  --upload-pack=<cmd>     (a "-"-leading URL is parsed as a git option)

Both bypass the module's own "install is a light trust event" promise,
and chain with the artifact-preview XSS (same-origin script + stolen API
token -> this endpoint -> RCE).

Fix: validate_git_url() allows only https:// and runs at the
clone_persona_repo chokepoint (before any clone, even an injected one).
git_clone additionally pins the transport (protocol.allow=never +
protocol.https.allow=always) and ends option parsing with `--`.

Fixes #521

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CLxsdFGXjdztTRNHjNgPXP
2026-08-26 05:19:31 -07:00
Rohit C Prasad 1299760400 Personas: requires_folder/subagents/scheduling traits replace family and the workspace enum
Manifest keeps a legacy family shim; telemetry wire fields unchanged.
No behavior change; spec in ocw-context/docs/workspace-scratch-design.md.
2026-08-20 21:19:56 -07:00
Rohit C Prasad 4ed112b8eb Connectors become a per-coworker allowlist (OPE-93)
Sessions expose declared-and-connected only; 'all' is builtin-only; legacy true
migrates to the recommended refs, else nothing. Consent lists real names and
per-connector caps force re-consent when an update widens the grant.
2026-08-15 10:34:43 -07:00
Rohit C PrasadandDevika 2b45018ffa OpenWorker: initial import
Imported from andrewyng/aisuite@1b4bbf303e
(contents of its platform/ directory, hoisted to the repo root).
Development history prior to this commit lives in that repository.

Co-authored-by: Devika <devikaverma11@gmail.com>
2026-07-21 11:09:41 -07:00