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

create workspace #101

Merged
merged 12 commits into from
Mar 11, 2024
Merged

create workspace #101

merged 12 commits into from
Mar 11, 2024

Conversation

acharb
Copy link
Contributor

@acharb acharb commented Mar 4, 2024

moving sdk code into a workspace to create a more modular architecture (adding KeyManager in another workspace in separate PR)

see discussion here

Copy link

socket-security bot commented Mar 4, 2024

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

Package New capabilities Transitives Size Publisher
npm/@albedo-link/[email protected] None 0 162 kB orbitlens
npm/@babel/[email protected] None +2 63.5 kB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem, unsafe Transitive: shell +31 9.62 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +6 3.26 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +58 11.4 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +64 11.7 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +4 2.55 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +2 2.53 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +15 5.1 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.7 kB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +2 2.53 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 51.7 kB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +11 5.46 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.95 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +86 20.5 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +86 20.5 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +89 20.6 MB nicolo-ribaudo
npm/@babel/[email protected] environment Transitive: filesystem, shell, unsafe +161 15.5 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment, filesystem, shell, unsafe +96 21.2 MB nicolo-ribaudo
npm/@babel/[email protected] None +1 290 kB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +5 4.55 MB nicolo-ribaudo
npm/@eslint-community/[email protected] None 0 431 kB eslint-community-bot
npm/@jridgewell/[email protected] None +4 368 kB jridgewell
npm/@jridgewell/[email protected] None 0 45.9 kB jridgewell
npm/@jridgewell/[email protected] None +2 268 kB jridgewell
npm/@ledgerhq/[email protected] None 0 189 kB ldg-github-ci
npm/@ledgerhq/[email protected] None +13 5.63 MB ldg-github-ci
npm/@ledgerhq/[email protected] None +9 5.66 MB gre
npm/@ledgerhq/[email protected] None 0 36.3 kB sergii-shkolin
npm/@stellar/[email protected] None 0 58.8 kB piyalbasu
npm/@stellar/[email protected] Transitive: environment, filesystem, network +27 47.7 MB stellar-npm-ci
npm/@trezor/[email protected] None +1 365 kB trezor-ci
npm/@trezor/[email protected] Transitive: environment, filesystem +1 27.9 kB trezor-ci
npm/@types/[email protected] Transitive: environment +4 2.58 MB types
npm/@types/[email protected] None 0 25.7 kB types
npm/@types/[email protected] None 0 5.45 kB types
npm/@types/[email protected] Transitive: environment, filesystem, unsafe +48 5.79 MB types
npm/@types/[email protected] None 0 32.2 kB types
npm/@types/[email protected] None 0 31.7 kB types
npm/@types/[email protected] None 0 23.3 kB types
npm/@typescript-eslint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +123 48.8 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: filesystem +15 3.01 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +118 45.7 MB jameshenry
npm/@typescript-eslint/[email protected] None 0 156 kB jameshenry
npm/@typescript-eslint/[email protected] Transitive: filesystem +5 1.26 MB jameshenry
npm/[email protected] None 0 531 kB marijn
npm/[email protected] unsafe +2 144 kB indutny
npm/[email protected] None +1 31.3 kB ljharb
npm/[email protected] environment Transitive: eval, filesystem, network, shell, unsafe +148 17.8 MB simenb
npm/[email protected] Transitive: environment, unsafe +31 874 kB ljharb
npm/[email protected] environment, filesystem Transitive: shell +5 2.26 MB ai
npm/[email protected] Transitive: eval +11 231 kB ljharb
npm/[email protected] Transitive: environment, filesystem, shell +7 3.11 MB zloirock
npm/[email protected] Transitive: eval +8 179 kB ljharb
npm/[email protected] None +6 291 kB indutny
npm/[email protected] unsafe Transitive: environment, filesystem +3 301 kB evilebottnawi
npm/[email protected] Transitive: eval +58 3.29 MB ljharb
npm/[email protected] None 0 12.3 kB ljharb
npm/[email protected] Transitive: environment, filesystem, unsafe +47 5.72 MB simenb
npm/[email protected] eval +5 129 kB ljharb
npm/[email protected] environment, filesystem 0 32.5 kB isaacs
npm/[email protected] Transitive: eval +7 152 kB ljharb
npm/[email protected] None 0 12 kB ljharb
npm/[email protected] None +1 38.2 kB ljharb
npm/[email protected] None +1 42.6 kB ljharb
npm/[email protected] environment, filesystem, shell 0 3.61 kB typicode
npm/[email protected] None 0 51.5 kB kael
npm/[email protected] Transitive: eval +12 250 kB ljharb
npm/[email protected] None 0 3.89 kB juliangruber
npm/[email protected] None 0 34.4 kB oss-bot
npm/[email protected] None 0 5.99 kB sir-people
npm/[email protected] environment Transitive: filesystem +17 4.89 MB simenb
npm/[email protected] Transitive: environment, eval, filesystem, network, shell, unsafe +276 23.3 MB simenb
npm/[email protected] filesystem +3 131 kB lmaccherone
npm/[email protected] Transitive: environment, unsafe +16 409 kB ljharb
npm/[email protected] Transitive: environment +4 546 kB simenb
npm/[email protected] environment, filesystem +5 232 kB ljharb
npm/[email protected] environment Transitive: eval +10 1.74 MB evilebottnawi
npm/[email protected] None 0 33.6 kB dchest
npm/[email protected] Transitive: environment, eval +12 7.75 MB fatso83
npm/[email protected] Transitive: network +10 1.73 MB trezor-ci
npm/[email protected] environment, filesystem, unsafe Transitive: eval, network, shell +281 55.7 MB kul
npm/[email protected] filesystem Transitive: environment, eval, network, shell, unsafe +89 52.3 MB johnnyreilly
npm/[email protected] None 0 84 kB typescript-bot
npm/[email protected] None 0 8.14 kB dchest
npm/[email protected] None 0 32 MB typescript-bot
npm/[email protected] environment, filesystem, unsafe Transitive: eval, network, shell +140 26.4 MB evilebottnawi
npm/[email protected] environment, filesystem, network, unsafe Transitive: eval, shell +93 24.9 MB evilebottnawi

