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…

Malicious code in client-cookies-agent (npm)

0
High
Published: 07/09/2026 (07/09/2026, 12:25:53 UTC)
Source: GCVE Database
Product: client-cookies-agent

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (12870ae203f2612ab2bf9e796583acba17914cd4699909156f86c643fcf51f24) package.json declares postinstall=`node index.js`, which runs automatically on `npm install`. index.js collects host identifiers via os.hostname(), os.userInfo(), and process.cwd(), resolves the external IPv4 address, and POSTs them as JSON to a hardcoded Interactsh-style out-of-band collector at lpzlajzjfkpfeefuzxbv6n5nob7bpuh6e.oast.fun/receive-data over plain HTTP. The package has empty description and author fields and is published at version 99.9.5, a shape consistent with a dependency-confusion squat against a private/internal package name: installing (or accidentally resolving) this name causes a reconnaissance beacon to fire from the developer or CI machine, confirming code execution on the target and leaking host, user, cwd, and network identifiers to the attacker. ## Source: ossf-package-analysis (84540e9e44077c6ea24d8b8dc6093397f9ff6bcac74e53fe1dabfdd37d1a9b95) The OpenSSF Package Analysis project identified 'client-cookies-agent' @ 99.9.5 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.

Affected software

npmghsa
client-cookies-agent
Affected versions
=99.9.5=99.9.6

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: 07/10/2026, 10:06:02 UTC

Technical Analysis

The 'client-cookies-agent' npm package at versions 99.9.5 and 99.9.6 includes a postinstall script that executes automatically during 'npm install'. This script gathers system information including os.hostname(), os.userInfo(), process.cwd(), and resolves the external IPv4 address. It then sends this data as JSON over plain HTTP to a hardcoded Interactsh-style out-of-band collector domain associated with malicious activity. The package has empty description and author fields and appears to be a dependency confusion squatting attempt against private/internal package names. Installing or resolving this package causes a reconnaissance beacon to fire from the target machine, leaking host and network identifiers to the attacker.

Potential Impact

Installation or accidental resolution of the malicious 'client-cookies-agent' package results in unauthorized disclosure of host identifiers, user information, current working directory, and external IP address to an attacker-controlled server. This confirms code execution on the target system and leaks sensitive environment details that could facilitate further attacks or reconnaissance. No direct evidence of further exploitation or payload delivery is provided.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or resolving the 'client-cookies-agent' package versions 99.9.5 and 99.9.6. Verify package names carefully to prevent dependency confusion attacks, especially for private or internal package namespaces. Monitor package sources and use trusted registries. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-10019
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba8768715ace43581c2c

Added to database: 07/10/2026, 09:25:27 UTC

Last enriched: 07/10/2026, 10:06:02 UTC

Last updated: 07/30/2026, 21:30:12 UTC

Views: 28

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