devtools/packages
Alem Tuzlak d018c4c99f
fix(devtools-bundler-core): validate package and import names from the event bus (#545)
The install-devtools and bump-package-version events come from the
unauthenticated event bus. installPackage put the package name into a shell
string for exec(), so "x; touch /tmp/pwned; #" ran the second command.

installPackage now accepts only an npm package name with an optional version
and no leading "-". On macOS and Linux it runs the package manager with
execFile and no shell. Windows still needs a shell for the .cmd shims, and
the pattern allows no cmd.exe syntax.

The plugin import name from the same events is written into the user's
devtools file as code, so it must now be a JavaScript identifier.

Refs #464
History 2026-10-29 16:14:37 +01:00
..
angular-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
devtools feat(devtools): add openAsModal to use the panel over app modal dialogs (#550) 2026-10-29 16:13:15 +01:00
devtools-a11y fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-bundler-core fix(devtools-bundler-core): validate package and import names from the event bus (#545) 2026-10-29 16:14:37 +01:00
devtools-client ci: Version Packages (#475) 2026-06-24 13:21:43 +02:00
devtools-rspack ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
devtools-ui fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-utils fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
devtools-vite ci: Version Packages (#512) 2026-08-20 12:38:11 +02:00
devtools-webmcp ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
event-bus ci: Version Packages (#506) 2026-08-19 18:56:50 +02:00
event-bus-client chore: upgrade Vitest to v4 (#497) 2026-08-12 16:20:22 +02:00
preact-devtools ci: Version Packages (#552) 2026-10-11 13:01:21 -05:00
react-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
solid-devtools fix(solid): cap solid-js peer range at ^1 (#557) 2026-10-29 16:12:35 +01:00
svelte-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00
vue-devtools ci: Version Packages (#530) 2026-09-23 13:31:18 +02:00