
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Temptrax is a Node.js module that allows you to generate entries which are valid for a specific amount of time. It was built with Postgresql as the storage but it also has an in-memory support. Built for Protonfile
Install the package with npm
npm install temptrax
import Temptrax from 'temptrax';
const expirationDate = new Date('Sun May 11,2025'); // this entry will expire on May 11, 2025
const temptrax = new Temptrax({
databaseUrl: 'postgres://username:password@host:5432/dbname',
tableName: 'temptrax',
inMemory: false,
});
// databaseUrl and tableName not required if inMemory is true
await temptrax.add('entry_id', { key: 'value' }, expirationDate);
// Get the entry at some later point in time
try {
const entry = await temptrax.get('entry_id');
} catch (error) {
// entry is expired or doesn't exist
}
Any contributions you make are greatly appreciated.
git checkout -b feature/MyFeature)git commit -m 'Add MyFeature')git push origin feature/MyFeature)Distributed under the MIT License. See LICENSE for more information.
FAQs
Generate entries with expiration date
We found that temptrax 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.