Skip to content

security: eradicate PolinRider malware indicators and harden CODEOWNERS - #1655

Merged
Mystery-CLI merged 1 commit into
mainfrom
fix/security-remediation-polinrider
Oct 18, 2026
Merged

Mystery-CLI merged 1 commit into
mainfrom
fix/security-remediation-polinrider

Conversation

@Mystery-CLI

Copy link
Copy Markdown
Contributor

Security Incident Remediation: PolinRider Campaign Cleanup

Overview

Following notification of potential compromise via the PolinRider supply-chain malware campaign, an exhaustive audit of the repository was performed.

Findings

  • Vector & Root Cause: Traced to Pull Request Feat/drifting #1186 (\codesailor4/feat/drifting), merged on August 26, 2026. A contributor's infected environment silently appended an obfuscated JavaScript payload preceded by extensive whitespace to the last line of JavaScript/Node files in their workspace.
  • Payload Signature: \global.o='5-1485-du';var _=(function...\
  • Affected Files (11 files):
    1. \�ackend/prisma/seed.js\
    2. \�ackend/src/server.js\
    3. \ rontend/.storybook/vite.config.js\
    4. \ rontend/vite.config.js\
    5. \mutation-reports/tracker.js\
    6. \scripts/check-i18n-strings.mjs\
    7. \scripts/cleanup-test-artifacts.mjs\
    8. \scripts/pii-scan.mjs\
    9. \security/secrets-scanner.js\
    10. \security/zap-scanner.js\
    11. \ est-environments/cli.js\

Changes Made

  1. Malware Removal: Completely stripped the trailing whitespace and malicious obfuscated script from all 11 files, restoring clean endings.
  2. Repository Scan: Verified 0 occurrences of known code markers (
    mcej%otb%, \Cot%3t=shtP, _, \global['_V'], \global.o=, \5-1485-du), malicious font files (\ a-solid-*), batch files (\ emp_auto_push.bat, \config.bat), or unauthorized .vscode/tasks.json\ entries.
  3. Preventive Hardening: Updated .github/CODEOWNERS\ with explicit review requirements for .vscode/, .devcontainer/, \package.json, binary/font files, and configuration files.
  4. Access Audit: Confirmed 0 unauthorized webhooks, 0 deploy keys, and no unauthorized collaborators.

Comprehensive security remediation following Drips security audit:

- Removed hidden trailing whitespace and obfuscated PolinRider payload (global.o='5-1485-du'...) introduced in PR #1186 across 11 files:
  * backend/prisma/seed.js
  * backend/src/server.js
  * frontend/.storybook/vite.config.js
  * frontend/vite.config.js
  * mutation-reports/tracker.js
  * scripts/check-i18n-strings.mjs
  * scripts/cleanup-test-artifacts.mjs
  * scripts/pii-scan.mjs
  * security/secrets-scanner.js
  * security/zap-scanner.js
  * test-environments/cli.js
- Hardened .github/CODEOWNERS with explicit owner review rules for .vscode/, .devcontainer/, package.json, binary/font assets, and configuration files.
- Verified 0 IoCs remain across the codebase.
@Mystery-CLI
Mystery-CLI merged commit 9317f7c into main Oct 18, 2026
3 of 41 checks passed
@Mystery-CLI
Mystery-CLI deleted the fix/security-remediation-polinrider branch October 18, 2026 17:33
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