
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.
Generates Apple Passboks.
Warning: Not yet production ready! The API is still subject to change without notice and it's using blocking I/O internally.
Pass types:
boardingPass
coupon
eventTicket
storeCard
generic
$ npm install passbooker
$ ./node_modules/passbooker/bin/node-passbooker -c './path/to/Certificates.p12' -o './keys/'
-->
keys
+--- pass.pem
+--- pass-key.pem
+--- WWDR.pem
var path = require('path');
var fs = require('fs');
var Passbooker = require('passbooker');
var templateOptions = {
// Mandatory
passTypeIdentifier:'pass.acmecorp.genericFoo',
teamIdentifier: 'XXXXXXXXXX',
organizationName: 'ACME Corp',
imagePath: path.join( __dirname, 'samples', 'images' ),
keysPath: path.join( __dirname, 'samples', 'keys' ),
// Nice to have
logoText: 'ACME Corp',
description: 'Foo bar'
};
var template = new Passbooker.Template( 'generic', templateOptions );
template
.setPrimaryField( 'headline', 'ACME Generic card' )
var pass = new Passbooker.Pass( template, {
serialNumber: 'foo:bar:1'
});
pass
.setSecondaryField( 'acme_id', 'ID', 'xxxx' )
.setSecondaryField( 'acme_pin', 'PIN', 'xxxx' )
.setBackField( 'acme_id', 'ID', 'xxxx' );
pass.getPackage(function( err, passPackage ) {
if ( !!err ) {
return console.log( err );
}
fs.writeFileSync( './samples/fooBar.pkpass', passPackage );
});
Links:
[Pass package]
+--- icon.png
+--- icon@2x.png
+--- thumbnail.png
+--- thumbnail@2x.png
+--- pass.json
\--- de.lproj
+--- logo.png
+--- logo@2x.png
+--- pass.strings
\--- en.lproj
+--- logo.png
+--- logo@2x.png
+--- pass.strings
FAQs
Generates Apple Passboks
The npm package passbooker receives a total of 0 weekly downloads. As such, passbooker popularity was classified as not popular.
We found that passbooker 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.