How malware signatures match package files and captured behavior, and how to tell a useful hit from a noisy one.
A signature is a pattern over file contents. It answers a narrower question than static analysis. Static analysis is looking for classes of supply-chain behavior. A signature is looking for a specific arrangement of bytes or text that you, or PexLens, already decided was worth naming. When it hits, you know that arrangement was present. You do not automatically know that the package is an attack.
Two places a signature can hit
A static match reads the package itself: the archive as it was published. A dynamic match reads output captured when the package runs. Use the static hit when the payload is sitting in the files. Use the dynamic hit when the package unpacks, decodes, or downloads the interesting part only after it starts. A version can have one, the other, or both. Say which one you mean in the review, because they imply different next steps.
What a hit means
A useful signature describes behavior you have already confirmed: a particular dropper, a particular callback, a string that has no honest reason to be in a library. A broad signature also matches installers, fixtures, and documentation. People learn to ignore a queue full of those hits, and then they ignore the one that mattered.
An exact high-confidence signature can place the version in the malicious band on its own. Other hits contribute to the score and wait for corroboration from static analysis, behavior, or threat intelligence. If you cannot explain the hit in a sentence, treat it as a question, not as a block.
How to read hits
Review hits on one version when you are deciding that release. Review hits across the catalog when you are hunting a campaign and you want every package that contained the same pattern. A written review can summarize why a trigger matters. Confirm that summary against the file or the captured behavior before you act. The paragraph is a guide to the evidence. The evidence is the finding.
