Skip to content

Add ThreatCrush CI workflow (staged at docs/ pending rename) - #2

Merged
ralyodio merged 1 commit into
masterfrom
ci-workflow
Aug 1, 2026
Merged

Add ThreatCrush CI workflow (staged at docs/ pending rename)#2
ralyodio merged 1 commit into
masterfrom
ci-workflow

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

The file belongs at .github/workflows/threatcrush-scan.yml. It is staged here because the pushing token lacks the workflow OAuth scope; GitHub blocks any token-based write to .github/workflows/. Rename this file in the GitHub web UI to move it into place.

Test Case Submission

  • I have read docs/CONTRIBUTING.md
  • This test case is non-destructive — no disk, network, or process side effects
  • Every payload is behind a dead-code guard (if (false), if False:, NEVER_RUN, …)
  • Every host literal uses a reserved domain (.invalid, .example, example.com)
  • Any credential is a published example value or a structurally valid dead placeholder
  • I have included all required metadata (@id, @cwe, @severity, @language,
    @expected-detection, @description, @safe-guard)
  • I marked the expected lines with VULNERABLE: and any correct-code lines with SAFE:
  • I ran scripts/validate-test-case.sh and it passed
  • I regenerated the catalog (python3 scripts/generate-catalog.py) and committed the result

Details

  • Vulnerability type:
  • CWE ID:
  • Language:
  • Expected detection: Yes / No
  • Why this pattern matters:

Safety statement

Explain, in your own words, why this submission cannot cause harm if someone
checks it out and runs the repository. Point at the specific guard.

Scanner result

Leave blank on submission — CI fills this in. After the run, confirm whether
ThreatCrush detected the case and note any surprise (missed detection, or a
SAFE: line flagged).

The file belongs at .github/workflows/threatcrush-scan.yml. It is staged here
because the pushing token lacks the `workflow` OAuth scope; GitHub blocks any
token-based write to .github/workflows/. Rename this file in the GitHub web UI
to move it into place.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 67b8cb7 into master Aug 1, 2026
2 checks passed
@ralyodio
ralyodio deleted the ci-workflow branch August 1, 2026 03:33
ralyodio added a commit that referenced this pull request Aug 1, 2026
Relocates the workflow staged at docs/threatcrush-scan.yml in #2 to the path
GitHub Actions actually reads. No content change.

Co-authored-by: Claude <noreply@anthropic.com>
ralyodio added a commit that referenced this pull request Aug 1, 2026
Staged outside .github/workflows/ because the pushing token lacked the
workflow OAuth scope. Moved into place in #3.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ralyodio added a commit that referenced this pull request Aug 1, 2026
Relocates the workflow staged in #2 to the path GitHub Actions reads.
No content change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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