
Research
Malicious Go “crypto” Module Steals Passwords and Deploys Rekoobe Backdoor
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.
gulp-touch-custom
Advanced tools
Change file access and modification times of files in gulp streams
Install with npm
npm install --save-dev gulp-touch-custom
Pipe into this after piping to a gulp destination (files must have been written to disk) to touch the files.
On each file, set an optional touch member (of type Date or fs.Stats) to set the access and modification times to a certain value, similar to the command line touch -t and touch -r.
var gulp = require('gulp');
var touch = require('gulp-touch-custom');
gulp.task('default', function() {
gulp
.src('./src/**/*')
.pipe(gulp.dest('./dest'))
.pipe(touch());
});
var gulp = require('gulp');
var touch = require('gulp-touch-custom');
function exampleproc() {
return through.obj(function (file, encoding, cb) {
// This gulp step options multiple files
this.push(new Vinyl({
path: file.relative + '.stamp',
contents: Buffer.from('Hello, World.'),
touch: file.stat.mtime, // Use timestamp of the source file by reference
}));
this.push(file); // With file.touch undefined, will be use the current time
cb();
});
}
gulp.task('default', function (next) {
return gulp.src('./src/**/*.foo')
.pipe(exampleproc())
.pipe(gulp.dest('./dest'))
.pipe(touch());
});
FAQs
Change file access and modification times
We found that gulp-touch-custom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.