Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
electron-printer
Advanced tools
node-printer fork to be used with electron. It's a fork from node-printer which binary are released on github. It's a temporary solution until binary package will be available for node 5.1.x and windows / linux platforms for node-printer on electron runtime. Please refer to https://github.com/tojocky/node-printer on how to use these APIs.
Install the node version used by electron (currently is 5.1.1 for electron 0.36.7).
A github valid NODE_PRE_GYP_GITHUB_TOKEN
must be set as env variable.
Remember to change the binary host with the correct version (see https://github.com/bchr02/node-pre-gyp-github). After the release, build the binaries for each OS.
On Ubuntu 15.10, install:
sudo apt-get install libudev-dev libusb-1.0-0-dev g++-multilib libudev-dev:i386 libcups2-dev
And then run npm run release-linux
(x64) or npm run release-linux-ia32
(ia32) to publish
the binary build
Use a Windows 7 on x64. Install Visual Studio (2013 is OK on Windows 7) and Python 2.7.x
Always specify the VisualStudio version using --msvs_version=xxxx
, foor instance
npm i --msvs_version=2013
Release using npm run release-win --msvs_version=2013
(x64) or npm run release-win-ia32 --msvs_version=2013
(ia32)
After npm i
, just use npm run release-darwin
(npm run release
should work)
FAQs
Node.js printer bindings - electron builds
We found that electron-printer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.