
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
strip-banner
Advanced tools
Strip banners from code.
Install with npm:
$ npm install strip-banner --save
var strip = require('strip-banner');
strip(str);
Heads up!: banner comments may be preceded by only whitespace and/or "use strict"; statements. Aside from those exceptions a banner comment must be the first thing in a string for it to be stripped.
Example
Given the following:
// --foo.js--
/**
* strip-banner <https://github.com/jonschlinkert/strip-banner>
*
* Copyright (c) 2016, Jon Schlinkert.
* Licensed under the MIT license.
*/
function foo () {}
var fs = require('fs');
var strip = require('strip-banner');
var str = fs.readFileSync('foo.js', 'utf8');
console.log(strip(str));
Results in:
function foo () {}
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016 Jon Schlinkert Released under the MIT license.
This file was generated by verb, v0.9.0, on March 20, 2016.
FAQs
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
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.