
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@theprelude/prelude
Advanced tools
Use this library to run continuous security tests on all your endpoints.
This library supplies access to the Prelude API. You must have a valid Prelude account to use it.
It works like this:
Install the prelude library via:
npm install @theprelude/prelude
Import the prelude library via:
let prelude = require('@theprelude/prelude')
You must have a valid Prelude account to run the client library. You'll need the following information to use the client library:
See client_library_test.js for a more detailed quickstart sample.
const Prelude = require('./index.js')
let account = prelude.detect('ACCOUNT_ID', 'ACCOUNT_TOKEN', 'ACCOUNT_KEY');
// Update an account property.
account.updateAccount('outpost_address', 'http://localhost:9753');
// Register a new endpoint.
account.registerEndpoint('host/2').then(token => {
console.log(token);
});
// Print all TTPs in your outpost.
account.getTTP().then(procedures => {
console.log(procedures);
})
// Upload a new TTP.
account.uploadTTP('/tmp/932E8EB2-576B-46E2-8F8A-01CCED72D70C.yml');
// Activate the TTP to run continuously on your endpoints.
account.activateTTP('932E8EB2-576B-46E2-8F8A-01CCED72D70C');
/******************* Once you're done testing *******************/
// Deactivate the TTP.
account.deactivateTTP('932E8EB2-576B-46E2-8F8A-01CCED72D70C');
Prelude publishes new TTPs every week. If you have a professional license, you can use this library to interact with them:
let account = prelude.professional('ACCOUNT_ID', 'ACCOUNT_TOKEN');
// Get a single TTP
account.getTTP('43b3754c-def4-4699-a673-1d85648fda6a');
// Get all TTPs
account.getTTP();
Publish a new version on npmjs.com.
npm publish --access=public
FAQs
For interacting with the Prelude API
We found that @theprelude/prelude 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.