Skip to content
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

feat(wasm): add fdw_package_checksum server option #302

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

burmecia
Copy link
Member

@burmecia burmecia commented Jul 7, 2024

What kind of change does this PR introduce?

This PR is to add fdw_package_checksum server option support.

What is the current behavior?

Currently the remote Wasm package is specified by package name, url and version. This package content isn't checked so it is vulnerable to the security issue mentioned in #301 .

What is the new behavior?

Add fdw_package_checksum server option will make the Wasm package content been checked after download, thus can further protect it from the security issue mentioned above.

Additional context

Note this fdw_package_checksum server option is only required for http:// and https:// package url, for local file and warg protocol the checksum isn't required.

@burmecia burmecia added wasm enhancement New feature or request labels Jul 7, 2024
@burmecia burmecia requested a review from imor July 7, 2024 13:25
@burmecia burmecia merged commit d0dafe6 into main Jul 11, 2024
2 checks passed
@burmecia burmecia deleted the bo/feat/package-checksum branch July 11, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants