I asked AI to do an audit of my hybrid plugin. And I was surprised it started fixing the official SDK. So I tried to run the audit only for SDK itself and it found 21 issues. I asked it to create plugin with repro cases and it did.
So with specific JS code and with official SDK I was able e.g.
- crash photoshop
- cause memory leak that persists even after plugin unload
- get wrong error handling
- get wrong data types
etc.
I was able to confirm and verify about half of them manually.
Please check full list here: GitHub - jardicc/uxp-hybrid-plugin-bugs: Issues found within Adobe default hybrid plugin SDK · GitHub
For issues reproducible via JS, you can click button in repro plugin and see for yourself.
cc: @indranil