Skip to content

Rename the "arduino-ide-extension" NPM package to be scoped #2396

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

Open
Xayton opened this issue Mar 8, 2024 · 0 comments
Open

Rename the "arduino-ide-extension" NPM package to be scoped #2396

Xayton opened this issue Mar 8, 2024 · 0 comments
Labels
topic: infrastructure Related to project infrastructure topic: security Related to the protection of user data type: enhancement Proposed improvement

Comments

@Xayton
Copy link

Xayton commented Mar 8, 2024

Describe the request

The Arduino IDE2 repository package.json file references two sub-packages, using the workspaces functionality. Even if these sub-packages are private, their name can be registered online on npmjs.com and any content can be published in it, including malware. If this happens, NPM or Yarn will report that the Arduino IDE2 project contains malware.

See this reproduction example repo here.

Proposed solution:

  • rename the arduino-ide-extension package (inside this package.json file) to @arduino/arduino-ide-extension making it scoped.
  • update the code to make sure everything works correctly. There is no need to rename the arduino-ide-extension folder.

Notes:

  • Arduino owns the @arduino organization on npmjs.com, so this change should block anybody from publishing again a package containing malware.

Arduino IDE version

2.3.2

@Xayton Xayton added type: enhancement Proposed improvement topic: security Related to the protection of user data labels Mar 8, 2024
@per1234 per1234 added the topic: infrastructure Related to project infrastructure label Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure topic: security Related to the protection of user data type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants