Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
gulp-awspublish-headers
Advanced tools
A plugin for defining per-file headers for gulp-awspublish.
const awsheaders = require('gulp-awspublish-headers');
gulp.task('publish', function() {
const publisher = awspublish.create(/*...*/);
return gulp.src('./public/**/*')
.pipe(awsheaders({
'path/to/**/*': {
'Cache-Control': 'public, max-age=604800',
'x-amz-meta-foo': 'bar',
},
}))
.pipe(publisher.publish());
});
Files may match multiple paths in which case the headers will be merged with the later defined headers taking precedence.
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install gulp-awspublish-headers --save
BSD-3-Clause
FAQs
Define per-file headers for gulp-awspublish.
The npm package gulp-awspublish-headers receives a total of 35 weekly downloads. As such, gulp-awspublish-headers popularity was classified as not popular.
We found that gulp-awspublish-headers 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.