🚮 Removed packages: npm/@babel/[email protected], npm/@typescript-eslint/[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

socket-security bot commented Mar 4, 2024

🚨 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/[email protected]
Network access npm/[email protected]
Network access npm/[email protected]
Network access npm/[email protected]
Filesystem access npm/[email protected]
Network access npm/[email protected]
Debug access npm/[email protected]
Debug access npm/[email protected]
Non OSI license npm/[email protected]
  • License: CC-BY-4.0
Filesystem access npm/[email protected]
Debug access npm/[email protected]
Filesystem access npm/[email protected]
Filesystem access npm/[email protected]
Debug access npm/[email protected]
Non OSI license npm/[email protected]
  • License: CC-BY-4.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.

What is a non OSI license?

(Experimental) Package has a non-OSI-approved license.

Consider the terms of the license for your given use case.

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

@acharb acharb requested review from piyalbasu, Ifropc and CassioMG March 5, 2024 18:07
@acharb
Copy link
Contributor Author

acharb commented Mar 5, 2024

fyi working on fixing the socket alerts

* add km package

* fix tests

* cleanup
@acharb acharb merged commit 3940812 into release/1.4.0 Mar 11, 2024
4 of 5 checks passed
@acharb acharb deleted the acharb-workspace2 branch March 11, 2024 19:39
@Ifropc
Copy link
Contributor

Ifropc commented Mar 15, 2024

@acharb can you check failing pipeline please? 🙏🏼

@acharb
Copy link
Contributor Author

acharb commented Mar 18, 2024

@Ifropc are you referring to the socket security? discussed with Piyal here

the socket-security checks I looked into, and fixed the ones needing. The ones left are due to "Unstable Ownership". But I looked into it and its due to a code maintainer changing, but doesn't look malicious

acharb added a commit that referenced this pull request Mar 26, 2024
* fix broken test (#93)

* add sep10 sign challenge txn helper (#95)

* add sep10 helper method

* name change

* correct resp

* create server module

* add npm publish gha (#96)

* WAL-1064 - add anchor platform integration tests (#99)

* create workspace (#101)

* create workspace

* try

* try

* try

* try

* cleanup

* update anchor platform docker run

* fix

* fix

* upgrade babel/traverse

* upgrade browserify-sign

* add keypair package in a second workspace (#102)

* add km package

* fix tests

* cleanup

* add second CD (#109)

* fix stellar-sdk imports (#112)

* fix imports

* fix

* preparing for 1.4.0 release stuff (#110)

* fix

* fix webpack process

* webpack fix (#113)

* webpack fix

* cleanup

* add helper for parsing AnchorTransaction (#111)

* add helper for parsing AnchorTransaction

* use kind

* add try-catch

---------

Co-authored-by: Alec Charbonneau <[email protected]>
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.

3 participants