
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
1password-js
Advanced tools
1password.js is a library to process 1password Vaults.
You can install via npm:
> npm install 1password-js
1password.js exposes a class that is instantiated with the vault master password and optionally, the profile name, and can be searched with the search method:
const Vault = require('1password-js');
// Somehow we get the master password...
const vault = new Vault(masterPassword);
// Or, supplying a profile name:
const vault = new Vault(masterPassword, 'my-special-profile');
// Searching in the Vault
// `.search` return a Promise that will resolve to the item detail(s)
// or reject
vault.search('Github').then(items => {
// The search may have multiple entries
const password = items[0].itemDetail.fields.find(field => field.designation === 'password').value;
}).catch(() => {
// There wasn't anything found with that title
})
This only currently works on Mac. If you have the location of the vault sqlite database on other systems, create an issue and I'll add it!
MIT
FAQs
1Password Vault Handling in Javascript
We found that 1password-js 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.