
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@matron/templates
Advanced tools
Parse Realtime messages to feed a Call State Machine
npm install --save @jive/realtime-events
import { ICallEventsAdapter, RealtimeManager, Call } from '@jive/realtime-events';
// Create an adapter to be attached to the State Machine Lifecycle
const adapter: ICallEventsAdapter = {
startIncomingCall: (call: Call) => {
console.log('Receiving Incoming Call');
},
startIncomingConversation: (call: Call) => {
console.log('Answered to an incoming call');
},
timeoutIncomingCall: (call: Call) => {
console.log('Does not answer to an incoming call');
},
startOutgoingCall: (call: Call) => {
console.log('Executing an Outgoing call');
},
startOutgoingConversation: (call: Call) => {
console.log('Recipient picked up the call');
},
timeoutOutgoingCall: (call: Call) => {
console.log('Recipient has not picked up the call');
},
endConversation: (call: Call) => {
console.log('The call is ended');
}
};
// Create a manager by providing the user access token and the custom adapter
const manager = new RealtimeManager(accessToken, adapter);
// Start to listen to Realtime API, and keep-alive events
manager.start();
// Start to listen for a line events
const line = {
id: '267c0d06-2ff2-4dcb-857b-2b7123467b84',
number: '1234',
name: 'Yann Renaudin',
organizationId: '0127d974-f9f3-0704-2dee-000100420001'
};
manager.addSubscription(line);
FAQs
Unknown package
The npm package @matron/templates receives a total of 2 weekly downloads. As such, @matron/templates popularity was classified as not popular.
We found that @matron/templates 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.