Understand how malware is detected, classified, and scored in Endor Labs.
Endor Labs detects malware in dependencies by scanning the packages used in the project and recognizing known malicious patterns.Monitoring for known malicious packages: Endor Labs scans dependencies to identify malware by cross-referencing findings with the Open Source Vulnerability (OSV) database and data from the proprietary malware feed.Suspicious code behavior: Endor Labs uses malware detection rules and SAST rules to scan open source package dependencies for suspicious code patterns and behaviors. These rules analyze code structures, detect anomalies, and identify potential threats.Threat Center helps you track newly discovered malicious packages across all your projects. It shows which of your monitored projects each one may affect, so you can investigate before the risk reaches a project-level scan. See Review Malware to learn more.
Endor Labs provides a set of malware policies designed to identify and manage malicious or suspicious code in your project, ensuring that Endor Labs detects potential security risks early.
The OSS finding policy detects malicious code and findings in your project. You can edit the policy to change the severity and template parameters.
Configure malware action policy to specify how detected malware findings should be handled automatically, including notifications, blocking actions, and workflow triggers.
Configure malware exception policy to exclude malware findings under defined conditions. This filters out false positives and keeps the focus on critical risks.
Endor Labs classifies malware findings by how certain the match is between your dependency and a known malicious package version:
Definitely Affected: The dependency’s most recently resolved version is itself known to be malicious.
Potentially Affected: The dependency’s version constraint could resolve to a known malicious package version, even if the most recently resolved version is clean. This assessment is based on the most recent dependency resolution, so a malicious version may have already been downloaded to a build system or a developer’s machine before a new scan detects it.
Potentially affected findings catch cases the resolved version misses. Malware is often published before you re-run dependency resolution, and different environments, such as a developer laptop versus CI, can resolve the same version constraint to different actual versions.Set Potentially Affected Finding Severity in the Malware finding policy to Critical, High, Medium, or Low to raise findings for potentially affected dependencies at that severity. Set it to None to disable these findings.
New tenants have this threshold set to Low by default.
Existing tenants get it enabled automatically when Upgrade Policies to Latest Version is turned on. See Configure policy settings.
The following sections describe the permitted use of malware detection data across Endor Open Source Core (OSS Core), Open Source Pro (OSS Pro), and Package Firewall licenses.
What’s included with OSS Core / OSS Pro vs. Package Firewall
The following table summarizes the capabilities available with each license.
You want to…
OSS Core / OSS Pro
Package Firewall
See malicious packages found in your scanned repositories
✓ Included
✓ Included
Pull those findings via API into Jira, SIEM, or a dashboard
✓ Included
✓ Included
Fail a build or PR check when a scan finds malware in your code
✓ Included
✓ Included
Query Endor Labs for a package before it enters your codebase
✕ Not licensed
✓ Included
Block or gate package installation based on Endor Labs data
✕ Not licensed
✓ Included
Bulk-retrieve or mirror the Endor Labs malicious-package corpus
✕ Not licensed ¹
✕ Not licensed ¹
Redistribute Endor Labs malware data to third parties
✕ Not licensed ¹
✕ Not licensed ¹
¹ Bulk export and redistribution are outside the scope of all standard SKUs. If you have a data-integration or OEM requirement, contact your account team.
Malware detection is included with Endor Labs OSS Core and OSS Pro so that you can identify and remediate malicious packages that Endor Labs has detected in the dependencies of repositories you have onboarded and scanned. Findings for your scanned dependencies are yours to consume through the UI, the API, and CI/CD integrations, including exporting them into your own ticketing, SIEM, and reporting systems.Malware detection under OSS Core and OSS Pro is a detection capability. It is scoped to what your scans surface. It is not a license to the broader Endor Labs malicious-package intelligence corpus.
Accordingly, under OSS Core and OSS Pro you may not:
Retrieve, enumerate, or cache malware or malicious-package records that are not associated with a dependency identified in one of your own scanned repositories — including by iterating over package names, versions, ecosystems, registries, or record identifiers.
Build or operate an internal threat intelligence database, index, mirror, or replica of Endor Labs malicious-package data intended to be queried independently of your Endor Labs scan results.
Use Endor Labs malware data as the decision source for a pre-installation or pre-resolution allow/deny control — for example a proxy, registry mirror, package-manager plugin, resolver hook, or admission gate that consults Endor Labs data to decide whether a package may be fetched or installed.
Redistribute, resell, sublicense, or otherwise make available Endor Labs malware data to any third party, or expose it through a service, product, or feed offered to others.
Use Endor Labs malware data to develop, train, benchmark, or improve a competing product or service.
If your goal is to prevent malicious packages from being installed or resolved at all — rather than detecting them after they enter a repository — that capability is delivered by the Endor Labs Package Firewall SKU, which is purpose-built for it and licensed for that use. Contact your account team.
Endor Labs may apply rate limits, quotas, query-scoping, and entitlement checks to API endpoints that return malware data, and may adjust them without notice to enforce the scope described above. Use of the Endor Labs API is also subject to your agreement with Endor Labs and the Endor Labs Acceptable Use Policy, which control in the event of any conflict with this page.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.