Skip to content

Dev to main#627

Merged
alibabaedge merged 3 commits into
mainfrom
dev
May 26, 2026
Merged

Dev to main#627
alibabaedge merged 3 commits into
mainfrom
dev

Conversation

@alibabaedge

Copy link
Copy Markdown
Member

No description provided.

m1amgn and others added 3 commits May 26, 2026 11:42
PR trees are attacker-controlled and run through `claude` on a self-hosted
runner with clean: false. A PR carrying .claude/settings.json (SessionStart
hooks) or .mcp.json (MCP servers) would execute arbitrary commands as the
runner user. Remove those files after checkout (after rebase in pr-fix to
avoid dirtying the tree) and load the fullstack.md persona from the trusted
origin/dev blob instead of the PR tree to prevent system-prompt injection.
fix(ci): strip attacker-controlled Claude/MCP config in PR workflows
@alibabaedge alibabaedge merged commit e9671e1 into main May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants