MAL-2026-10979

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@apexfdn/apex/MAL-2026-10979.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10979
Aliases
  • GHSA-w63r-vpcf-2wwf
Published
2026-07-21T21:00:37Z
Modified
2026-08-05T06:35:05.817505216Z
Summary
Malicious code in @apexfdn/apex (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (dbc2117528ff8a612341edb673a46c0ced3745bccf0c4c60f3b7cdf86d501af3)

On npm install, install.js runs as a postinstall step and downloads a platform-specific executable from https://github.com/Apex-Foundation/copilot/releases/download/v<VERSION>/<assetName>, writes it to BIN_PATH, and chmods it 0755 on non-Windows. No hash or signature verification is performed. The package.json declares repository can1357/oh-my-pi and homepage omp.sh, and the shipped README describes an unrelated project (@oh-my-pi/pi-coding-agent, the omp coding agent by can1357) — neither matches the Apex-Foundation/copilot GitHub org the binary is pulled from. The declared main and exports point to a TypeScript tree that is not present in the tarball; the only shipped runtime artifacts are apex.js, install.js, and a bin shim. apex.js unconditionally spawns the downloaded binary with the user's environment on every CLI invocation. The publisher/source mismatch, cover-story README impersonating an unrelated coding-agent project, and unverified execution of third-party bytes at install time constitute a mismatched-publisher dropper: npm install @apexfdn/apex causes attacker-controlled bytes from a third-party GitHub org to be fetched and staged as an executable that then runs against the installer's environment.

Source: ghsa-malware (df9efaae229211f074088ddd2af0aa90bbb5598a155fcfb982b37133be73dfc8)

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 software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-w63r-vpcf-2wwf",
            "source": "ghsa-malware",
            "import_time": "2026-07-22T03:44:29.206076448Z",
            "modified_time": "2026-07-21T21:00:38Z",
            "sha256": "df9efaae229211f074088ddd2af0aa90bbb5598a155fcfb982b37133be73dfc8",
            "versions": [
                "1.0.32",
                "1.0.31",
                "1.0.30",
                "1.0.29",
                "1.0.28",
                "1.0.27",
                "1.0.26",
                "1.0.25",
                "1.0.24",
                "1.0.23",
                "1.0.22",
                "1.0.21",
                "1.0.20",
                "1.0.19",
                "1.0.18",
                "1.0.17",
                "1.0.16",
                "1.0.15",
                "1.0.14",
                "1.0.13",
                "1.0.12",
                "1.0.11",
                "1.0.10",
                "1.0.9",
                "1.0.8",
                "1.0.7",
                "1.0.6",
                "1.0.5",
                "1.0.4",
                "1.0.3",
                "1.0.2",
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-010967",
            "source": "amazon-inspector",
            "import_time": "2026-07-28T14:20:01.823210722Z",
            "modified_time": "2026-07-28T13:43:08Z",
            "sha256": "a1e0d9d996b5aaae14084ec54f9bd48bdfc6399673f1203aacebdef8abb42692",
            "versions": [
                "1.0.32"
            ]
        },
        {
            "id": "IN-MAL-2026-011298",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.680952137Z",
            "modified_time": "2026-08-04T22:01:11Z",
            "sha256": "d65b44fb8fa5f50baadcc1f852278f1bace74572f6ed789b9a3ef5b4ddf28856",
            "versions": [
                "1.0.19"
            ]
        },
        {
            "id": "IN-MAL-2026-011294",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.439194118Z",
            "modified_time": "2026-08-04T22:00:35Z",
            "sha256": "3059a272bca720c03d2bf85974088eede2f941ce6bb4054d58a24d91bdadb52a",
            "versions": [
                "1.0.27"
            ]
        },
        {
            "id": "IN-MAL-2026-011301",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.841278233Z",
            "modified_time": "2026-08-04T22:01:39Z",
            "sha256": "3c42c91f8198106c9a7dca530e216c6e2821b013b4c3d817949fed0cbd9a0cad",
            "versions": [
                "1.0.13"
            ]
        },
        {
            "id": "IN-MAL-2026-011296",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.579707163Z",
            "modified_time": "2026-08-04T22:00:54Z",
            "sha256": "5024965edcfc3333d5b8c4fc43a43d6681dbd07b5ce03e5fff0fceca9004e89e",
            "versions": [
                "1.0.20"
            ]
        },
        {
            "id": "IN-MAL-2026-011288",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.09288923Z",
            "modified_time": "2026-08-04T21:59:46Z",
            "sha256": "ed4580f589d7cf3f91d2d7e1acd60b3b2250a0d1eeeac161ecf119104f427972",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "id": "IN-MAL-2026-011297",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.624440698Z",
            "modified_time": "2026-08-04T22:01:03Z",
            "sha256": "4114b010f225d4ebaf1a30747dbfd100e3ec1801a6927ee970c7119f2b51d44a",
            "versions": [
                "1.0.17"
            ]
        },
        {
            "id": "IN-MAL-2026-011289",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.130299384Z",
            "modified_time": "2026-08-04T21:59:55Z",
            "sha256": "550df159dac9d0f2b74c5f847897e6adf0f8e0e64eadd12641353dbbb1f777d8",
            "versions": [
                "1.0.22"
            ]
        },
        {
            "id": "IN-MAL-2026-011287",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.047637654Z",
            "modified_time": "2026-08-04T21:59:37Z",
            "sha256": "8493900cfdae4e3b63bd197320b279dc56159baf1598c3cdc2f43cb8a9d7ddaf",
            "versions": [
                "1.0.31"
            ]
        },
        {
            "id": "IN-MAL-2026-011292",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.276518294Z",
            "modified_time": "2026-08-04T22:00:20Z",
            "sha256": "9b8fc3ebf1d083100101f246e79008a8941ea26788eb8e7b9b0cb0b276738d0f",
            "versions": [
                "1.0.28"
            ]
        },
        {
            "id": "IN-MAL-2026-011293",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.372396035Z",
            "modified_time": "2026-08-04T22:00:28Z",
            "sha256": "cdf94f2b49152dbb39ac68b18de24732a334c4eaef3857edbcdd18fada6ec161",
            "versions": [
                "1.0.6"
            ]
        },
        {
            "id": "IN-MAL-2026-011290",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.172139431Z",
            "modified_time": "2026-08-04T22:00:04Z",
            "sha256": "f245e6fe1f7048983c2499ca26574238d90c118306c744d38264b2c0d78c1fc1",
            "versions": [
                "1.0.23"
            ]
        },
        {
            "id": "IN-MAL-2026-011295",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.523628582Z",
            "modified_time": "2026-08-04T22:00:47Z",
            "sha256": "15f79603c0eefc76dfcd4fbb511376499dffb2cdd9912051c2aec0a93e6e5310",
            "versions": [
                "1.0.21"
            ]
        },
        {
            "id": "IN-MAL-2026-011291",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.238067798Z",
            "modified_time": "2026-08-04T22:00:13Z",
            "sha256": "9ab93f9cf3c7a392f4f01bbd3cf160e8e017622a6e1291092f2276d4d9b658a4",
            "versions": [
                "1.0.24"
            ]
        },
        {
            "id": "IN-MAL-2026-011300",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.794323976Z",
            "modified_time": "2026-08-04T22:01:31Z",
            "sha256": "03d1977f6e25afb1a49f36ea14ee42660f10c8a83eb5d9d9b6e5e8e60590afb6",
            "versions": [
                "1.0.15"
            ]
        },
        {
            "id": "IN-MAL-2026-011271",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:08.335108339Z",
            "modified_time": "2026-08-04T21:57:17Z",
            "sha256": "1ce0e99ec20150524f9a55726b530bfb3670c62a1b36f4222fa476a979ffce36",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "id": "IN-MAL-2026-011319",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:10.768975417Z",
            "modified_time": "2026-08-04T22:04:20Z",
            "sha256": "532131de1837cfedd790c8600155213acf34648a39e87bf16879cc3043856d3e",
            "versions": [
                "1.0.12"
            ]
        },
        {
            "id": "IN-MAL-2026-011299",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:09.737097312Z",
            "modified_time": "2026-08-04T22:01:20Z",
            "sha256": "6ee4fc041b08ba39cb3d9f3d87b77c3f0d076146e83b2232b51a730eed027765",
            "versions": [
                "1.0.16"
            ]
        },
        {
            "id": "IN-MAL-2026-011252",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:07.355474029Z",
            "modified_time": "2026-08-04T21:54:24Z",
            "sha256": "c195873f0a05289fc57027bc9a25aaf3eadbe503e617696b94c795ad08d12258",
            "versions": [
                "1.0.7"
            ]
        },
        {
            "id": "IN-MAL-2026-012875",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:14.729619986Z",
            "modified_time": "2026-08-05T05:01:58Z",
            "sha256": "ebaee8b56d7ff25d8b8a090e544b3e87b0db35fa389bfb0f31d505f49085ce76",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-012892",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:16.647984009Z",
            "modified_time": "2026-08-05T05:04:15Z",
            "sha256": "0b27da87e9893f792862a82bd24549089f6802f76be24cafedb062432c98d530",
            "versions": [
                "1.0.8"
            ]
        },
        {
            "id": "IN-MAL-2026-013003",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:29.905470333Z",
            "modified_time": "2026-08-05T05:19:58Z",
            "sha256": "49be9c6aa10d6e12d75fa82b211ee485c5dda843dceb22246a47cbc83b70a7a1",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-013068",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:37.453978132Z",
            "modified_time": "2026-08-05T05:29:21Z",
            "sha256": "5c77a1caca95021e95d154c9dd1e8847a93cef2d5971317441689af04c95469e",
            "versions": [
                "1.0.18"
            ]
        },
        {
            "id": "IN-MAL-2026-012874",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:14.63274059Z",
            "modified_time": "2026-08-05T05:01:49Z",
            "sha256": "6eaccec20a6b9607140a3167aaa044c2314ed65b1bbe23b9327da9e867c3f18c",
            "versions": [
                "1.0.10"
            ]
        },
        {
            "id": "IN-MAL-2026-013014",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:31.102761745Z",
            "modified_time": "2026-08-05T05:21:33Z",
            "sha256": "8775b05e750eeb9a922829347b4f499f562d68405c19afed62a9517fc6c37ecc",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-012886",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:15.927798202Z",
            "modified_time": "2026-08-05T05:03:23Z",
            "sha256": "c69af6d660aaf395c27ce6a8c77823baa4c87f9e0f6f640899a0116c2c148574",
            "versions": [
                "1.0.29"
            ]
        },
        {
            "id": "IN-MAL-2026-012894",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:16.876411267Z",
            "modified_time": "2026-08-05T05:04:32Z",
            "sha256": "d40c483f037a46b780b13e8a8cea2c183c7996ca8a7e9efdaa1309b12c0a22ae",
            "versions": [
                "1.0.11"
            ]
        },
        {
            "id": "IN-MAL-2026-012878",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:15.082076011Z",
            "modified_time": "2026-08-05T05:02:23Z",
            "sha256": "dbc2117528ff8a612341edb673a46c0ced3745bccf0c4c60f3b7cdf86d501af3",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-012890",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:16.362367025Z",
            "modified_time": "2026-08-05T05:03:56Z",
            "sha256": "4a6e576d617aa936c5d7b0a94926d8f8d9dfdcd4cda57d1bc2e5f752383e1963",
            "versions": [
                "1.0.25"
            ]
        },
        {
            "id": "IN-MAL-2026-012876",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:14.846428998Z",
            "modified_time": "2026-08-05T05:02:05Z",
            "sha256": "57533598d2b766db24bd74bcc5c1317e0cb080700d39293ffa3eb739530a1375",
            "versions": [
                "1.0.26"
            ]
        },
        {
            "id": "IN-MAL-2026-012896",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:17.296571577Z",
            "modified_time": "2026-08-05T05:04:49Z",
            "sha256": "5c4972a2948eff2069532b3fc53c8f4939b018d2eaff005ff75282dcf6c111a2",
            "versions": [
                "1.0.30"
            ]
        },
        {
            "id": "IN-MAL-2026-012998",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:29.195227158Z",
            "modified_time": "2026-08-05T05:19:18Z",
            "sha256": "c98700b8c13cfe54b6545b5eedd9977c1c7b1baadbfaba9d2d0d0efe7a409ab9",
            "versions": [
                "1.0.14"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @apexfdn/apex

Package

Name
@apexfdn/apex
View open source insights on deps.dev
Purl
pkg:npm/%40apexfdn/apex

Affected ranges

Affected versions

1.*
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14
1.0.15
1.0.16
1.0.17
1.0.18
1.0.19
1.0.20
1.0.21
1.0.22
1.0.23
1.0.24
1.0.25
1.0.26
1.0.27
1.0.28
1.0.29
1.0.30
1.0.31
1.0.32

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "52a9d24f9824a952f9d5a9cb9d9797b7cf66defeb388eff679af820ab2ccff8f",
            "tlsh": "ff7145ca07f4a5680b9295e6819b2067f53390037505d888ba6cc748ff879b4cb379fe",
            "path": "install.cjs"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@apexfdn/apex/MAL-2026-10979.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]