Skip to content

repo: workflow and MCP hardening from the security audit - #9

Merged
xor-machine merged 3 commits into
devfrom
repo/hardening
Sep 1, 2026
Merged

repo: workflow and MCP hardening from the security audit#9
xor-machine merged 3 commits into
devfrom
repo/hardening

Conversation

@xor-machine

Copy link
Copy Markdown
Contributor

Audit findings applied: token permissions read-only, checkout credentials not persisted, actions SHA-pinned, Serena pinned to the audited commit. Same change in all seven repos.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XehTac5TJNmPAskwrPp7rJ

Findings applied from the independent audit (CHANGES verdict):
workflow-level permissions contents:read; persist-credentials false
on checkout; every action pinned to a reviewed commit SHA with its
tag in a comment; Serena pinned in .mcp.json to the audited git
commit instead of floating uvx resolution.

Finding: [P1] workflows ran with default token permissions
Finding: [P1] .mcp.json launched unversioned uvx serena
Finding: [P2] mutable action tags across all repositories
Verified: python yaml.safe_load + json.load on the changed files

Source: original
Co-Authored-By: GPT-5 Codex <noreply@openai.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Reviewed-by: GPT-5 Codex <noreply@openai.com>
Claude-Session: https://claude.ai/code/session_01XehTac5TJNmPAskwrPp7rJ
xormania and others added 2 commits September 1, 2026 13:46
First real CI run on this repo: composer validate --strict rejects
flex-require as outside the publish schema, but flex-require is how
a Flex seed declares its composition and the create-project step is
this repo's real oracle. Plain validate keeps schema checking
without denying the seed its mechanism.

Source: original
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XehTac5TJNmPAskwrPp7rJ
Plain validate still exits 2 on publish-schema errors, and
flex-require is exactly a publish-schema complaint. The flag skips
only that check; schema and structure checks remain, and
create-project stays the real oracle.

Source: original
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XehTac5TJNmPAskwrPp7rJ
@xor-machine
xor-machine merged commit 5a6012f into dev Sep 1, 2026
1 check passed
@xor-machine
xor-machine deleted the repo/hardening branch September 1, 2026 17:50
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