dashhive / DashJoin.js

Dash CoinJoin JavaScript (Browser & Node) SDK
https://dashhive.github.io/DashJoin.js/
MIT License
2 stars 0 forks source link

Parsing and creating DSSU, DSQ, and DSI messages #6

Closed wmerfalen closed 1 year ago

wmerfalen commented 1 year ago

Overview

This PR includes code and videos on how to generate CoinJoin dsi messages. While there are many scripts that do denominations and handle addresses, private keys, and transactions, that code is for testing purposes only. No backend CoinJoin code will ever handle those things directly.

This code includes functions to parse and generate:

Some effort has been put into making it easier to test this code by generating DASH and sending it between many different wallets.

https://www.youtube.com/watch?v=vMsnCW9-E5w 6.5 hours https://www.youtube.com/watch?v=N9g0M_GttgY 2.75 hours https://www.youtube.com/watch?v=2T4fo9MwcUM 4.5 hours https://www.youtube.com/watch?v=U2kW3-qmTy4 6.5 hours https://www.youtube.com/watch?v=H0fTudUR138 0.5 hours https://www.youtube.com/watch?v=-ys-pPDablk 5 hours

Total stream hours 25.75 hours

socket-security[bot] commented 1 year ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Issue Package Version Note Source
Native code node-lmdb 0.9.7 package-lock.json, package.json

Next steps

What's wrong with native code?

Contains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.

Ensure that native code bindings are expected. Consumers may consider pure JS and functionally similar alternatives to avoid the challenges and risks associated with native code bindings.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore node-lmdb@0.9.7
socket-security[bot] commented 1 year ago

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives^1 Size Publisher
node-lmdb 🆕 0.9.7 filesystem, shell, environment +2 8.97 MB kriszyp
prettier 🆕 2.8.8 eval, filesystem, environment +0 11.2 MB prettier-bot