Skip to content

Do not leak username to untrusted modules #751

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
bajtos opened this issue Apr 24, 2025 · 1 comment
Open

Do not leak username to untrusted modules #751

bajtos opened this issue Apr 24, 2025 · 1 comment

Comments

@bajtos
Copy link
Member

bajtos commented Apr 24, 2025

We must not leak the filesystem structure when the code is running inside a sandboxed environment. The Checker App files are usually in the user's home directory. The full path includes the username, which is sensitive information we should not leak to untrusted modules. The modules should have access only to the path relative to the project (module) root.

Current path:

file:///Users/bajtos/Library/Caches/app.filstation.desktop/sources/spark/main.js

Proposed path:

file:///ZINNIA/main.js
file://C:\ZINNIA\main.js
@bajtos
Copy link
Member Author

bajtos commented Apr 24, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant