Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in insta-api-wrapper (npm)

Type: advisorySources: OSV

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a09908a36abda4fcde37ed9dd87c26112044394f1775f742cd56ca16ec6e6cea) The package wraps Instagram login/API operations and performs two installer-harming behaviors against a hardcoded author endpoint at reelsaver.appit-online.de. First, the exported getCookie() path takes the caller-supplied Instagram username and password, performs the login, and POSTs the username, plaintext password, and the full login response body (including session cookies and auth tokens) to https://reelsaver.appit-online.de/v2/insta/check. Second, LoginService.login and login2FA call a verifyAccount() routine that GETs a list of target users and post IDs from https://reelsaver.appit-online.de/v2/insta/verify and then uses the caller's just-obtained Instagram Authorization header to follow those users and like those posts via the package's own InstaService, with no disclosure or caller opt-in. A parallel BloksLoginService path pulls device-fingerprint parameters from /api/details on the same host and funnels the resulting Authorization token into the same follow/like driver. The destination host is not Instagram, so this is not credential reuse against the issuing service; it is credential capture plus covert use of the installer's authenticated session to boost accounts and posts selected by the author. ## Source: ghsa-malware (6451b5d95d51aa4063e15551a18c1305088f92597bf3a7e47bd18472a81d9855) Any computer that has thi

Products
insta-api-wrapper
Affected versions
1.1.0, 1.1.4, 1.2.1
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:35 UTC · Revision 1

Source evidence

Malicious code in insta-api-wrapper (npm)

core-osv · Original source

Published 25 Oct 2026, 09:35 UTC

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a09908a36abda4fcde37ed9dd87c26112044394f1775f742cd56ca16ec6e6cea) The package wraps Instagram login/API operations and performs two installer-harming behaviors against a hardcoded author endpoint at reelsaver.appit-online.de. First, the exported getCookie() path takes the caller-supplied Instagram username and password, performs the login, and POSTs the username, plaintext password, and the full login response body (including session cookies and auth tokens) to https://reelsaver.appit-online.de/v2/insta/check. Second, LoginService.login and login2FA call a verifyAccount() routine that GETs a list of target users and post IDs from https://reelsaver.appit-online.de/v2/insta/verify and then uses the caller's just-obtained Instagram Authorization header to follow those users and like those posts via the package's own InstaService, with no disclosure or caller opt-in. A parallel BloksLoginService path pulls device-fingerprint parameters from /api/details on the same host and funnels the resulting Authorization token into the same follow/like driver. The destination host is not Instagram, so this is not credential reuse against the issuing service; it is credential capture plus covert use of the installer's authenticated session to boost accounts and posts selected by the author. ## Source: ghsa-malware (6451b5d95d51aa4063e15551a18c1305088f92597bf3a7e47bd18472a81d9855) Any computer that has thi

osv:MAL-2026-18257

insta-api-wrapper

Fixed versions: Not specified

