
Research
/Security News
Malicious Chrome Extension Performs Hidden Affiliate Hijacking
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.
lru-cache-fs
Advanced tools
Extends lru-cache to add file system support.
npm install lru-cache-fs
Retrieve cache:
const Cache = require('lru-cache-fs')
const cache = new Cache({
max: 100,
cacheName: "cache" // filename ref to be used
});
By default it will use os specific paths, using env-paths.
Then retrieve/set items using:
cache.get('some-item') // returns whatever was stored
cache.set('some-new-item', 'foo') // sets new item and stores cache sync to fs
The fsDump() method exposes an API that allows you to persist the current cache on your file system:
cache.fsDump()
All other methods from lru-cache should be available, e.g:
cache.dump() // retrieves dump of current cache memory
MIT © 2019 Ruy Adorno
FAQs
Extends lru-cache to add file system support
The npm package lru-cache-fs receives a total of 6,886 weekly downloads. As such, lru-cache-fs popularity was classified as popular.
We found that lru-cache-fs 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
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.