
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.
@jluboff/cryptofile
Advanced tools
A file/password encryptor/decryptor module written with native NodeJS modules
A file/password encryptor/decryptor module written with native NodeJS modules
npm install cryptofile
Typescript
import CryptoFile from 'cryptofile';
const cryptoFile = new CryptoFile({ secretKey: 'My32CharacterLongSecretKey123456'}) //Secretkey of length 32 must be provided
// Create encrypted password
const encryptedPassword = cryptoFile.encryptPassword() // Optionally provide password of length 32
// Decrypt hashed password
const decryptedPassword = cryptoFile.decryptPassword(encryptedPassword)
// Create encrypted file
const newFilePathWithExtension = await cryptoFile.encryptFile('../path/to/file') // If filepath was not provided in original instantiation, it must be provided
// Decrypt hashed file
const newFilePathLocation = await cryptoFile.decryptFile({filePath: '../path/to/file'}) //If filepath was not provided in original instantiation, it must be provided
Contributions are welcome, please submit a PR which will be reviewed.
Please report issues/errors to Github's issue tracker: CryptoFile issue tracker. Include issue, expected behavior, and how to replicate the issue.
FAQs
A file/password encryptor/decryptor module written with native NodeJS modules
We found that @jluboff/cryptofile 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.