Skip to content

Commit

Permalink
rfc-1102/tapplet-registry npm deps & supply chain attack risk
Browse files Browse the repository at this point in the history
  • Loading branch information
karczuRF committed Mar 25, 2024
1 parent fe092b3 commit 2566348
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/RFC-1102_TappletsRegistry.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ Tapplets themselfs are packages kept in any registry, like npm.
Let [MetaMask Snaps](https://docs.metamask.io/snaps/learn/about-snaps/) serve as an example.
Github repository is the place where docs, examples, manifest files and so on are stored. Let's assume that every tapplet is an npm package published for specified workspace as e.g. “tari-universe”.

During the discussion about this RFC, it was correctly pointed out that one possible drawback of npm registry is the risk that dependencies will introduce vulnerabilities, which is known as *supply chain attack*. However, by design, tapplets must not have any dependencies required for installation (which should be checked in the add/update process) and must be prepared as production-ready bundles.

To sum up:

- npm stores tapplets
Expand Down Expand Up @@ -255,6 +257,7 @@ Example of `tappletsRegistry.manifest.json` file

# Change Log

| Date | Change | Author |
| :---------- | :---------- | :----- |
| 21 Mar 2024 | First draft | karczu |
| Date | Change | Author |
| :---------- | :------------ | :----- |
| 25 Mar 2024 | npm deps info | karczu |
| 21 Mar 2024 | First draft | karczu |

0 comments on commit 2566348

Please sign in to comment.