stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Feature Request]: Picklescan as an extension
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
Add a "picklescan" as an extension to prevent mailware.
Proposed workflow
- Install picklescan as an extension from "https://github.com/mmaitre314/picklescan"
- Press scan
- see results :)
Additional information
No response
what the difference between this and the built-in one?
I don't know all A11 internals. Does internal built-in one one also checking in downloaded / attached .ckpt and extensions and shows warning/blocks them? If so, you may close it as redundant.
how about just "pip install picklescan" and then add "picklescan --path models" just above the "call webui.bat" line in webui-user.bat file. This way it's run each time and you can see the results in the command prompt window.
IMO: not experience users may not be clear. Better would be do it automaticly if "new" model appeared in list to save time if you have maaanyyy models, so there is no need to scan them every time. configurable in "Config" section from WebUI
the standard picke scanner works just fine, so i'm not sure what you want here
I would say the current one is more picky since it does not allow a certain ckpt file to be loaded while picklescan says it's fine