Malicious Code Detected in ngf-attachment-item-view: Version 1.1.22 Compromised

ngf-attachment-item-view Updated 02 Oct 2025

Summary

14/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-5843: Malicious code in ngf-attachment-item-view (npm). Affects ngf-attachment-item-view versions >= 1.1.23. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The 'ngf-attachment-item-view' package is an npm library designed to facilitate the viewing and management of attachment items in web applications. It is commonly used for handling file uploads and previews in user interfaces. However, version 1.1.22 has been identified as malicious, posing a significant risk to applications that utilize it.

Vulnerability Detail

The vulnerability stems from the package's communication with a domain associated with malicious activities. This could lead to data exfiltration, unauthorized access, or other harmful actions against users and systems that integrate this package. The malicious behavior was identified by the OpenSSF Package Analysis project, which flagged the specific version due to its harmful interactions.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall ngf-attachment-item-view

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can remove the 'ngf-attachment-item-view' package from your project until a patched version is confirmed. Use the command: 'npm uninstall ngf-attachment-item-view'. Consider using alternative packages that provide similar functionality without the security risks.

Conclusion

The 'ngf-attachment-item-view' package version 1.1.22 has been identified as malicious due to its communication with harmful domains. It is essential to update or remove this package to protect your application from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for ngf-attachment-item-view →

Share this vulnerability

FAQ

The package communicates with a domain linked to malicious activities, which may lead to data breaches or unauthorized access.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

Currently, version 1.1.22 is flagged as malicious. It is recommended to check for updates or alternative packages until a safe version is released.

If immediate updates are not possible, consider removing the package and using alternatives until a safe version is available.

Vulert uses the package-lock.json file to monitor and alert for vulnerabilities in real-time, ensuring your application remains secure.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall ngf-attachment-item-view

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback