Skip to main content

Malicious code in golan125-homepage-test (npm)

0
Low
Published: 07/20/2026 (07/20/2026, 10:45:09 UTC)
Source: GCVE Database
Product: golan125-homepage-test

Description

The golan125-homepage-test npm package version 1.0.0 contains a homepage field with a JavaScript-based XSS probe designed to test registry or UI frontend sanitization. The package itself does not execute harmful code on installation or runtime and does not perform network operations. The malicious aspect targets web interfaces that render the homepage field as clickable links without proper sanitization, potentially leading to cross-site scripting in those interfaces.

Affected software

golan125-homepage-test
pkg:npm/golan125-homepage-test
Affected versions
=1.0.0

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: 09/08/2026, 10:38:36 UTC

Technical Analysis

The golan125-homepage-test package (version 1.0.0) includes a homepage field set to 'javascript:alert(document.domain)', which acts as an XSS probe targeting npm registry or UI frontends that unsafely render homepage URLs as clickable links. The package contains no lifecycle scripts or network activity and exports an empty object, meaning it does not harm the installer's environment. The threat is limited to the web UI rendering context of package metadata, not the package consumers or their systems.

Potential Impact

This issue could lead to cross-site scripting (XSS) vulnerabilities in npm registry or frontend web interfaces that display the homepage field without proper sanitization. It does not affect the security of systems installing or requiring the package, as the package code itself is benign. The impact is confined to the user interface layer of package registries or tools that render this metadata unsafely.

Mitigation Recommendations

No direct patch or fix is applicable to the package itself since it is a security research test and does not contain harmful install-time code. Mitigation requires registry and UI frontend maintainers to implement proper sanitization and validation of homepage URLs to prevent execution of JavaScript code embedded in metadata fields. Package consumers do not need to take action as installing or requiring this package does not pose a risk.

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-10897
Osv Schema Version
1.7.4
Aliases
["GHSA-6p3c-6jvh-3pg8"]
Ecosystems
["npm"]

Threat ID: 6a96f318acd9273b49e49601

Added to database: 09/01/2026, 15:45:28 UTC

Last enriched: 09/08/2026, 10:38:36 UTC

Last updated: 10/01/2026, 22:42:42 UTC

Views: 26

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