
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
gulp-analyticss
Advanced tools
$ npm install --save-dev gulp-analyticss
Create analyticss.json
file with following structure.
NOTE: For security reasons we do not recommend to store this file in a git repository.
{
"aws": {
"key": "<access_key>",
"secret": "<secret>",
"bucket": "<bucket_name>",
"uploadPath": "<upload_path>"
},
"analyticss": {
"key": "<access_key>",
"secret": "<secret>",
"applicationId": "<application_id> "
}
}
Add a new task in your gulpfile.js
const gulp = require('gulp');
const analyticss = require('gulp-analyticss');
let options = require('./analyticss.json');
gulp.task('analyticss', () => {
gulp.src('dest/file.css')
.pipe(analyticss(options));
);
NOTE: Make sure your keep a gulp task name exactly the same as it appears on the example.
post-commit
hook./node_modules/gulp-analyticss/hook install
post-commit
hook./node_modules/gulp-analyticss/hook uninstall
Use --debug
option for more info.
MIT © Eugene Brodsky
FAQs
Creates CSS selectors complexity and performance snapshot file.
The npm package gulp-analyticss receives a total of 0 weekly downloads. As such, gulp-analyticss popularity was classified as not popular.
We found that gulp-analyticss 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.