The three choices an organization uses to turn a verdict into allow or block.
A verdict that nobody is obliged to follow is a report. Policy is the rule that makes the verdict obligatory, and the admin portal is where an administrator writes that rule. PexLens keeps one policy for the organization, and every machine where Pulse is installed inherits it. There is not a different rule for every project, and there is not a release stage that quietly means something else. If two teams need two rules, they are describing two decisions. PexLens will apply the one policy you wrote.
The policy is enforced in two places. At install time, a developer runs the ordinary command, such as npm install <package>. Because Pulse has changed the system registry, that command asks the PexLens repository. PexLens applies this policy. An allowed package is downloaded from that repository. A blocked package is not downloaded, and the person at the machine is alerted. The same thing happens for every ecosystem PexLens supports. Pulse also scans projects that already exist, so a package installed before Pulse arrived is still judged. For npm, that scan is node_modules. For the other ecosystems, it is the folder of packages already installed in the project. A developer does not have to run a fresh install before that project can be checked. Changing the policy in the portal changes the next install and the next scan. You do not reinstall Pulse to pick a new rule.
In the portal you can also see the packages PexLens has marked malicious, and the installs that were blocked. That view is how you confirm the rule is the one the machines are living. Policy does not rescore the package. The score still means what How the score works says it means. Policy decides what your organization does with that meaning. Pulse is how the machine is made to ask.
Three choices
- Block malicious verdicts. This is on by default. A version in the malicious band is blocked. Leave this on unless you are consciously accepting installs that PexLens has classified as attacks, which is not a configuration to “try for a week.”
- Block suspicious verdicts. This is off by default. A version in the suspicious band is allowed until an admin turns the block on. The default exists so you can learn what the middle band looks like in your actual dependencies before you stop builds on it. It is not a statement that suspicious packages are acceptable forever.
- Always block these names. A package on this list is blocked even when its verdict is benign. Use it for names you have retired, names that impersonate something you use, or names you have decided not to accept regardless of the current score.
Organization admins change these choices. Members do not. If a developer needs an exception, the exception is a policy change or a different version, not a local override that the next person cannot see.
How the default behaves
On the first day, with the default policy, a malicious version fails the gate and a suspicious version does not. That will feel inconsistent if you expected every non-safe score to block. It is consistent with the bands. Malicious means “do not install.” Suspicious means “read this.” Reading cannot happen if the build is already dead, and blocking cannot be selective if every medium score is fatal. Turn on suspicious blocking when your team has a habit of reading the evidence and a way to respond the same day. Until then, the decision history still shows that a suspicious version was allowed, so the allowance is visible.
The name list
The name list is absolute. It wins over a benign verdict. That is the point. A package can be technically “safe” this week and still be a name you will not take, because of a past incident, a licensing fight you handle elsewhere, or a lookalike you do not want in the tree. Write the name the way the package is named in its registry. A vague entry does not block the real package, and it does not block the lookalike you were thinking of.
The list is not a place to encode a whole vulnerability standard. “Block everything with a CVE” is not a name. Vulnerability handling stays with the verdict and with your patch process. The name list is for names.
A language for the rules you write down
The risk catalog names the behaviors PexLens can describe, such as code execution, install scripts, and network access during install. Each behavior has a suggested stance of block, warn, or audit. Use that catalog when you write an internal standard, so the standard and the product use the same words. The three choices above are what PexLens enforces. The catalog does not add a fourth switch.
See Allow or block for the decision a person receives, and Decision history for the record of those decisions.
