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.
go-webauthn-js
Advanced tools
A go webauthn server library compiled with GopherJS. You can run a webauthn server-client in the browser with this!
Uses my fork of duo-labs/webauthn as the primary library, removing some features to trim down the size and replacing libraries with slimmer ones, and borrows heavily from the webauthn example.
See index.html for an example. You may similarly run the server in node, with
npm i go-webauthn-js
Note that this is might be slow, broken and non-performant. Don't use it unless you know what you're doing.
Compile with gopherjs, and optionally minify with the closure compiler
gopherjs build -o go-webauthn.js
java -jar ./closure.jar --js ./go-webauthn.js --js_output_file go-webauthn.min.js
The project initially targeted WASM. You will need Go 1.14+ to compile.
GOOS=js GOARCH=WASM go build -o main.wasm
FAQs
WebAuthn cross compiled from Go to JS
The npm package go-webauthn-js receives a total of 13 weekly downloads. As such, go-webauthn-js popularity was classified as not popular.
We found that go-webauthn-js 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.