
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.
does-it-fit
Advanced tools
Determine whether an HTTP endpoint's TCP response fits within minimum constraints
Determine whether an HTTP endpoint's TCP response fits within minimum constraints
const dif = require('does-it-fit')
dif('http://google.com', function (err, answer) {
if (err) {
console.error('oh noes!', err)
return
}
console.log(answer)
})
require('does-it-fit') => (url, opts, cb(err, result))optsconstraintsArray of bytes - index of each matches labels
Default: [536, 1024, 14336, 66560]
labelsArray of labels matching byte windows,
Default: ['First TCP Segment', 'First Ethernet Packet', 'First TCP Roundtrip', 'First TCP Frame']
sslAdd SSL overhead (default: true)
gzipGZIP the body (default: true)
sslCostEstimated amount of bytes for SSL overhead (default: 40)
gzipLevelCompression level: 1-9. Defaults to Node's default gzip level
resulttotalTotal estimated bytes sent along TCP connection for endpoint
fitsRelevant TCP constraint (First TCP Segment, First Ethernet Packet, First TCP Roundtrip, First TCP Frame or No target TCP constraints)
headersSize of headers
bodySize of body (after gzipping, if enabled)
emulatedSslSizeEstimated size of SSL overhead (as set by sslCost)
emulateGzipWhether GZIP was emulated (disabled with noGzip)
gzipLevelThe compression level applied, only added if emulateGzip is true
npm install -g does-it-fit
does-it-fit http://google.com
-h Help/Usage
-a Show all values (instead of just total size and what it fits)
--constraints Array of bytes (as quoted JSON) - index of each matches labels
Default: [536, 1024, 14336, 66560]
--labels Array of labels (as quoted JSON) matching byte windows, Default:
[ 'First TCP Segment', 'First Ethernet Packet',
'First TCP Roundtrip', 'First TCP Frame' ]
--no-ssl Don't add SSL overhead
--no-gzip Don't GZIP the body
--ssl-cost Estimated amount of bytes for SSL overhead (default: 40)
--gzip-level Compression level: 1-9. Defaults to Node's default gzip level
npm test
MIT
FAQs
Determine whether an HTTP endpoint's TCP response fits within minimum constraints
The npm package does-it-fit receives a total of 2 weekly downloads. As such, does-it-fit popularity was classified as not popular.
We found that does-it-fit 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
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.