Skip to content

Verify www update artifacts - #141

Open
3em0 wants to merge 1 commit into
AidanPark:mainfrom
3em0:fix/www-integrity-140
Open

Verify www update artifacts#141
3em0 wants to merge 1 commit into
AidanPark:mainfrom
3em0:fix/www-integrity-140

Conversation

@3em0

@3em0 3em0 commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • require full www component metadata before network updates
  • verify downloaded www.zip SHA-256 before extraction and install
  • reject unsafe zip entries that escape the staging directory
  • persist www_version only after a verified update succeeds

Closes #140

Testing

  • git diff --check
  • Not run: ./gradlew :app:testDebugUnitTest --tests com.openclaw.android.ArtifactSecurityTest, ./gradlew :app:ktlintCheck, ./gradlew :app:detekt (this environment has no Java/JDK: JAVA_HOME is not set and no java command is available)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supply chain integrity bypass in updateWww via URL-only www.zip artifact identity

1 participant