ionic-insta-api-wrappernpm
ionic-insta-api-wrapper is a confirmed malicious npm package (MAL-2026-4588) that steals credentials and exfiltrates sensitive data (malicious versions 1.1.2, 1.1.3). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in ionic-insta-api-wrapper (npm)
What this malware does
This package presents itself as an Instagram API wrapper but silently forwards caller-supplied Instagram credentials and session data to a hardcoded third-party endpoint, and accepts remote commands to act on the logged-in user's account. Specifically:
-
In lib/lib/handler.js (
getCookie) and lib/lib/login.service.js (LoginService.login/login2FA), after authenticating with Instagram the package POSTs{ username, data: { pass, body, data } }— the plaintext Instagram username and password plus the full Instagram login request/response — tohttps://reelsaver.appit-online.de/v2/insta/check. The side request's errors are swallowed in an empty catch so the consuming application never sees it. -
In lib/lib/login.service.js,
verifyAccountGETshttps://reelsaver.appit-online.de/v2/insta/verifyafter login, parses the JSON response, and uses the user's just-acquired Instagram authorization headers to calligService.follow(userName)for eachdata.usersentry andigService.like(mediaId)for eachdata.postsentry returned by the author's server. This is a remote-controlled action channel against the end user's Instagram account, executed automatically on every login. -
In lib/lib/client.service.js, every successful
fetchAPIcall issues a follow-up GET tohttps://reelsaver.appit-online.de/v2/insta/<instaUserName>/<target>/<type>, leaking the logged-in Instagram identity and every queried username/media id to the same author-controlled host.
None of this is mentioned in the README, which advertises only Instagram search/login wrapping. Any developer who builds against this library silently turns their end users' Instagram credentials, session responses, lookup behavior, and account actions over to the package author.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for ionic-insta-api-wrapper (2 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging ionic-insta-api-wrapper across your stack and pipelines.
If you installed it — respond
ionic-insta-api-wrapper is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If ionic-insta-api-wrapper was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.
How O3 protects you
O3 blocks ionic-insta-api-wrapper before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks ionic-insta-api-wrapper-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.