Opens in a new tab
PexLens logo
PexLens logo
Pricing
Add your offcanvas content in here
Add your offcanvas content in here

From analysis to verdict

How a package version is identified, analyzed, scored, and then allowed or blocked.

You do not run each check by hand, and you do not assemble the verdict yourself. PexLens identifies a version, analyzes it, combines the checks that finished, and applies your organization policy when you need a yes or no. This page is the map. The later guides explain each check in detail.

Identify the version

A version enters the catalog in one of three ways. PexLens ingests it from a public registry it covers. Your team supplies an archive, because the version is private or not ingested yet. Or a research article you submit names packages, and those names become work to analyze. Until the files exist, PexLens can tell you whether the name is known. It cannot tell you what the code does.

Identity is registry, name, and version. Leave the version off only when you truly want the latest stored release. For a build, name the version the lockfile resolved.

Analyze it

Several checks can run on the same version. Each one answers a different question, and none of them is a substitute for the others.

  • Static analysis reads the files without running them. It is looking for install scripts, code that runs on import, build hooks, obfuscation, impersonation, and model files that are unsafe to load.
  • Behavioral analysis runs the package in isolation and records processes, files, name lookups, and install hooks. It is heavier, so it is not required for every first look.
  • Malware patterns and Signature matching ask whether the package resembles attacks that are already described.
  • Vulnerabilities ask whether this release is already published as vulnerable. That is a patch decision unless a feed classifies the package as malicious.
  • Indicators collect URLs, email addresses, and wallet strings so an investigation can start from a clue.
  • Version changes show what appeared in this release that was not in the previous one.

A written review can explain a signature hit or a version change for Python and JavaScript packages. It helps a person read. It does not replace the verdict. If that explanation is not enabled, the other checks still stand.

Combine the results

Finished checks become one score from 0 to 100. Behavior observed at runtime, and a match to known threat intelligence, carry the most weight. Static findings are next. A signature, a malware-pattern match, or a suspicious diff can raise the score. They do not, by themselves, mark a package malicious unless the match is an exact high-confidence hit.

A published vulnerability is a reason to patch. It is not automatically a supply-chain attack. If a vulnerability feed or a threat feed already classifies the package as malicious, the verdict stays in the malicious band so a known attack is not labeled safe. Repeated weak findings do not add up into that band. An informational note stays informational.

This is why a clean result from one check does not wipe out another. A package can run quietly in isolation and still contain a malicious install script that static analysis already found. The score keeps the strong result. The full rules are in How the score works.

Decide

The score describes the package. Your policy describes the organization. Malicious versions are blocked by default. Suspicious versions are allowed until an admin turns that block on. A name on the block list is always blocked, even when the verdict is benign. Every allow or block is written down with the person, the version, and the reason.

On a machine where Pulse is installed, this decision is applied in two places. When someone installs, the package manager requests the version from the PexLens repository. An allowed version is downloaded. A blocked version is not downloaded, and the person who ran the command is alerted. When a project already exists, Pulse scans the packages installed in it — node_modules for npm, and the equivalent installed-package folder for every other supported ecosystem — and reports a blocked package that is already there. The portal is where an administrator sees the package marked malicious, the blocked install, and the result of that scan. The developer does not have a separate approval step that can be skipped while the public registry still answers, and they do not have to reinstall the project before the existing tree can be checked.

If the verdict says analysis is still running, the decision is incomplete. Wait and read it again. Do not record “still running” as a permanent allow, and do not treat an unfinished verdict as a block or an allow unless your own process says to wait.

Two examples

A widely used HTTP library ships a bugfix. Static analysis sees ordinary library code. No install script appeared. No malware pattern matches. A vulnerability from last year is already fixed in this version. The score stays in the safe band. On a machine with Pulse, npm install or the equivalent command downloads that version from the PexLens repository and finishes. You can still record the verdict next to the change if a reviewer wants the evidence.

A small utility you have used for a year publishes a new version with an install script that downloads a second file. Static analysis flags the script. The version comparison shows the script was not in the previous release. The score moves into the malicious band. PexLens marks the version malicious. The default policy blocks it. The next person who runs the install on a machine with Pulse does not receive the archive. They are alerted, and the package is not added. In the portal, an administrator sees the malicious marking and the blocked install. The safer release, if PexLens names one, is what they install instead. The vulnerability list may be empty. That does not make the version safe. The attack is the new behavior, not a CVE.