Mend.io

See NES fixes in Mend SCA findings and apply them with Mend Renovate pull requests.

When Mend SCA reports a CVE in an end-of-life (EOL) package, the only upstream fix usually sits in a newer major version, and getting there means a migration. NES fixes the CVE on the version you already run.

Why use the integration?

  • Mend SCA shows the NES version on the finding
  • Mend Renovate opens a pull request that applies NES releases
  • You can review and merge that pull request like any other dependency update.

How the integration works

HeroDevs sends Mend a continuous feed of the CVEs that NES fixes, with the packages and versions each fix covers. Mend uses that up to date feed in three places.

WhereWhat you see
Mend SCA findingsA remediation path for a CVE on an unsupported package, pointing to the NES version that fixes it. Also automatically identifies and flags commercial libraries by HeroDevs in your Mend inventory
Mend RenovateA replacement pull request that swaps the unsupported package for its NES equivalent
Mend SCA after you install NESFindings for CVEs that your NES version fixes no longer appear

The feed comes from the NES registry, so new NES releases and newly fixed CVEs reach Mend without any action from you.

Supported ecosystems

EcosystemMend SCA shows NES fixesMend Renovate NES pull requests
npmYesYes
MavenYesYes

Requirements

  • Mend AppSec Platform with Mend SCA scanning your repositories.
  • Mend Renovate enabled for the repository, if you want replacement pull requests.
  • An NES subscription and access token. Mend can show that an NES fix exists without one, but your build can only download NES packages with valid NES credentials.

See the NES fix on a finding

Detection works the way it does today. Mend scans the repository, reports the CVE and its severity, and flags risk factors such as whether the vulnerability is exploitable.

When an NES version fixes the CVE, the finding's Overview tab shows Remediation: Available (with HeroDevs). The Remediation Powered By HeroDevs section shows the version you run and the NES version that replaces it. For detailed step by step Mend instructions go to Mend.io Product Documentation

Enable replacement pull requests in Mend Renovate

Mend publishes the HeroDevs replacement rules as a Mend Renovate preset. Once your repository extends it, Renovate raises a replacement pull request for each dependency it finds that has an NES equivalent.

Mend Renovate proposes replacing versions with NES packages and the pull request runs through your normal CI, tests, and code review. Renovate doesn't merge it unless you have configured automerge.

Read the NES release notes for your product before you merge, as you would for any patch. You'll find them from the product's page under Choose your open source technology. NES releases are drop-in replacements, and the release notes document CVEs fixed details.

After you merge, on the next scan, Mend SCA recognizes the NES version. Findings for CVEs that the NES version fixes no longer appear.

Frequently asked questions

Do I need an NES subscription?

To install the fixes, yes. Mend SCA can show that an NES fix exists for any Mend customer, but your build can only pull the NES package with valid NES credentials. Contact HeroDevs to map your Mend findings to NES coverage.

Will Mend still flag NES packages as vulnerable?

Not for the CVEs that the installed NES version fixes. The HeroDevs feed tells Mend which CVEs each NES version resolves, so those findings close once the NES version is installed.