Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make it work with large airdrops #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bowd
Copy link

@bowd bowd commented Sep 19, 2024

Update scripts in order for merkle tree generation to work with very large CSVs

@bowd bowd changed the title feat: make it work via sqlite feat: make it work with large airdrops Sep 19, 2024
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@fastify/[email protected] None 0 80.2 kB gurgunday
npm/@gar/[email protected] None 0 4.2 kB gar
npm/@nomicfoundation/[email protected] None 0 12.2 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 12.8 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 17.8 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 17.8 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 19.7 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 19.7 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 13.9 MB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] filesystem, shell 0 129 kB nomic-foundation-publisher
npm/@nomicfoundation/[email protected] None 0 649 kB fvictorio
npm/@nomicfoundation/[email protected] None 0 125 kB fvictorio
npm/@nomicfoundation/[email protected] None 0 647 kB fvictorio
npm/@nomicfoundation/[email protected] network 0 545 kB fvictorio
npm/@nomicfoundation/[email protected] None 0 471 kB alcuadrado
npm/@nomicfoundation/[email protected] None 0 485 kB alcuadrado
npm/@nomicfoundation/[email protected] None 0 2 MB alcuadrado
npm/@nomicfoundation/[email protected] None 0 1.97 MB alcuadrado
npm/@nomicfoundation/[email protected] None 0 1.94 MB alcuadrado
npm/@nomicfoundation/[email protected] None 0 1.93 MB alcuadrado
npm/@nomicfoundation/[email protected] None 0 386 kB alcuadrado
npm/@nomicfoundation/[email protected] filesystem, shell 0 42.1 kB alcuadrado
npm/@nomiclabs/[email protected] None 0 80.9 kB fvictorio
npm/@nomiclabs/[email protected] None 0 49.3 kB fvictorio
npm/@npmcli/[email protected] filesystem 0 41.9 kB nlf
npm/@npmcli/[email protected] filesystem 0 7.89 kB nlf
npm/@protobufjs/[email protected] None 0 9.05 kB dcode
npm/@protobufjs/[email protected] None 0 9.22 kB dcode
npm/@protobufjs/[email protected] None 0 9.14 kB dcode
npm/@protobufjs/[email protected] None 0 7.75 kB dcode
npm/@protobufjs/[email protected] network 0 8.76 kB dcode
npm/@protobufjs/[email protected] None 0 27 kB dcode
npm/@protobufjs/[email protected] None 0 4.29 kB dcode
npm/@protobufjs/[email protected] None 0 7.77 kB dcode
npm/@protobufjs/[email protected] None 0 6.25 kB dcode
npm/@protobufjs/[email protected] None 0 23.5 kB dcode
npm/@tootallnate/[email protected] None 0 4.08 kB tootallnate
npm/@types/[email protected] None 0 3.76 kB types
npm/@types/[email protected] None 0 13.9 kB types
npm/[email protected] None 0 4.78 kB isaacs
npm/[email protected] network 0 43.7 kB fengmk2
npm/[email protected] None 0 7.68 kB nexdrew
npm/[email protected] None 0 8.05 kB iarna
npm/[email protected] None 0 14.3 kB lukekarrys
npm/[email protected] None 0 13.5 kB donutespresso
npm/[email protected] None 0 18.4 kB sindresorhus
npm/[email protected] filesystem 0 76.3 kB nlf
npm/[email protected] None 0 6.14 kB sindresorhus
npm/[email protected] None 0 12.7 kB iarna
npm/[email protected] None 0 1.41 MB david
npm/[email protected] None 0 9.19 kB unclechu
npm/[email protected] None 0 7.46 kB tjholowaychuk
npm/[email protected] filesystem, shell 0 23.6 kB lovell
npm/[email protected] None 0 429 kB explodingcabbage
npm/[email protected] None 0 7.12 kB andris
npm/[email protected] None 0 12.3 kB achingbrain
npm/[email protected] None 0 5.41 kB ralphtheninja
npm/[email protected] None 0 9.35 kB mafintosh
npm/[email protected] None 0 43.2 kB gar
npm/[email protected] None 0 4.61 kB substack
npm/[email protected] environment, filesystem, network, shell 0 3.09 MB kanej
npm/[email protected] environment 0 3.44 kB iarna
npm/[email protected] network 0 17.1 kB tootallnate
npm/[email protected] None 0 3.66 kB dead_horse
npm/[email protected] None 0 11.9 kB jensyt
npm/[email protected] filesystem 0 4.29 kB isaacs
npm/[email protected] None 0 6.47 kB sindresorhus
npm/[email protected] None 0 177 kB beaugunderson
npm/[email protected] None 0 2.94 kB watson
npm/[email protected] None 0 3.89 kB juliangruber
npm/[email protected] None 0 203 kB faleij
npm/[email protected] None 0 36.8 kB creationix
npm/[email protected] None 0 0 B
npm/[email protected] None 0 119 kB dcode
npm/[email protected] environment, network 0 57.6 kB gar
npm/[email protected] None 0 4.87 kB isaacs
npm/[email protected] environment, network 0 43.2 kB isaacs
npm/[email protected] None 0 3.77 kB isaacs
npm/[email protected] None 0 7 kB isaacs
npm/[email protected] None 0 124 kB isaacs
npm/[email protected] filesystem 0 4.5 kB mafintosh
npm/[email protected] None 0 15.5 kB inspiredware
npm/[email protected] None 0 27.4 kB dougwilson
npm/[email protected] None 0 16.2 kB electron-cfa
npm/[email protected] None 0 396 kB legendecas
npm/[email protected] environment, shell 0 1.98 MB rvagg
npm/[email protected] environment 0 25.8 kB isaacs
npm/[email protected] None 0 17.1 kB lukekarrys
npm/[email protected] None 0 3.31 kB sindresorhus
npm/[email protected] environment, filesystem 0 33.9 kB lovell
npm/[email protected] None 0 3.04 kB iarna
npm/[email protected] None 0 15.6 kB achingbrain
npm/[email protected] filesystem, network 0 2.77 MB google-wombot
npm/[email protected] environment, filesystem 0 17.3 kB dominictarr
npm/[email protected] environment 0 87.7 kB matteo.collina
npm/[email protected] None 0 32.2 kB tim-kos
npm/[email protected] None 0 16.9 kB redonkulus
npm/[email protected] None 0 9.96 kB isaacs
npm/[email protected] None 0 138 kB joshglazebrook
npm/[email protected] network 0 22.9 kB kikobeats
npm/[email protected] network 0 156 kB joshglazebrook
npm/[email protected] None 0 39.9 kB alexei
npm/[email protected] None 0 3.35 MB daniellockyer
npm/[email protected] None 0 46.9 kB nlf
npm/[email protected] None 0 15.3 kB matteo.collina
npm/[email protected] filesystem 0 28 kB mafintosh
npm/[email protected] None 0 9.51 kB rvagg
npm/[email protected] environment, network, unsafe 0 1.17 MB matteo.collina
npm/[email protected] None 0 41.4 kB iarna
npm/[email protected] None 0 2.68 kB zkat
npm/[email protected] None 0 3.73 kB sindresorhus
npm/[email protected] eval 0 374 kB josdejong

🚮 Removed packages: npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@nomiclabs/[email protected], npm/@nomiclabs/[email protected], npm/@solidity-parser/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@ungap/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

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

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

Alert Package NoteSourceCI
Native code npm/[email protected] ⚠︎
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/postinstall
⚠︎

View full report↗︎

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.

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

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 ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant