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 @salem_jalal/osc-components (npm)

0
High
Published: 06/25/2026 (06/25/2026, 22:23:33 UTC)
Source: GCVE Database
Product: @salem_jalal/osc-components

Description

The npm package @salem_jalal/osc-components version 1981.17.7 contains malicious code that exfiltrates sensitive information. Its postinstall script sends host identifiers to a remote server over unencrypted HTTP. Additionally, when loaded in a browser context, it harvests cookies, localStorage data, the current URL, and user agent details, sending them with credentials to the same remote server. The package impersonates another namespace (@dx-ui) to facilitate dependency confusion attacks.

Affected software

npmghsa
@salem_jalal/osc-components
Affected versions
=1981.17.7

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/26/2026, 22:42:46 UTC

Technical Analysis

The @salem_jalal/osc-components package version 1981.17.7 includes a postinstall hook that transmits installer host data such as hostname, OS platform/architecture, username, working directory, Node version, npm registry environment, and DNS server list to a remote HTTP endpoint. The main module contains an immediately invoked function expression (IIFE) that, when executed in a browser environment, collects document.cookie, all localStorage entries, the current URL, and userAgent string, sending these with credentials included to the same remote server. The package falsely identifies itself internally as @dx-ui/osc-components, indicating a dependency confusion or namespace impersonation attack. The malicious code runs unconditionally on installation and at runtime in browser contexts.

Potential Impact

Sensitive host and user environment information is exfiltrated during package installation, potentially exposing system identifiers and environment details. When used in browser contexts, the package leaks cookies, localStorage data, and browsing context information with credentials, risking user session hijacking and privacy breaches. The namespace impersonation may cause confusion or unintended dependency resolution, increasing the risk of supply chain compromise.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and avoid using the @salem_jalal/osc-components package version 1981.17.7. Audit dependencies for this package and any that may have pulled it in transitively. Consider using package integrity verification and strict namespace controls to prevent dependency confusion attacks. Monitor for updates or advisories from trusted sources regarding remediation.

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

Threat ID: 6a3ef7e227e9c79719032106

Added to database: 06/26/2026, 22:06:26 UTC

Last enriched: 06/26/2026, 22:42:46 UTC

Last updated: 07/26/2026, 12:56:00 UTC

Views: 53

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