帖子《专家警告 Axios 遭遇关键性持续供应链攻击》出现在 BitcoinEthereumNews.com。首页 » 加密新闻 NPM 最依赖的软件包之一帖子《专家警告 Axios 遭遇关键性持续供应链攻击》出现在 BitcoinEthereumNews.com。首页 » 加密新闻 NPM 最依赖的软件包之一

专家警告 Axios 遭遇严重且持续的供应链攻击

2026/03/31 12:36
阅读时长 3 分钟
如需对本内容提供反馈或相关疑问,请通过邮箱 [email protected] 联系我们。

主页 » 加密货币新闻


NPM最依赖的套件之一正遭受持续的供应链攻击。

';
}
function loadTrinityPlayer(targetWrapper, theme,extras="") {
cleanupPlayer(targetWrapper); // Always clean first ✅
targetWrapper.classList.add('played');
// Create script
const scriptEl = document.createElement("script");
scriptEl.setAttribute("fetchpriority", "high");
scriptEl.setAttribute("charset", "UTF-8");
const scriptURL = new URL(`https://trinitymedia.ai/player/trinity/2900019254/?themeAppearance=${theme}${extras}`);
scriptURL.searchParams.set("pageURL", window.location.href);
scriptEl.src = scriptURL.toString();
// Insert player
const placeholder = targetWrapper.querySelector(".add-before-this");
placeholder.parentNode.insertBefore(scriptEl, placeholder.nextSibling);
}
function getTheme() {
return document.body.classList.contains("dark") ? "dark" : "light";
}
// Initial Load for Desktop
if (window.innerWidth > 768) {
const desktopBtn = document.getElementById("desktopPlayBtn");
if (desktopBtn) {
desktopBtn.addEventListener("click", function () {
const desktopWrapper = document.querySelector(".desktop-player-wrapper.trinity-player-iframe-wrapper");
if (desktopWrapper) loadTrinityPlayer(desktopWrapper, getTheme(),'&autoplay=1′);
});
}
}
// Mobile Button Click
const mobileBtn = document.getElementById("mobilePlayBtn");
if (mobileBtn) {
mobileBtn.addEventListener("click", function () {
const mobileWrapper = document.querySelector(".mobile-player-wrapper.trinity-player-iframe-wrapper");
if (mobileWrapper) loadTrinityPlayer(mobileWrapper, getTheme(),'&autoplay=1′);
});
}
function reInitButton(container,html){
container.innerHTML = " + html;
}
// Theme switcher
const destroyButton = document.getElementById("checkbox");
if (destroyButton) {
destroyButton.addEventListener("click", () => {
setTimeout(() => {
const theme = getTheme();
if (window.innerWidth > 768) {
const desktopWrapper = document.querySelector(".desktop-player-wrapper.trinity-player-iframe-wrapper");
if(desktopWrapper.classList.contains('played')){
loadTrinityPlayer(desktopWrapper, theme,'&autoplay=1′);
}else{
reInitButton(desktopWrapper,'Listen')
const desktopBtn = document.getElementById("desktopPlayBtn");
if (desktopBtn) {
desktopBtn.addEventListener("click", function () {
const desktopWrapper = document.querySelector(".desktop-player-wrapper.trinity-player-iframe-wrapper");
if (desktopWrapper) loadTrinityPlayer(desktopWrapper,theme,'&autoplay=1');
});
}
}
} else {
const mobileWrapper = document.querySelector(".mobile-player-wrapper.trinity-player-iframe-wrapper");
if(mobileWrapper.classList.contains('played')){
loadTrinityPlayer(mobileWrapper, theme,'&autoplay=1′);
}else{
const mobileBtn = document.getElementById("mobilePlayBtn");
if (mobileBtn) {
mobileBtn.addEventListener("click", function () {
const mobileWrapper = document.querySelector(".mobile-player-wrapper.trinity-player-iframe-wrapper");
if (mobileWrapper) loadTrinityPlayer(mobileWrapper,theme,'&autoplay=1′);
});
}
}
}
}, 100);
});
}
})();


使用AI摘要


使用AI摘要

根据安全导向公司Socket Security的联合创始人Feross Aboukhadijeh表示,Axios正遭受活跃的供应链攻击,而Axios是npm最依赖的套件之一。

NPM代表Node Package Manager,基本上是全球最大的软件注册库,托管超过200万个开源JavaScript代码套件。可以说它是现代Web3开发的骨干。

根据Feross的说法,最新的[email protected]目前正在引入[email protected],这是一个今天之前不存在的套件,表明这是一次实时攻击。

该恶意软件可以执行一系列操作,包括在执行后删除和重命名文件以销毁取证证据、暂存和复制有效载荷文件到操作系统临时目录和Windows ProgramData目录、执行解码的shell命令等。

专家建议使用axios的开发人员立即锁定其版本并审核其lockfiles文件,同时暂时避免任何更新。

特别优惠(独家)

Binance免费$600(CryptoPotato独家):使用此链接注册新账户并在Binance获得$600独家欢迎优惠(完整详情)。

限时优惠给CryptoPotato读者在Bybit:使用此链接注册并在任何币种上开启$500免费仓位!

来源: https://cryptopotato.com/expert-warns-of-critical-ongoing-supply-chain-attack-on-axios/

市场机遇
Helium Mobile 图标
Helium Mobile实时价格 (MOBILE)
$0.0001427
$0.0001427$0.0001427
-5.68%
USD
Helium Mobile (MOBILE) 实时价格图表
免责声明: 本网站转载的文章均来源于公开平台,仅供参考。这些文章不代表 MEXC 的观点或意见。所有版权归原作者所有。如果您认为任何转载文章侵犯了第三方权利,请联系 [email protected] 以便将其删除。MEXC 不对转载文章的及时性、准确性或完整性作出任何陈述或保证,并且不对基于此类内容所采取的任何行动或决定承担责任。转载材料仅供参考,不构成任何商业、金融、法律和/或税务决策的建议、认可或依据。