Skip to content

ci: add malware indicators guard workflow - #785

Merged
davedumto merged 1 commit into
devfrom
chore/malware-indicators-guard
Oct 22, 2026
Merged

davedumto merged 1 commit into
devfrom
chore/malware-indicators-guard

Conversation

@davedumto

Copy link
Copy Markdown
Member

Adds an automated check for the indicators circulated in the recent Wave malware advisory.

What it does:

  • Runs on every PR open, update, and reopen.
  • Reads the PR's changed files and diff through the GitHub API only. It never checks out the PR's branch, so a malicious PR cannot get its own code executed by this workflow.
  • Flags and auto-closes PRs that match any of the advisory indicators:
    • Changes to .vscode/tasks.json or .vscode/settings.json
    • A new dist/setup.js or root api.js
    • Suspicious fa-solid font files
    • Known obfuscation markers from the advisory
    • A new preinstall script pointing at dist/
    • runOn: folderOpen tasks or allowAutomaticTasks: on settings
    • curl or wget fetches added to the diff
    • Long whitespace runs appended to config files, the pattern used to hide injected code

On a match, it posts a comment listing the matched indicators and closes the PR. If a legitimate PR is ever caught by a false positive, a maintainer can review the comment and reopen manually.

Adds a pull_request_target workflow that scans incoming PR diffs via the
GitHub API for the indicators circulated in the Wave 10 malware advisory
(suspicious vscode tasks, dist/setup.js, fa-solid font payloads, known
obfuscation markers, appended config code, preinstall hooks, and curl or
wget fetches added to a diff). Matching PRs get a comment listing the
matched indicators and are closed automatically. The workflow never checks
out the PR's code, it only reads the diff through the API, so it carries no
code-execution risk from a malicious PR.
@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vellar-sdk Ready Ready Preview Oct 22, 2026 8:59pm UTC

@davedumto
davedumto merged commit da46aea into dev Oct 22, 2026
4 of 5 checks passed
@davedumto
davedumto deleted the chore/malware-indicators-guard branch October 22, 2026 21:10

This branch was successfully deployed

1 active deployment
Preview — 0ec25c5e Deployed Oct 22, 2026 by vercel[bot]
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.

1 participant