Complete source record
{
  "id": "6f6747a9dbbad86896f861ccdab8e4728088100d500ffabafd808141286585b0",
  "url": "https://osv.dev/vulnerability/MAL-2026-18257",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in insta-api-wrapper (npm)",
    "summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a09908a36abda4fcde37ed9dd87c26112044394f1775f742cd56ca16ec6e6cea) The package wraps Instagram login/API operations and performs two installer-harming behaviors against a hardcoded author endpoint at reelsaver.appit-online.de. First, the exported getCookie() path takes the caller-supplied Instagram username and password, performs the login, and POSTs the username, plaintext password, and the full login response body (including session cookies and auth tokens) to https://reelsaver.appit-online.de/v2/insta/check. Second, LoginService.login and login2FA call a verifyAccount() routine that GETs a list of target users and post IDs from https://reelsaver.appit-online.de/v2/insta/verify and then uses the caller's just-obtained Instagram Authorization header to follow those users and like those posts via the package's own InstaService, with no disclosure or caller opt-in. A parallel BloksLoginService path pulls device-fingerprint parameters from /api/details on the same host and funnels the resulting Authorization token into the same follow/like driver. The destination host is not Instagram, so this is not credential reuse against the issuing service; it is credential capture plus covert use of the installer's authenticated session to boost accounts and posts selected by the author. ## Source: ghsa-malware (6451b5d95d51aa4063e15551a18c1305088f92597bf3a7e47bd18472a81d9855) Any computer that has thi",
    "evidence": "osv:MAL-2026-18257",
    "products": [
      {
        "name": {
          "value": "insta-api-wrapper",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.4",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-18257",
      "aliases": [
        "GHSA-j8vh-32vh-rj39",
        "MAL-2026-18257"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "insta-api-wrapper",
            "purl": "pkg:npm/insta-api-wrapper",
            "ecosystem": "npm"
          },
          "versions": [
            "1.1.0",
            "1.2.1",
            "1.1.4"
          ],
          "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."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/insta-api-wrapper/MAL-2026-18257.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "lib/lib/handler.js",
                  "tlsh": "3c51fd6974bb203a115620950a0b051228a0600725ddeca97fbda7376fcdc0f8af97cf",
                  "sha256": "3e856487b52550e1181da44f68f9c0bf055545587148062d802a8424a1b1ae87"
                },
                {
                  "path": "lib/lib/login.service.js",
                  "tlsh": "daa11db10a9764107123e1dc9f1b1000a175b407784dd9a9fbbd735abfcd02c92a6bfa",
                  "sha256": "961d28fc4906ece61fda9a111050ecd71cd80e17566903fbf2b5fe4e82f76ea8"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-26T06:45:16.085018271Z",
      "provider": "osv",
      "references": [
        "https://github.com/advisories/GHSA-j8vh-32vh-rj39",
        "https://www.npmjs.com/package/insta-api-wrapper/v/1.1.0",
        "https://www.npmjs.com/package/insta-api-wrapper/v/1.2.1",
        "https://www.npmjs.com/package/insta-api-wrapper/v/1.1.4"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "GHSA-j8vh-32vh-rj39",
            "ranges": [
              {
                "type": "SEMVER",
                "events": [
                  {
                    "introduced": "0"
                  }
                ]
              }
            ],
            "sha256": "6451b5d95d51aa4063e15551a18c1305088f92597bf3a7e47bd18472a81d9855",
            "source": "ghsa-malware",
            "import_time": "2026-10-25T10:23:49.747646834Z",
            "modified_time": "2026-10-25T09:35:25Z"
          },
          {
            "id": "IN-MAL-2026-021763",
            "sha256": "a09908a36abda4fcde37ed9dd87c26112044394f1775f742cd56ca16ec6e6cea",
            "source": "amazon-inspector",
            "versions": [
              "1.1.0"
            ],
            "import_time": "2026-10-26T06:39:41.051678897Z",
            "modified_time": "2026-10-26T06:29:51Z"
          },
          {
            "id": "IN-MAL-2026-021765",
            "sha256": "a230b5916db8912d3ed49d64fcddd875bb5eb3d9f9aa15e29d78991f2c157276",
            "source": "amazon-inspector",
            "versions": [
              "1.2.1"
            ],
            "import_time": "2026-10-26T06:39:41.168311327Z",
            "modified_time": "2026-10-26T06:30:06Z"
          },
          {
            "id": "IN-MAL-2026-021764",
            "sha256": "ca9ef4b4af673f3f13d0f573ec7cda8558165cddce1ec308eab95861bf53faea",
            "source": "amazon-inspector",
            "versions": [
              "1.1.4"
            ],
            "import_time": "2026-10-26T06:39:41.111155874Z",
            "modified_time": "2026-10-26T06:30:00Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 446742,
  "published_at": "2026-10-25T09:35:19+00:00"
}