Skip to main content

Malicious code in octopus-action (npm)

0
Critical
Published: 08/26/2026 (08/26/2026, 14:17:29 UTC)
Source: GCVE Database
Product: octopus-action

Description

The npm package octopus-action version 1.0.1 contains malicious code that executes a preinstall script automatically during installation. This script collects sensitive system information including hostname, OS username, home directory, DNS servers, and contents of /etc/passwd and /etc/hosts, then exfiltrates this data to a third-party controlled server. Installation of this package can lead to full system compromise, requiring immediate secret and key rotation. Removal of the package does not guarantee elimination of all malicious components.

Affected software

npmghsa
octopus-action
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: 09/08/2026, 05:24:44 UTC

Technical Analysis

The octopus-action npm package version 1.0.1 includes a preinstall lifecycle script (node index.js) that runs automatically on npm install. This script gathers the installer's hostname, OS username, home directory, configured DNS servers, package metadata, and contents of /etc/passwd and /etc/hosts. It then sends this collected data via HTTPS POST to an external Burp Collaborator out-of-band server controlled by a third party. This behavior results in exfiltration of sensitive system identifiers and files. According to the GHSA advisory, any system with this package installed or running should be considered fully compromised, necessitating immediate rotation of all secrets and keys from a different machine. Removal of the package alone may not remove all malicious software introduced.

Potential Impact

Installation of octopus-action version 1.0.1 leads to exfiltration of sensitive system information to an attacker-controlled server. The system is considered fully compromised, potentially exposing all stored secrets and keys. Attackers may have persistent access beyond removal of the package, increasing the risk of further malicious activity.

Defensive Guidance

Remove the octopus-action package version 1.0.1 immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted machine. Because full system compromise is likely, consider rebuilding the system or performing a thorough forensic investigation. No official patch or fix is available; avoidance and removal are the primary mitigations.

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-14537
Osv Schema Version
1.7.4
Aliases
["GHSA-27rc-jrqq-3wvj"]
Ecosystems
["npm"]

Threat ID: 6a9f9110acd9273b49ff2acb

Added to database: 09/08/2026, 04:37:36 UTC

Last enriched: 09/08/2026, 05:24:44 UTC

Last updated: 10/04/2026, 05:57:08 UTC

Views: 19

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