MAL-2026-4588

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ionic-insta-api-wrapper/MAL-2026-4588.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4588
Aliases
  • GHSA-65qr-q8w8-4q7r
Published
2026-05-21T08:32:53Z
Modified
2026-10-29T14:30:41Z
Summary
Malicious code in ionic-insta-api-wrapper (npm)
Details

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

Source: amazon-inspector (f5690c0264c0d5ebde1623336e358b4eb60fa2e9fa2f9d26e5ef81d93a40678c)

ionic-insta-api-wrapper@1.2.2 is presented as a generic Instagram API client but silently routes caller-supplied Instagram credentials and sessions to a hardcoded author-controlled backend at reelsaver.appit-online.de, and uses the resulting authenticated session to perform remotely-chosen follow/like actions on the caller's Instagram account.

Specific behaviors in the shipped code:

  • getCookie()/getCookies posts the caller-supplied Instagram username and password together with the full Instagram login response (session cookies, user id) to https://reelsaver.appit-online.de/v2/insta/check in addition to Instagram itself, moving the credentials and session outside Instagram's trust boundary without disclosure.
  • LoginService.loginViaBackend sends the Instagram username, password, and 2FA code to https://reelsaver.appit-online.de/v2/insta/login as a fallback login path, so the author's server performs the login and retains the credentials and resulting session.
  • After login, verifyAccount fetches a user/post list from https://reelsaver.appit-online.de/v2/insta/verify and uses the installer's authenticated Instagram session to call friendships/create and media/like on each returned target, giving the author runtime control over actions performed from the installer's account.
  • fetchAPI issues an analytics GET to {analyticsBaseUrl}/v2/insta/{username}/{target}/{type} on every library call, leaking the installer's Instagram identity and the identifiers of profiles/stories/posts being queried to the same author host.

The destination host is hardcoded, not configurable to Instagram directly, and the credential relay, server-directed account actions, and per-call activity logging are not described in the library's advertised purpose. Installing applications therefore disclose end-user Instagram credentials, sessions, and account activity to the package author, and the author can direct follows and likes from any authenticated session.

Source: ghsa-malware (0afdd20d94c501c22b6c129762fd5e2225ae4a9e341091301b08ffae30459b44)

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": "IN-MAL-2026-003782",
            "import_time": "2026-05-26T05:51:18.217487516Z",
            "modified_time": "2026-05-21T08:32:53Z",
            "sha256": "02b21f843420dc38a87320830c9f9bd48d72a2938774100b1ee08a2db708abbc",
            "source": "amazon-inspector",
            "versions": [
                "1.1.2"
            ]
        },
        {
            "id": "IN-MAL-2026-006128",
            "import_time": "2026-06-12T19:44:11.202353391Z",
            "modified_time": "2026-06-12T19:09:36Z",
            "sha256": "44363ea3b97b18ea938430059144fd219a58b93d04149e45da97c60322ff4868",
            "source": "amazon-inspector",
            "versions": [
                "1.1.3"
            ]
        },
        {
            "id": "GHSA-65qr-q8w8-4q7r",
            "import_time": "2026-10-25T10:23:49.043745451Z",
            "modified_time": "2026-10-25T09:35:24Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0afdd20d94c501c22b6c129762fd5e2225ae4a9e341091301b08ffae30459b44",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-021811",
            "import_time": "2026-10-26T18:56:20.158388754Z",
            "modified_time": "2026-10-26T18:36:27Z",
            "sha256": "690b3a08baece0e315311d9a5499efa8e24ca5da93a5c9df227e0f3cedfe7284",
            "source": "amazon-inspector",
            "versions": [
                "1.3.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021815",
            "import_time": "2026-10-26T18:56:20.492842526Z",
            "modified_time": "2026-10-26T18:36:57Z",
            "sha256": "7aae2cfcb36c56d48419b9b882eccce7e75b1a78591fd645fc22f158f292fb1c",
            "source": "amazon-inspector",
            "versions": [
                "1.2.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021810",
            "import_time": "2026-10-26T18:56:20.067754401Z",
            "modified_time": "2026-10-26T18:36:21Z",
            "sha256": "a79bf53f60010fa0d803cc9e6d71b1dfbc94351590a5bc25d7c8592f817b640a",
            "source": "amazon-inspector",
            "versions": [
                "1.3.4"
            ]
        },
        {
            "id": "IN-MAL-2026-021812",
            "import_time": "2026-10-26T18:56:20.253454076Z",
            "modified_time": "2026-10-26T18:36:36Z",
            "sha256": "f5690c0264c0d5ebde1623336e358b4eb60fa2e9fa2f9d26e5ef81d93a40678c",
            "source": "amazon-inspector",
            "versions": [
                "1.2.2"
            ]
        },
        {
            "id": "IN-MAL-2026-021980",
            "import_time": "2026-10-29T13:37:18.613102961Z",
            "modified_time": "2026-10-29T13:33:19Z",
            "sha256": "4ed4bed204458c9c73d48f631defa403e7abeecc8ee17a46943f28427c4816fe",
            "source": "amazon-inspector",
            "versions": [
                "1.3.3"
            ]
        },
        {
            "id": "IN-MAL-2026-021861",
            "import_time": "2026-10-29T13:37:13.74132584Z",
            "modified_time": "2026-10-29T13:17:39Z",
            "sha256": "b374d0bf8da63e794c63a92cf50638fa221be2e9df1ae01b4d0ef4531673c4af",
            "source": "amazon-inspector",
            "versions": [
                "1.3.0"
            ]
        },
        {
            "id": "IN-MAL-2026-022120",
            "import_time": "2026-10-29T14:14:27.60614353Z",
            "modified_time": "2026-10-29T13:51:25Z",
            "sha256": "e49e979b3362a964a287b5cca9fa97953abe4ed84c506e1a1145011254faaa05",
            "source": "amazon-inspector",
            "versions": [
                "1.3.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ionic-insta-api-wrapper

Package

Name
ionic-insta-api-wrapper
View open source insights on deps.dev
Purl
pkg:npm/ionic-insta-api-wrapper

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.2
1.1.3
1.2.1
1.2.2
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4

Database specific

cwes
[
    {
        "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.",
        "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.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/lib/handler.js",
            "sha256": "2569999371e8a0862105562de826d5baaed348187ab93ff0b9457bffa97ab1f6",
            "tlsh": "07610ea574fa313a155125c24617140238a4a20331caeca8befd97365fc9c0fca796df"
        },
        {
            "path": "lib/lib/login.service.js",
            "sha256": "d1217df1f0a796fef8c1e607e5330507de2ebce6a13a5bf507601b543f4b180a",
            "tlsh": "9332635a66f314200913a4d98f2b5001a139f40b3594dc69bbfc47596f8a82c97babff"
        },
        {
            "path": "lib/lib/client.service.js",
            "sha256": "252f4152d7f179b34592a47a1641d9ceda5101c6a6a57174a02c0240ed1baf06",
            "tlsh": "bca2a66591ff242b0513a498db2b5424b225e50732d4ec18befd47182f89618cbb77fb"
        }
    ],
    "package_integrity": [
        {
            "filename": "ionic-insta-api-wrapper-1.1.2.tgz",
            "hashes": {
                "sha1": "afd3d9d274856ffebbc803db0663f4c2ae3970d1",
                "sha512_sri": "sha512-8RxpZYBGWc5M3t3dMSpFDWGqyzZzZvyu5UptvuuLdikNKddOtgibvC9TDCTLnaaS/3GvNQPAok7o9Ej0XHTwfQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ionic-insta-api-wrapper/MAL-2026-4588.json"