Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-6591: Malicious code in ledgerflow-deploy-utils (npm)

0
High
Published: 06/29/2026 (06/29/2026, 07:09:41 UTC)
Source: GCVE Database
Product: ledgerflow-deploy-utils

Description

The ledgerflow-deploy-utils npm package version 1.0.1 contains malicious code that executes during installation. Its postinstall script queries the AWS instance metadata service (IMDSv1) to retrieve attached IAM role information and sends this data over unencrypted HTTP to a hardcoded external IP address. The package exports only no-op functions, indicating its primary purpose is reconnaissance on AWS-hosted build environments. This behavior aligns with dependency confusion or internal name squatting attacks targeting corporate build systems to enable credential theft and subsequent abuse.

Affected software

npmghsa
ledgerflow-deploy-utils
Affected versions
=1.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/29/2026, 22:36:46 UTC

Technical Analysis

The ledgerflow-deploy-utils package (version 1.0.1) includes a postinstall script that contacts the AWS instance metadata service at 169.254.169.254 to obtain IAM role credentials. It then transmits this sensitive information and a reachability probe to a hardcoded IP address (54.226.194.239) via plain HTTP. The package's exported API consists solely of no-operation console logging stubs, confirming that its main function is to perform install-time reconnaissance on AWS environments. This technique is consistent with dependency confusion or internal name squatting attacks designed to compromise cloud credentials by exploiting package installation in corporate CI/build systems.

Potential Impact

Exposure of AWS IAM role information to an attacker-controlled server can lead to credential compromise and unauthorized access to the victim's AWS environment. This may enable attackers to perform follow-on actions such as privilege escalation, data exfiltration, or further lateral movement within the cloud infrastructure. The malicious activity occurs during package installation, potentially affecting automated build and deployment pipelines that use this package.

Mitigation Recommendations

No official patch or remediation is currently documented for this package. Users should avoid installing ledgerflow-deploy-utils version 1.0.1. Review and audit dependencies for suspicious or unexpected packages, especially those with internal or generic names. Implement strict controls on package sources and consider using allowlists for dependencies in build environments. Monitor for any updates or advisories from the package maintainers or npm registry regarding this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6591
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed6d27e9c79719938eb9

Added to database: 06/29/2026, 22:10:53 UTC

Last enriched: 06/29/2026, 22:36:46 UTC

Last updated: 06/30/2026, 00:48:48 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses