stellar / js-stellar-base

The lowest-level stellar helper library. It consists of classes to read, write, hash, and sign Stellar xdr
https://stellar.github.io/js-stellar-base/
Apache License 2.0
106 stars 138 forks source link

Upgrade `@stellar/js-xdr` to its latest version alongside other dependencies #726

Closed Shaptic closed 7 months ago

socket-security[bot] commented 7 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/cli@7.23.9 Transitive: environment, eval, filesystem, network, shell, unsafe +82 12 MB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/core@7.23.9 environment, filesystem, unsafe Transitive: shell +51 10.5 MB nicolo-ribaudo
npm/@babel/eslint-parser@7.23.9 unsafe Transitive: environment, eval, filesystem, shell +149 21.4 MB nicolo-ribaudo
npm/@babel/parser@7.23.9 None 0 1.88 MB nicolo-ribaudo
npm/@babel/preset-env@7.23.9 environment Transitive: filesystem, shell, unsafe +159 14.4 MB nicolo-ribaudo
npm/@babel/template@7.23.9 Transitive: environment +15 4.59 MB nicolo-ribaudo
npm/@babel/types@7.23.9 environment +3 2.49 MB nicolo-ribaudo
npm/@stellar/js-xdr@3.1.0 None 0 0 B
npm/@types/node@20.11.10 None +1 4.06 MB types
npm/@typescript-eslint/parser@6.20.0 Transitive: environment, eval, filesystem, shell, unsafe +117 45.3 MB jameshenry
npm/browserslist@4.22.3 environment, filesystem Transitive: shell +5 2.1 MB ai
npm/node-polyfill-webpack-plugin@3.0.0 network, unsafe Transitive: environment, eval, filesystem, shell +167 22.6 MB richienb
npm/sodium-native@4.0.6 Transitive: environment, filesystem +1 4.49 MB emilbayes, mafintosh
npm/webpack@5.90.0 environment, filesystem, network, unsafe Transitive: eval, shell +75 19.2 MB evilebottnawi

🚮 Removed packages: npm/@babel/cli@7.23.4, npm/@babel/core@7.23.7, npm/@babel/eslint-parser@7.23.3, npm/@babel/parser@7.23.6, npm/@babel/preset-env@7.23.8, npm/@babel/types@7.23.6, npm/@stellar/js-xdr@3.0.1, npm/@types/node@20.11.5, npm/@typescript-eslint/parser@6.19.1, npm/browserslist@4.22.2, npm/node-polyfill-webpack-plugin@2.0.1, npm/sodium-native@4.0.5

View full report↗︎

socket-security[bot] commented 7 months 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.

Alert Package NoteSource
Network access npm/webpack@5.90.0
Filesystem access npm/webpack@5.90.0
Debug access npm/webpack@5.90.0
Debug access npm/webpack@5.90.0
Network access npm/webpack@5.90.0
Debug access npm/webpack@5.90.0
Network access npm/webpack@5.90.0

View full report↗︎

Next steps

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is debug access?

Uses debug, reflection and dynamic code execution features.

Removing the use of debug will reduce the risk of any reflection and dynamic code execution.

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/webpack@5.90.0
github-actions[bot] commented 7 months ago

Size Change: +146 B (0%)

Total Size: 3.19 MB

Filename Size Change
dist/stellar-base.js 2.34 MB +73 B (0%)
dist/stellar-base.min.js 850 kB +73 B (0%)

compressed-size-action