What it detects
PushWarden looks in two places: your projects and your computer. It also has general rules for the tricks this kind of malware uses, so a new campaign with new strings is still caught. For the list of families, see What it covers, and for how dangerous they are, the threats page.
In your projects
- Hidden loaders: malicious code added to config files such as
postcss.config.mjs,next.config.jsandeslint.config.mjs, or to an app’s entry file. - Fake files: a “font”, image or dictionary file that is really code.
- Auto-run tasks:
.vscode/tasks.jsonthat runs a command when you open the folder. - Git tricks: hooks and git settings that download and run code, and
.gitignorelines that hide the malware. - Spreading scripts: the scripts that commit and force-push the malware to your repositories.
- Bad packages: known compromised versions, and install scripts that download and run code.
- Hidden code: code pushed off-screen behind spaces, or written in invisible characters.
- Other tricks: AI assistant config files that run commands, GitHub Actions workflows that send out secrets, and fake job-interview spyware.
- Git history: backdated commits and old payload code (
pushwarden scan --history).
On your computer
- running malware, and connections to the attackers’ servers
- remote-access tools the malware installs
- start-up entries (cron, services, LaunchAgents, scheduled tasks, shell start-up files)
- tampered editors and tools
- exposed tokens and keys, when the computer already shows signs of infection
How to read a finding
| Level | Meaning | Acted on automatically? |
|---|---|---|
| CRITICAL | confirmed malware | yes, by your action setting |
| HIGH | strong sign, needs your decision | no |
| WARNING | worth a look | no |
| INFO | for your information | no |
Every finding has a one-line reason. Every action has a reason too. You see them in scan results, dialogs, pushwarden alerts and pushwarden history.
Threat names
Alerts use names like Windows Defender does:
| Name | What it is |
|---|---|
Trojan:JS/PolinRider.ConfigInject |
loader code inside a config file |
Trojan:JS/PolinRider.FakeFont |
a script disguised as a font |
Trojan:Script/PolinRider.TaskJacker |
an editor task that runs when you open a folder |
Trojan:BAT/PolinRider.AutoPush |
the script that force-pushes the malware |
Behavior:Node/PolinRider.Payload |
a running malware process |
Behavior:Net/PolinRider.C2 |
a live connection to an attacker’s server |
Backdoor:Script/PolinRider.Persist |
a start-up entry that keeps it alive |
Trojan:Script/Generic.AutoRun |
any task that runs by itself and downloads code |
Trojan:Script/Generic.Downloader |
a hook or install script that downloads and runs code |
Trojan:JS/GlassWorm.Invisible |
code hidden in invisible characters |
Worm:JS/ShaiHulud |
the Shai-Hulud npm worm |
If a file is flagged by mistake
pushwarden history --allow PATH --note "what this file really is"
It puts the file back and stops flagging that exact content for 30 days. To skip a whole folder, set exclude in Configuration.
Remember
- It acts on its own only when it is sure. Everything else is only reported.
- The indicator list updates daily, so new variants are often covered without a new release.
- A running process is stopped only when its command line has a marker no normal tool uses.
- Files that legitimately contain signatures (rule sets, tests) can opt out with the text
pushwarden:allow-signaturesnear the top. It is ignored in config, entry and JavaScript files.