
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
This is derived from html5-qrcode and in turn from jsqrcode which is in turn derived from zxing, with numberious community contributions.
This is a port to es6 with various fixes applied from the above projects, some of my own fixes, documentation, etc.
See example.html
for very rough usage.
Run npm install --save qrscan-es6
Add this to your code: import qrscan from 'qrscan
'
Starts scanning with the camera and create a video element to show. This is asynchronous, so do await qrcode.start
to capture errors.
what's being captured.
Parameters
args
Object
args.mount
Element The DOM element to place the video in.args.scannedCallback
function When a QR code is scanned this callback is called with the string.args.debugInfoCallback
function Called with various debug info.args.debugBW
boolean If true, add a canvas below the video that shows the captured data after being converted to black and white.Returns Object A token you should store. The token is used to stop capture.
Stop capture. This doesn't delete any generated DOM elements.
Parameters
token
Object The token returned by start
.FAQs
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
The npm package qrscan-es6 receives a total of 0 weekly downloads. As such, qrscan-es6 popularity was classified as not popular.
We found that qrscan-es6 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.