Skip to content

⚙️ Remove the cursor_fix_ci_failures workflow - #41

Merged
Miyamura80 merged 2 commits into
mainfrom
claude/festive-cori-e6o9o8
Nov 10, 2026
Merged

Miyamura80 merged 2 commits into
mainfrom
claude/festive-cori-e6o9o8

Conversation

@Miyamura80

@Miyamura80 Miyamura80 commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Deletes .github/workflows/cursor_fix_ci_failures.yml. The first commit renamed it to .yml.disabled; the second deletes it entirely, as requested.

Why

  • Dormant: it triggered on workflow_run for workflows: [Test], and no workflow here is named Test, so it has never run.
  • Unsafe to re-arm, especially on a public repo:
    • workflow_run runs with base-repo secrets even when the triggering run came from a fork PR, and there was no same-repo guard.
    • cursor-agent --force auto-approved shell commands while holding CURSOR_API_KEY and a write-scoped GITHUB_TOKEN, on attacker-controlled PR text and CI logs.
    • It installed through an unpinned curl https://cursor.com/install | bash, with no checksum to verify against.

Nothing else in the repo referenced it. If a CURSOR_API_KEY repository secret exists, delete it in Settings.

Testing

  • make -k ci: everything passes except make audit, which reports advisories that already fail on a clean origin/main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Wtx3dU8PQvgyubf6ZpNaG3

It listened for workflow_run of a workflow named "Test", which does not
exist here, so it has never run. If armed it would let an auto-approving
LLM agent with CURSOR_API_KEY and a write token act on fork-PR text and
logs, after piping an unpinned installer into bash. Rename to
.yml.disabled, add a same-repo/pull_request/non-dependabot guard, and
document what must change before re-enabling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wtx3dU8PQvgyubf6ZpNaG3
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

It was dormant (triggered by a non-existent "Test" workflow) and unsafe to
re-arm: workflow_run with secrets on fork PRs, an auto-approving agent with a
write token on attacker-controlled input, and an unverifiable curl | bash
installer. Deleting it rather than keeping a .disabled copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wtx3dU8PQvgyubf6ZpNaG3
@Miyamura80 Miyamura80 changed the title ⚙️ Disable dormant cursor_fix_ci_failures workflow ⚙️ Remove the cursor_fix_ci_failures workflow Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Cargo Deny failure is not this PR's.

  • What fails: the Cargo Deny job fails on advisories because of RUSTSEC-2026-0441, which marks pin-utils as unmaintained.
  • Why it isn't this PR: this PR only deletes a disabled workflow file. The advisory was published after main's last green Rust Checks run (Nov 1), so main fails the same way now. I reproduced it locally with cargo deny check advisories. It also hits Rust-Template, Catan-Evals and Tauri-Template.
  • Fix: none exists upstream yet ("No safe upgrade is available"). pin-utils comes in transitively through the async stack, and it is an unmaintained notice, not a vulnerability.
  • Proposed patch, kept out of this PR so it stays a single-purpose deletion: add it to the ignore list in deny.toml with a reason, matching how the repo already handles unmaintained transitives:
    "RUSTSEC-2026-0441", # pin-utils unmaintained; transitive via futures-util, no maintained replacement upstream yet

Generated by Claude Code

@Miyamura80
Miyamura80 merged commit 17ae1d0 into main Nov 10, 2026
7 of 8 checks passed
@github-actions
github-actions Bot deleted the claude/festive-cori-e6o9o8 branch November 10, 2026 13:19
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