Skip to content

ci: add PolinRider malware scan on every push and PR - #475

Merged
presidojay1 merged 1 commit into
mainfrom
ci/polinrider-malware-scan
Oct 29, 2026
Merged

presidojay1 merged 1 commit into
mainfrom
ci/polinrider-malware-scan

Conversation

@presidojay1

Copy link
Copy Markdown
Collaborator

Summary

Adds a GitHub Actions workflow (.github/workflows/malware-scan.yml) that runs on every push and pull request to every branch.

Background: In October 2026, Drips/Wave notified thousands of open-source repositories of the PolinRider malware campaign spreading through GitHub. The scan was already run manually against this repo — it came back clean. This CI check makes the protection automatic and continuous so any future attempt to introduce the payload is caught before it lands on main.

What is checked

# Indicator Description
1 Known marker strings rmcej%otb%, Cot%3t=shtP, _$_1e42 in JS/TS/JSON/HTML
2 VSCode auto-task trigger .vscode/tasks.json with runOn: folderOpen
3 VSCode auto-task permission .vscode/settings.json with allowAutomaticTasks: on
4 Suspicious font filenames fa-solid-500.woff2, fa-solid-600.eot, *.lfk, *.llf
5 Dropper payload dist/setup.js present anywhere in the tree
6 Hijacked install hook preinstall in package.json referencing dist/setup.js
7 Hijacked dev/start api.js + dev/start script beginning with node api.js &&
8 Config file payload appending Substantial code after export default in any of the 6 known config file types
9 Binary blobs as fonts .woff/.woff2/.eot/.ttf files that fail font magic-byte validation

Any hit fails the job with a file-annotated ::error pointing to the exact file.

Test plan

  • Merge → CI runs clean on main (repo was manually verified clean)
  • Drop a file containing _$_1e42 into a test branch → CI fails and annotates the file

Adds a GitHub Actions CI check on every push and pull request that scans
for all known PolinRider malware indicators: VSCode auto-task triggers,
suspicious font-file payloads, dist/setup.js droppers, hijacked
package.json lifecycle scripts, rogue api.js injection, config-file
payload appending after export default, and known marker strings
(rmcej%otb%, Cot%3t=shtP, _$_1e42).
@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stellarticketsbackend ready!

Name Link
🔨 Latest commit fac6d6d
🔍 Latest deploy log https://app.netlify.com/projects/stellarticketsbackend/deploys/6ae3a8bf1a05daa1d5589012
😎 Deploy Preview https://deploy-preview-475--stellarticketsbackend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@presidojay1
presidojay1 merged commit c8e1384 into main Oct 29, 2026
6 of 11 checks 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.

1 participant