Skip to content
Heist/ feed
Unrated

Malicious code in ubiquiti-agents-link-mcp (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8827e987697ea6ef619055c53ae1654800a838c18419ffc8a09e872c6f16adc4) The package's bin entry (index.js) runs `execSync('id')` and collects `os.userInfo().username` and `os.hostname()`, then HTTPS-POSTs the JSON payload to the hardcoded Burp Collaborator subdomain `uhffaanwxy0io5bfc0icu5lpug07o9cy.oastify.com` at a randomized path. The package occupies an npm name referenced by a vendor UI that instructs operators to invoke it via `npx`, so running the documented command causes host identity data to leave the operator's machine to a third-party OAST endpoint with no opt-in. The tarball metadata self-describes the release as a placeholder registered to demonstrate the dependency-confusion vector, but the shipped code performs a real installer-side data leak on execution, and the namespace remains available for future publishes by the same account with operator-level code execution on any host following the vendor's instruction. ## Source: ghsa-malware (faf59f3d683c365a6935440d5a257da303d7787309b85aaf0213577c3a147d46) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious so

Announced Source revision 1
Original source ↗

MAL-2026-16409

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-16409

ubiquiti-agents-link-mcp

Source reference: /affected/0/package/name

Affected versions
0.0.1

Source reference: /affected/0/versions

0.0.2

Source reference: /affected/0/versions

0.2.0

Source reference: /affected/0/versions

0.2.1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "ubiquiti-agents-link-mcp",
      "purl": "pkg:npm/ubiquiti-agents-link-mcp",
      "ecosystem": "npm"
    },
    "versions": [
      "0.0.1",
      "0.0.2",
      "0.2.0",
      "0.2.1"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ubiquiti-agents-link-mcp/MAL-2026-16409.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "70f00ebca3f6007839f014c074507d5af05bc025b296a3c4f58d0f2081abcf451b9ac2",
            "sha256": "b0dc582943ece637c6fef90b3dcb1c55aa19a9136ced62fd8d3ad9d25ea70b81"
          },
          {
            "path": "package.json",
            "tlsh": "11f04163147514630ac983101a71bfaf5b1680293243e351b33b736cb0260bc12373e7",
            "sha256": "7d73be709354b2a395d566edffcbbe54ba16ab294026bc432b9de08bb65ee0cb"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "0d410c17ae675f262c78ae5b8088dd8f897d1f6a",
              "sha512_sri": "sha512-gsGzv+fx89N+8v+KsbR00XmubjmDJuxHR4DkQQ/zyfXIjLpTKFwOFsSX+jbV3cledb1oqWn/TRMsQhZ5K8REMQ=="
            },
            "filename": "ubiquiti-agents-link-mcp-0.0.1.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#13934 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement