Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .aignt-os/runs/runs.sqlite3
Binary file not shown.
1 change: 1 addition & 0 deletions .aignt-os/runtime/adapter-circuit-breakers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"codex": {"tool_name": "codex", "consecutive_operational_failures": 1, "opened_at": null, "cooldown_until": null}}
23 changes: 23 additions & 0 deletions .github/workflows/security-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Security Review

permissions:
pull-requests: write
contents: read

on:
pull_request:

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 2

- uses: anthropics/claude-code-security-review@main
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Mar 31, 2026

Choose a reason for hiding this comment

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

P1: Pin anthropics/claude-code-security-review to a specific commit SHA instead of @main. A mutable branch ref means a compromise or force-push to the upstream repo would silently execute arbitrary code with your CLAUDE_API_KEY secret and PR write access.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/security-review.yml, line 19:

<comment>Pin `anthropics/claude-code-security-review` to a specific commit SHA instead of `@main`. A mutable branch ref means a compromise or force-push to the upstream repo would silently execute arbitrary code with your `CLAUDE_API_KEY` secret and PR write access.</comment>

<file context>
@@ -0,0 +1,23 @@
+          ref: ${{ github.event.pull_request.head.sha || github.sha }}
+          fetch-depth: 2
+
+      - uses: anthropics/claude-code-security-review@main
+        with:
+          comment-pr: true
</file context>
Fix with Cubic

with:
comment-pr: true
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}

Loading
Loading