
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
gulp-amd-wrap
Advanced tools
 [](https://travis-ci.org/searchfe/gulp-amd-wrap) [.pipe(amdWrap({
baseUrl: '/assert/',
prefix: 'wiseindex/',
// 不参与amd-hook分析的文件
exelude: ['/exclude-**.js', '/dist/**'],
alias: [{
moduleId: 'debug',
path: 'util/debug',
prifix: false
}]
})).pipe(
gulp.dest(`${__dirname}\/dist\/`),
);
// Before
define(function() {
'use strict';
var fishObj = {
name: 'nimo'
};
var moduleA = require('@scope/moduleA');
var moduleB = require('./moduleB');
require(['A', './B', '/C', '@D/E', './util/debug'], function(a, b, c, d){
console.log(a, b, c, d);
});
return fishObj;
});
// After
define('wiseindex/assert/minify-define', [
'require',
'@scope/moduleA',
'wiseindex/assert/moduleB'
], function (require, moduleA, moduleB) {
'use strict';
var fishObj = { name: 'nimo' };
require([
'A',
'wiseindex/assert/B',
'/C',
'@D/E',
'debug'
], function (a, b, c, d) {
console.log(a, b, c, d);
});
return fishObj;
});
FAQs
 [](https://travis-ci.org/searchfe/gulp-amd-wrap) [
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.