docs: note that script edit access is code execution on the host - #1472
Open
wangsijie wants to merge 1 commit into
Open
docs: note that script edit access is code execution on the host#1472wangsijie wants to merge 1 commit into
wangsijie wants to merge 1 commit into
Conversation
Deploying logto-docs with
|
| Latest commit: |
d73d38b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6e3d27bd.logto-docs.pages.dev |
| Branch Preview URL: | https://wangsijie-log-13960-write-do.logto-docs.pages.dev |
Deploying logto-docs-tutorials with
|
| Latest commit: |
d73d38b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0e5c49b4.logto-docs-tutorials.pages.dev |
| Branch Preview URL: | https://wangsijie-log-13960-write-do.logto-docs-tutorials.pages.dev |
Custom JWT and Actions scripts run inside the self-hosted Logto server process with its privileges, so granting script edit or test access is equivalent to code execution on the Logto host and the Admin Console should not be shared with untrusted users. The Actions warning also described the old `node:vm` runtime; scripts now run on a worker thread whose time and memory bounds contain runaway scripts but are not a security boundary.
wangsijie
force-pushed
the
wangsijie-log-13960-write-docs-note-on-the-oss-trust-model
branch
from
August 12, 2026 11:20
2f2263f to
d73d38b
Compare
charIeszhao
approved these changes
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes LOG-13960.
Custom JWT and Actions scripts run inside the self-hosted Logto server process with its privileges, so granting script edit or test access is equivalent to code execution on the Logto host, and the Admin Console should not be shared with untrusted users. This is stated in the existing security warnings on the two feature pages, where readers already are when the question comes up.
Changes
node:vmpath being removed in this project. Scripts now run on a worker thread whose wall-clock and memory bounds contain runaway scripts but are explicitly not a security boundary.Testing
npx eslintand a fullnpx docusaurus buildboth pass.