
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
stretchypants
Advanced tools
Sometimes I get all fat feeling and need to wear stretchypants. At the same time I wrote the world's worst elasticsearch client :tm:.
The only thing this really does is scope your request urls to an /<index> and /<type> url, and do bulk inserts because those are neat.
var es = require('stretchypants')
var es = es.index('boop').type('hai')
var search = {
query: {
querystring: {
name: "Berzor0rk"
}
}
}
es.index('boop').type('hai').get('/search', search, function(err, res) {
if(err) {
throw err
}
if(res.statusCode > 299) {
throw new Error('Bad status ' + res.statusCode)
}
console.log('got some great results')
console.log(res)
})
There are bulk inserts too which is really kinda the point of the library but remember how I'm so lazy I wear stretchypants? yeah...sometimes I'm so lazy I don't document either. :no_mouth:
LICENSE
You probabaly don't want to use this, but if you do: MIT
FAQs
Literally the world's worst elasticsearch client
We found that stretchypants 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
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.