Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@tcollinsworth/lrucache
Advanced tools
lru cache with express middleware for inspection/management
This lib uses lru-cache.
It provides:
const app = express()
const options = {
periodicClearing: { autoStart: true },
periodicPruning: { autoStart: true },
nativeCacheOptions: { max: 10000, ttl: 86400000 },
}
const aCache = new LruCache(options)
const bCache = new LruCache(options)
const lruExpress = new LruCacheExpressMiddleware()
app.use('/lru-cache', lruExpress.getMiddleware())
Uses cronosjs
second, minute, hour, day of month, month, day of week, year
scheduled to run every Saturday @ 8:00:10pm === '10 0 20 * * 6 *'
/*
* * * * * * * Field Allowed values Special symbols
| | | | | | | ----------------- --------------- ---------------
`--|--|--|--|--|--|-> Second (optional) 0-59 * / , -
`--|--|--|--|--|-> Minute 0-59 * / , -
`--|--|--|--|-> Hour 0-23 * / , -
`--|--|--|-> Day of Month 1-31 * / , - ? L W
`--|--|-> Month 1-12 or JAN-DEC * / , -
`--|-> Day of Week 0-7 or SUN-SAT * / , - ? L #
`-> Year (optional) 0-275759 * / , -
FAQs
lru cache with express middleware for inspection/management
We found that @tcollinsworth/lrucache 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.