Skip to content

Restrict XStream connection deserialization types - #209

Open
belowzeroff wants to merge 1 commit into
timestored:masterfrom
belowzeroff:fix-restrict-xstream-types
Open

Restrict XStream connection deserialization types#209
belowzeroff wants to merge 1 commit into
timestored:masterfrom
belowzeroff:fix-restrict-xstream-types

Conversation

@belowzeroff

Copy link
Copy Markdown

Summary

  • remove unrestricted XStream AnyTypePermission for saved connection XML
  • deny all types by default and allow only the connection DTO/list/value types required for preferences

Testing

  • Verified the bundled XStream 1.4.13 jar exposes the configured security APIs with javap
  • Not run: full Ant build, because ant is not installed in this environment
  • Targeted javac compile could not complete outside the project Ant setup because the current JDK/Lombok combination fails annotation processing and disabling processing exposes existing Lombok-generated symbol errors

@belowzeroff
belowzeroff force-pushed the fix-restrict-xstream-types branch from 21f6fc3 to 8010225 Compare July 22, 2026 05:42
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.

1 participant