Skip to content

Commit a493981

Browse files
committed
Add note in the extension security model
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent e7bf04b commit a493981

File tree

1 file changed

+1
-0
lines changed
  • content/manuals/extensions/extensions-sdk/architecture

1 file changed

+1
-0
lines changed

content/manuals/extensions/extensions-sdk/architecture/security.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ An extension can have the following optional parts:
1616
* Executables deployed on the host machine.
1717

1818
Extensions are executed with the same permissions as the Docker Desktop user. Extension capabilities include running any Docker commands (including running containers and mounting folders), running extension binaries, and accessing files on your machine that are accessible by the user running Docker Desktop.
19+
Note that extensions are not restricted to execute binaries that they list in the [host section](../architecture/metadata.md#host-section) of the extension metadata: since these binaries can contain any code running as user, they can in turn execute any other commands as long as the user has rights to execute them.
1920

2021
The Extensions SDK provides a set of JavaScript APIs to invoke commands or invoke these binaries from the extension UI code. Extensions can also provide a backend part that starts a long-lived running container in the background.
2122

0 commit comments

Comments
 (0)