
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.
simplychain
Advanced tools
The blockchain implementation using javascript.
Using npm:
$ npm install simplychain
// Import the module
const { SimplyChain } = require('simplychain');
// Or import esm module
// import { SimplyChain } from 'simplychain';
// Create your awesome block chain
let myBlockChain = new SimplyChain();
// Get the last appended block in the chain
// because we haven't added any block yet so the only block in the chain is genesis block
let genesisBlock = myBlockChain.lastBlock;
// Check the first block the chain
console.log(genesisBlock);
// Add transaction
// A transaction can be any type which you would like to store on the blockcahin
let transaction = {
from: 'A',
to: 'B',
amount: '100'
};
myBlockChain.addTransaction(transaction);
// Get the latest block. This will put all current transactions into a block which can be mined and appended to the chain.
let block = myBlockChain.pendingBlock;
block.mineSync( () => {
// proof of work
let nonce = block.nonce;
// append the latest block to the chain
myBlockChain.addBlock(nonce);
// validate the chain is valid
let valid = myBlockChain.validate();
console.log('Successfully mined a block!', nonce, valid);
});
FAQs
Blockchain proof of concept using Javasciprt
We found that simplychain 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.