How known supply-chain malware patterns raise attention without convicting a package on their own.
A large share of open-source malware is not novel. It is a familiar shape: a dependency that fetches a payload during install, metadata that runs code the reader does not expect, or a package whose name exists so people will confuse it with a popular project. PexLens matches packages against these patterns and keeps each match so you can see which pattern fired and which other packages hit it.
The match is a lead with a name. It is not, by itself, a conviction. Static analysis covers more layouts and carries more weight in the verdict. A pattern match raises attention and corroborates whatever else you find.
Where they apply
These pattern checks are produced for Python, JavaScript, Go, and Ruby packages. That is where this family of attacks is concentrated in the catalog. Static analysis still covers a wider set of layouts, including Rust build scripts and .NET build files. If you are reviewing a crate or a NuGet package, do not decide it is uncovered because this particular pattern set had nothing to say. Read the static findings.
How to use a match
Open the pattern and read what it is looking for, in words a reviewer can repeat. Then see the other packages that matched. A pattern that hits one obscure name and a pattern that hits half the catalog are not the same kind of evidence. Broad patterns are context. Specific patterns, especially next to a new install script or a version diff, are the review.
Confirm the behavior in the static findings or in the behavioral report before you block a package your build depends on. If the pattern is right and the files show the download, you do not need a second product to agree with you. If the pattern fired on a comment or a test fixture, say so and leave the verdict where the rest of the evidence puts it.
What a match is for in an incident
During an incident, the pattern is a way to fan out. You found one package. The pattern shows you the others that look like it. Work that list back through Threat assessment rather than assuming every match is the same campaign. Similar structure is a hypothesis. The verdict is the decision for each version.
