Skip to content

Add trusted plugin script attribution#35016

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6e4199a241fd6dfadfec3df0845e7cb615352a49
Jul 23, 2026
Merged

Add trusted plugin script attribution#35016
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/6e4199a241fd6dfadfec3df0845e7cb615352a49

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 23, 2026

Copy link
Copy Markdown

Add trusted plugin script attribution

What changed

  • Build a set of active, verified curated and remote plugin roots from loaded plugins.
  • Resolve direct and safely wrapped script commands to a plugin ID and normalized plugin-relative path.
  • Leave complex or ambiguous commands, local overrides, missing files, overlapping roots, and symlink escapes unattributed.
  • Add a shared validator for the safe cross-platform shape of serialized plugin-relative paths.

Testing

  • Cover trusted-root selection, supported interpreters and shell wrappers, normalized paths, and fail-closed cases.

## What changed

- Build a set of active, verified curated and remote plugin roots from loaded plugins.
- Resolve direct and safely wrapped script commands to a plugin ID and normalized plugin-relative path.
- Leave complex or ambiguous commands, local overrides, missing files, overlapping roots, and symlink escapes unattributed.
- Add a shared validator for the safe cross-platform shape of serialized plugin-relative paths.

## Testing

- Cover trusted-root selection, supported interpreters and shell wrappers, normalized paths, and fail-closed cases.

GitOrigin-RevId: 6e4199a241fd6dfadfec3df0845e7cb615352a49
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/6e4199a241fd6dfadfec3df0845e7cb615352a49 branch from f628fd8 to 5bdbd3e Compare July 23, 2026 21:50
@copyberry
copyberry Bot merged commit 5bdbd3e into main Jul 23, 2026
19 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/6e4199a241fd6dfadfec3df0845e7cb615352a49 branch July 23, 2026 21:51
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants