Skip to content

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

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

repo: workflow and MCP hardening from the security audit#6
xor-machine merged 1 commit 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
@xor-machine
xor-machine merged commit 4f051f3 into dev Sep 1, 2026
1 check passed
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