fix: block direct skill transfers under moderation#2282
fix: block direct skill transfers under moderation#2282vyctorbrzezowski wants to merge 4 commits into
Conversation
|
@vyctorbrzezowski is attempting to deploy a commit to the Amantus Machina Team on Vercel. A member of the Team first needs to authorize it. |
|
Codex review: needs changes before merge. Reviewed May 24, 2026, 4:44 PM ET / 20:44 UTC. Summary Reproducibility: yes. Current-main source inspection shows the broader transfer paths lack the new moderation guard, and the PR-head unit job gives a high-confidence reproduction of the current blocker with Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge Security Review findings
Review detailsBest possible solution: Keep the shared moderation-transfer guard, repair the red rate-limit fixture, and merge only after maintainers explicitly accept the fail-closed ownership-transfer policy. Do we have a high-confidence way to reproduce the issue? Yes. Current-main source inspection shows the broader transfer paths lack the new moderation guard, and the PR-head unit job gives a high-confidence reproduction of the current blocker with Is this the best way to solve the issue? No, not as-is. The shared guard is a maintainable direction, but the branch still needs the failing fixture repaired and maintainer acceptance of the compatibility-sensitive fail-closed policy. Full review comments:
Overall correctness: patch is incorrect Codex review notes: model gpt-5.5, reasoning high; reviewed against 963b0a571943. Label changesLabel justifications:
Evidence reviewedAcceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
c117cdb to
1065c0b
Compare
1065c0b to
e299a5d
Compare
e299a5d to
c7bd672
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
c7bd672 to
ef514a4
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
98b5244 to
4eb0f2b
Compare
Summary
Prevents moderated skills from changing owners. Direct transfers, accepted transfer requests, admin owner changes, and publish-time owner migration now all wait until moderation is cleared.
What changed
Public behavior
Direct transfers and accepted pending transfers fail explicitly when the skill is under moderation. They do not silently move ownership while the skill is hidden, removed, suspicious, or malicious.
Unauthorized actors are still rejected before moderation state is revealed.
Behavior proof
Live Convex runtime proof from both ownership-transfer paths:
This proof creates a moderated skill, attempts a direct owner transfer, then attempts to accept a pending transfer. Both ownership writes are rejected; the accepted-transfer path also cancels the pending transfer instead of moving the owner.
Focused regression suite:
Validation
Current GitHub CI for this head also has
packages,types-build,e2e-http,playwright-smoke, andplaywright-local-authpassing. Thestaticjob currently stops atbun auditon the existing transitivewsadvisoryGHSA-58qx-3vcg-4xpx.