Skip to content

Fix plugin discovery logic and restore missing geometry method#3

Merged
srpatcha merged 1 commit intoembeddedos-org:masterfrom
RinZ27:fix/rce-plugin-discovery
Apr 17, 2026
Merged

Fix plugin discovery logic and restore missing geometry method#3
srpatcha merged 1 commit intoembeddedos-org:masterfrom
RinZ27:fix/rce-plugin-discovery

Conversation

@RinZ27
Copy link
Copy Markdown
Member

@RinZ27 RinZ27 commented Apr 16, 2026

Removing the current working directory from the plugin search path is necessary to prevent unauthorized code execution when opening untrusted projects. While testing this change, I noticed the STL exporter tests were failing due to a missing compute_normals method in the Mesh class, likely a regression from the initial extraction.

Restoring this method ensures the test suite passes and improves overall geometry robustness. Both the security fix and the supporting structural fix have been verified locally with the full test suite.

@RinZ27 RinZ27 requested a review from a user April 16, 2026 13:58
@RinZ27 RinZ27 force-pushed the fix/rce-plugin-discovery branch from 9b77d29 to 6bef502 Compare April 16, 2026 14:06
@RinZ27 RinZ27 changed the title Fix: Remove insecure CWD from default plugin discovery paths Fix plugin discovery logic and restore missing geometry method Apr 16, 2026
Copy link
Copy Markdown
Member

@srpatcha srpatcha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Security fix removing CWD from plugin search and compute_normals restoration. CI green.

@srpatcha srpatcha merged commit 2357950 into embeddedos-org:master Apr 17, 2026
2 checks passed
@RinZ27 RinZ27 deleted the fix/rce-plugin-discovery branch April 17, 2026 14:19
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.

2 participants