vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.48k stars 400 forks source link

[Security Issue?]: Pickle Scanner shows infected files in freshly downloaded "venv" folder #2795

Closed Carathon closed 7 months ago

Carathon commented 7 months ago

Issue Description

Pickle Scanner (https://github.com/diStyApps/Stable-Diffusion-Pickle-Scanner-GUI.git) showed "infected" files while scanning. Could be false positive founds. Infected Files screenshot

Version Platform Description

Linux Mint 21.3

Relevant log output

(base) carathon@LinuxMintVictoria:/media/carathon/StableDiffusion/automatic$ ./webui.sh --debug --autolaunch
Create and activate python venv
Launching launch.py...
17:50:38-397619 INFO     Starting SD.Next                                       
17:50:38-399580 INFO     Logger:                                                
                         file="/media/carathon/StableDiffusion/automatic/sdnext.
                         log" level=DEBUG size=64 mode=create                   
17:50:38-400402 INFO     Python 3.11.5 on Linux                                 
17:50:38-408435 INFO     Version: app=sd.next updated=2024-01-30 hash=9bf08c54  
                         url=https://github.com/vladmandic/automatic.git/tree/ma
                         ster                                                   
17:50:38-412433 INFO     Platform: arch=x86_64 cpu=x86_64 system=Linux          
                         release=6.5.0-15-generic python=3.11.5                 
17:50:38-418661 DEBUG    Setting environment tuning                             
17:50:38-419334 DEBUG    Cache folder: /home/carathon/.cache/huggingface/hub    
17:50:38-419849 DEBUG    Torch overrides: cuda=False rocm=False ipex=False      
                         diml=False openvino=False                              
17:50:38-420497 DEBUG    Torch allowed: cuda=True rocm=True ipex=True diml=True 
                         openvino=True                                          
17:50:38-421109 DEBUG    Package not found: onnxruntime                         
17:50:38-421536 INFO     Installing package: onnxruntime                        
17:50:38-421949 DEBUG    Running pip: install --upgrade onnxruntime             
17:50:44-324341 INFO     AMD ROCm toolkit detected                              
17:50:44-345751 DEBUG    ROCm agents detected: ['gfx1031']                      
17:50:44-346556 DEBUG    ROCm agent used by default: idx=0 gpu=gfx1031          
                         arch=navi2x                                            
17:50:44-390066 DEBUG    ROCm version detected: 5.7                             
17:50:44-390830 DEBUG    Package not found: torch                               
17:50:44-391301 DEBUG    Package not found: torchvision                         
17:50:44-391747 INFO     Installing package: torch torchvision --pre --index-url
                         https://download.pytorch.org/whl/nightly/rocm5.7       
17:50:44-392277 DEBUG    Running pip: install --upgrade torch torchvision --pre 
                         --index-url                                            
                         https://download.pytorch.org/whl/nightly/rocm5.7       
17:52:39-108321 DEBUG    Repository update time: Tue Jan 30 15:29:51 2024       
17:52:39-109067 INFO     Startup: standard                                      
17:52:39-109489 INFO     Verifying requirements                                 
17:52:39-110225 DEBUG    Package not found: addict                              
17:52:39-110670 INFO     Installing package: addict                             
17:52:39-111081 DEBUG    Running pip: install --upgrade addict                  
17:52:39-736223 DEBUG    Package not found: aenum                               
17:52:39-736900 INFO     Installing package: aenum                              
17:52:39-737325 DEBUG    Running pip: install --upgrade aenum                   
17:52:40-366688 DEBUG    Package not found: aiohttp                             
17:52:40-367547 INFO     Installing package: aiohttp                            
17:52:40-367994 DEBUG    Running pip: install --upgrade aiohttp                 
17:52:41-971847 DEBUG    Package not found: anyio                               
17:52:41-972634 INFO     Installing package: anyio                              
17:52:41-973093 DEBUG    Running pip: install --upgrade anyio                   
17:52:42-729391 DEBUG    Package not found: appdirs                             
17:52:42-730234 INFO     Installing package: appdirs                            
17:52:42-730799 DEBUG    Running pip: install --upgrade appdirs                 
17:52:43-324150 DEBUG    Package not found: astunparse                          
17:52:43-324895 INFO     Installing package: astunparse                         
17:52:43-325331 DEBUG    Running pip: install --upgrade astunparse              
17:52:43-992891 DEBUG    Package not found: blendmodes                          
17:52:43-993767 INFO     Installing package: blendmodes                         
17:52:43-994330 DEBUG    Running pip: install --upgrade blendmodes              
17:52:45-076944 DEBUG    Package not found: clean-fid                           
17:52:45-077675 INFO     Installing package: clean-fid                          
17:52:45-078170 DEBUG    Running pip: install --upgrade clean-fid               
17:52:48-253866 DEBUG    Package not found: easydev                             
17:52:48-254661 INFO     Installing package: easydev                            
17:52:48-255131 DEBUG    Running pip: install --upgrade easydev                 
17:52:49-169946 DEBUG    Package not found: extcolors                           
17:52:49-170741 INFO     Installing package: extcolors                          
17:52:49-171202 DEBUG    Running pip: install --upgrade extcolors               
17:52:49-828045 DEBUG    Package not found: facexlib                            
17:52:49-828803 INFO     Installing package: facexlib                           
17:52:49-829260 DEBUG    Running pip: install --upgrade facexlib                
17:52:56-401963 DEBUG    Package not found: filetype                            
17:52:56-402745 INFO     Installing package: filetype                           
17:52:56-403168 DEBUG    Running pip: install --upgrade filetype                
17:52:57-105363 DEBUG    Package not found: future                              
17:52:57-106229 INFO     Installing package: future                             
17:52:57-106906 DEBUG    Running pip: install --upgrade future                  
17:52:57-920275 DEBUG    Package not found: gdown                               
17:52:57-921008 INFO     Installing package: gdown                              
17:52:57-921463 DEBUG    Running pip: install --upgrade gdown                   
17:52:58-988143 DEBUG    Package not found: gfpgan                              
17:52:58-989277 INFO     Installing package: gfpgan                             
17:52:58-989862 DEBUG    Running pip: install --upgrade gfpgan                  
17:53:05-445125 DEBUG    Package not found: GitPython                           
17:53:05-445877 INFO     Installing package: GitPython                          
17:53:05-446308 DEBUG    Running pip: install --upgrade GitPython               
17:53:06-481074 DEBUG    Package not found: httpcore                            
17:53:06-481955 INFO     Installing package: httpcore                           
17:53:06-482510 DEBUG    Running pip: install --upgrade httpcore                
17:53:07-359739 DEBUG    Package not found: inflection                          
17:53:07-360547 INFO     Installing package: inflection                         
17:53:07-361113 DEBUG    Running pip: install --upgrade inflection              
17:53:08-147460 DEBUG    Package not found: jsonmerge                           
17:53:08-148181 INFO     Installing package: jsonmerge                          
17:53:08-148675 DEBUG    Running pip: install --upgrade jsonmerge               
17:53:09-510834 DEBUG    Package not found: kornia                              
17:53:09-511615 INFO     Installing package: kornia                             
17:53:09-512131 DEBUG    Running pip: install --upgrade kornia                  
17:53:10-717523 DEBUG    Package not found: lark                                
17:53:10-718295 INFO     Installing package: lark                               
17:53:10-718818 DEBUG    Running pip: install --upgrade lark                    
17:53:11-552639 DEBUG    Package not found: lmdb                                
17:53:11-553444 INFO     Installing package: lmdb                               
17:53:11-553948 DEBUG    Running pip: install --upgrade lmdb                    
17:53:12-354931 DEBUG    Package not found: lpips                               
17:53:12-355930 INFO     Installing package: lpips                              
17:53:12-356465 DEBUG    Running pip: install --upgrade lpips                   
17:53:13-284193 DEBUG    Package not found: omegaconf                           
17:53:13-284936 INFO     Installing package: omegaconf                          
17:53:13-285371 DEBUG    Running pip: install --upgrade omegaconf               
17:53:14-250180 DEBUG    Package not found: open-clip-torch                     
17:53:14-250958 INFO     Installing package: open-clip-torch                    
17:53:14-251426 DEBUG    Running pip: install --upgrade open-clip-torch         
17:53:17-018461 DEBUG    Package not found: piexif                              
17:53:17-019201 INFO     Installing package: piexif                             
17:53:17-019670 DEBUG    Running pip: install --upgrade piexif                  
17:53:17-919915 DEBUG    Package not found: psutil                              
17:53:17-920691 INFO     Installing package: psutil                             
17:53:17-921225 DEBUG    Running pip: install --upgrade psutil                  
17:53:18-990770 DEBUG    Package not found: pyyaml                              
17:53:18-991500 INFO     Installing package: pyyaml                             
17:53:18-991939 DEBUG    Running pip: install --upgrade pyyaml                  
17:53:19-878058 DEBUG    Package not found: resize-right                        
17:53:19-878850 INFO     Installing package: resize-right                       
17:53:19-879288 DEBUG    Running pip: install --upgrade resize-right            
17:53:20-760324 DEBUG    Package not found: rich                                
17:53:20-761055 INFO     Installing package: rich                               
17:53:20-761487 DEBUG    Running pip: install --upgrade rich                    
17:53:21-699208 DEBUG    Package not found: safetensors                         
17:53:21-700091 INFO     Installing package: safetensors                        
17:53:21-700669 DEBUG    Running pip: install --upgrade safetensors             
17:53:22-683246 DEBUG    Package not found: scipy                               
17:53:22-684042 INFO     Installing package: scipy                              
17:53:22-684508 DEBUG    Running pip: install --upgrade scipy                   
17:53:23-651830 DEBUG    Package not found: tb_nightly                          
17:53:23-652541 INFO     Installing package: tb_nightly                         
17:53:23-653005 DEBUG    Running pip: install --upgrade tb_nightly              
17:53:24-894611 DEBUG    Package not found: tensordict                          
17:53:24-895525 INFO     Installing package: tensordict                         
17:53:24-895984 DEBUG    Running pip: install --upgrade tensordict              
17:53:26-050638 DEBUG    Package not found: toml                                
17:53:26-051580 INFO     Installing package: toml                               
17:53:26-052233 DEBUG    Running pip: install --upgrade toml                    
17:53:26-976888 DEBUG    Package not found: torchdiffeq                         
17:53:26-977690 INFO     Installing package: torchdiffeq                        
17:53:26-978160 DEBUG    Running pip: install --upgrade torchdiffeq             
17:53:27-950001 DEBUG    Package not found: voluptuous                          
17:53:27-950803 INFO     Installing package: voluptuous                         
17:53:27-951259 DEBUG    Running pip: install --upgrade voluptuous              
17:53:29-013297 DEBUG    Package not found: yapf                                
17:53:29-014469 INFO     Installing package: yapf                               
17:53:29-015270 DEBUG    Running pip: install --upgrade yapf                    
17:53:29-971283 DEBUG    Package not found: scikit-image                        
17:53:29-972020 INFO     Installing package: scikit-image                       
17:53:29-972466 DEBUG    Running pip: install --upgrade scikit-image            
17:53:31-008135 DEBUG    Package not found: basicsr                             
17:53:31-009061 INFO     Installing package: basicsr                            
17:53:31-009654 DEBUG    Running pip: install --upgrade basicsr                 
17:53:32-199069 DEBUG    Package not found: fasteners                           
17:53:32-199877 INFO     Installing package: fasteners                          
17:53:32-200320 DEBUG    Running pip: install --upgrade fasteners               
17:53:33-148431 DEBUG    Package not found: dctorch                             
17:53:33-149148 INFO     Installing package: dctorch                            
17:53:33-149572 DEBUG    Running pip: install --upgrade dctorch                 
17:53:34-166229 DEBUG    Package not found: pymatting                           
17:53:34-167022 INFO     Installing package: pymatting                          
17:53:34-167566 DEBUG    Running pip: install --upgrade pymatting               
17:53:35-146148 DEBUG    Package not found: httpx                               
17:53:35-146951 INFO     Installing package: httpx==0.24.1                      
17:53:35-147559 DEBUG    Running pip: install --upgrade httpx==0.24.1           
17:53:36-237674 DEBUG    Package not found: compel                              
17:53:36-238474 INFO     Installing package: compel==2.0.2                      
17:53:36-239156 DEBUG    Running pip: install --upgrade compel==2.0.2           
17:53:41-484273 DEBUG    Package not found: torchsde                            
17:53:41-485060 INFO     Installing package: torchsde==0.2.6                    
17:53:41-485585 DEBUG    Running pip: install --upgrade torchsde==0.2.6         
17:53:42-782739 DEBUG    Package not found: clip-interrogator                   
17:53:42-783535 INFO     Installing package: clip-interrogator==0.6.0           
17:53:42-784079 DEBUG    Running pip: install --upgrade clip-interrogator==0.6.0
17:53:44-452363 DEBUG    Package not found: antlr4-python3-runtime              
17:53:44-453130 INFO     Installing package: antlr4-python3-runtime==4.9.3      
17:53:44-453676 DEBUG    Running pip: install --upgrade                         
                         antlr4-python3-runtime==4.9.3                          
17:53:45-567056 DEBUG    Package not found: requests                            
17:53:45-567847 INFO     Installing package: requests==2.31.0                   
17:53:45-568363 DEBUG    Running pip: install --upgrade requests==2.31.0        
17:53:46-797966 DEBUG    Package not found: tqdm                                
17:53:46-798808 INFO     Installing package: tqdm==4.66.1                       
17:53:46-799293 DEBUG    Running pip: install --upgrade tqdm==4.66.1            
17:53:47-986599 DEBUG    Package not found: accelerate                          
17:53:47-987455 INFO     Installing package: accelerate==0.25.0                 
17:53:47-988075 DEBUG    Running pip: install --upgrade accelerate==0.25.0      
17:53:49-459886 DEBUG    Package not found: opencv-contrib-python-headless      
17:53:49-460758 INFO     Installing package:                                    
                         opencv-contrib-python-headless==4.8.1.78               
17:53:49-461421 DEBUG    Running pip: install --upgrade                         
                         opencv-contrib-python-headless==4.8.1.78               
17:53:51-780103 DEBUG    Package not found: diffusers                           
17:53:51-780961 INFO     Installing package: diffusers==0.25.0                  
17:53:51-781579 DEBUG    Running pip: install --upgrade diffusers==0.25.0       
17:53:53-720925 DEBUG    Package not found: einops                              
17:53:53-721750 INFO     Installing package: einops==0.4.1                      
17:53:53-722358 DEBUG    Running pip: install --upgrade einops==0.4.1           
17:53:54-883053 DEBUG    Package not found: gradio                              
17:53:54-883968 INFO     Installing package: gradio==3.43.2                     
17:53:54-884511 DEBUG    Running pip: install --upgrade gradio==3.43.2          
17:54:03-351297 DEBUG    Package not found: huggingface_hub                     
17:54:03-352171 INFO     Installing package: huggingface_hub==0.20.1            
17:54:03-352730 DEBUG    Running pip: install --upgrade huggingface_hub==0.20.1 
17:54:04-945647 DEBUG    Package not found: numexpr                             
17:54:04-946455 INFO     Installing package: numexpr==2.8.4                     
17:54:04-947034 DEBUG    Running pip: install --upgrade numexpr==2.8.4          
17:54:06-377043 DEBUG    Package not found: numpy                               
17:54:06-377762 INFO     Installing package: numpy==1.24.4                      
17:54:06-378237 DEBUG    Running pip: install --upgrade numpy==1.24.4           
17:54:09-295539 DEBUG    Package not found: numba                               
17:54:09-296494 INFO     Installing package: numba==0.57.1                      
17:54:09-297197 DEBUG    Running pip: install --upgrade numba==0.57.1           
17:54:12-987121 DEBUG    Package not found: pandas                              
17:54:12-987835 INFO     Installing package: pandas==1.5.3                      
17:54:12-988365 DEBUG    Running pip: install --upgrade pandas==1.5.3           
17:54:16-791181 DEBUG    Package not found: protobuf                            
17:54:16-791868 INFO     Installing package: protobuf==3.20.3                   
17:54:16-792349 DEBUG    Running pip: install --upgrade protobuf==3.20.3        
17:54:18-204116 DEBUG    Package not found: pytorch_lightning                   
17:54:18-205074 INFO     Installing package: pytorch_lightning==1.9.4           
17:54:18-205631 DEBUG    Running pip: install --upgrade pytorch_lightning==1.9.4
17:54:20-411007 DEBUG    Package not found: tokenizers                          
17:54:20-411830 INFO     Installing package: tokenizers==0.15.0                 
17:54:20-412429 DEBUG    Running pip: install --upgrade tokenizers==0.15.0      
17:54:22-101730 DEBUG    Package not found: transformers                        
17:54:22-102449 INFO     Installing package: transformers==4.36.2               
17:54:22-102937 DEBUG    Running pip: install --upgrade transformers==4.36.2    
17:54:26-551886 DEBUG    Package not found: tomesd                              
17:54:26-552745 INFO     Installing package: tomesd==0.1.3                      
17:54:26-553388 DEBUG    Running pip: install --upgrade tomesd==0.1.3           
17:54:27-894868 DEBUG    Package not found: urllib3                             
17:54:27-895630 INFO     Installing package: urllib3==1.26.18                   
17:54:27-896168 DEBUG    Running pip: install --upgrade urllib3==1.26.18        
17:54:29-270193 DEBUG    Package not found: Pillow                              
17:54:29-270987 INFO     Installing package: Pillow==10.1.0                     
17:54:29-271481 DEBUG    Running pip: install --upgrade Pillow==10.1.0          
17:54:30-912918 DEBUG    Package not found: timm                                
17:54:30-913708 INFO     Installing package: timm==0.9.12                       
17:54:30-914243 DEBUG    Running pip: install --upgrade timm==0.9.12            
17:54:32-336741 DEBUG    Package not found: pydantic                            
17:54:32-337448 INFO     Installing package: pydantic==1.10.13                  
17:54:32-337931 DEBUG    Running pip: install --upgrade pydantic==1.10.13       
17:54:33-899023 DEBUG    Package not found: typing-extensions                   
17:54:33-899801 INFO     Installing package: typing-extensions==4.9.0           
17:54:33-900315 DEBUG    Running pip: install --upgrade typing-extensions==4.9.0
17:54:35-439789 DEBUG    Package not found: peft                                
17:54:35-440498 INFO     Installing package: peft                               
17:54:35-441006 DEBUG    Running pip: install --upgrade peft                    
17:54:37-175329 INFO     Verifying packages                                     
17:54:37-176014 DEBUG    Package not found: clip                                
17:54:37-176434 INFO     Installing package:                                    
                         git+https://github.com/openai/CLIP.git                 
17:54:37-176914 DEBUG    Running pip: install --upgrade                         
                         git+https://github.com/openai/CLIP.git                 
17:54:40-418541 DEBUG    Package not found: invisible-watermark                 
17:54:40-419349 INFO     Installing package:                                    
                         git+https://github.com/patrickvonplaten/invisible-water
                         mark.git@remove_onnxruntime_depedency                  
17:54:40-419955 DEBUG    Running pip: install --upgrade                         
                         git+https://github.com/patrickvonplaten/invisible-water
                         mark.git@remove_onnxruntime_depedency                  
17:54:44-320242 DEBUG    Package not found: pi_heif                             
17:54:44-321051 INFO     Installing package: pi-heif                            
17:54:44-321514 DEBUG    Running pip: install --upgrade pi-heif                 
17:54:46-317604 DEBUG    Package not found: tensorflow-rocm                     
17:54:46-318368 INFO     Installing package: tensorflow-rocm                    
17:54:46-318843 DEBUG    Running pip: install --upgrade tensorflow-rocm         
17:55:05-928450 INFO     Verifying submodules                                   
17:55:30-469045 DEBUG    Submodule: extensions-builtin/sd-extension-chainner /  
                         main                                                   
17:55:30-480848 DEBUG    Submodule: extensions-builtin/sd-extension-system-info 
                         / main                                                 
17:55:30-489120 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler 
                         / main                                                 
17:55:30-504100 DEBUG    Submodule: extensions-builtin/sd-webui-controlnet /    
                         main                                                   
17:55:30-551435 DEBUG    Submodule:                                             
                         extensions-builtin/stable-diffusion-webui-images-browse
                         r / main                                               
17:55:30-559186 DEBUG    Submodule:                                             
                         extensions-builtin/stable-diffusion-webui-rembg /      
                         master                                                 
17:55:30-567760 DEBUG    Submodule: modules/k-diffusion / master                
17:55:30-575522 DEBUG    Submodule: modules/lora / main                         
17:55:30-627100 DEBUG    Submodule: wiki / master                               
17:55:30-632951 DEBUG    Register paths                                         
17:55:30-668262 DEBUG    Installed packages: 192                                
17:55:30-669317 DEBUG    Extensions all: ['sd-webui-controlnet',                
                         'sd-extension-chainner', 'Lora',                       
                         'sd-webui-agent-scheduler', 'sd-extension-system-info',
                         'stable-diffusion-webui-rembg',                        
                         'stable-diffusion-webui-images-browser']               
17:55:30-670409 DEBUG    Running extension installer:                           
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/sd-webui-controlnet/install.py                   
17:55:47-061353 INFO     Extension installed packages: sd-webui-controlnet      
                         ['depth-anything==2024.1.22.0',                        
                         'handrefinerportable==2024.1.18.0', 'svg.path==6.3',   
                         'chardet==5.2.0', 'lxml==5.1.0',                       
                         'opencv-contrib-python==4.9.0.80', 'trimesh==4.1.3',   
                         'reportlab==4.0.9', 'xxhash==3.4.1', 'pycparser==2.21',
                         'embreex==2.17.7.post4', 'portalocker==2.8.2',         
                         'shapely==2.0.2', 'cffi==1.16.0', 'svglib==1.5.1',     
                         'tinycss2==1.2.1', 'Rtree==1.2.0',                     
                         'mapbox-earcut==1.0.1', 'mediapipe==0.10.9',           
                         'tabulate==0.9.0', 'pycollada==0.8',                   
                         'cssselect2==0.7.0', 'webencodings==0.5.1',            
                         'sounddevice==0.4.6', 'iopath==0.1.9', 'yacs==0.1.8',  
                         'fvcore==0.1.5.post20221221', 'vhacdx==0.0.5']         
17:55:47-129067 DEBUG    Running extension installer:                           
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/sd-webui-agent-scheduler/install.py              
17:55:49-843424 INFO     Extension installed packages: sd-webui-agent-scheduler 
                         ['greenlet==3.0.3', 'SQLAlchemy==2.0.25']              
17:55:49-844217 DEBUG    Running extension installer:                           
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/sd-extension-system-info/install.py              
17:55:49-988438 DEBUG    Running extension installer:                           
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/stable-diffusion-webui-rembg/install.py          
17:55:51-642221 INFO     Extension installed packages:                          
                         stable-diffusion-webui-rembg ['pooch==1.8.0']          
17:55:51-643046 DEBUG    Running extension installer:                           
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/stable-diffusion-webui-images-browser/install.py 
17:55:53-274220 INFO     Extension installed packages:                          
                         stable-diffusion-webui-images-browser                  
                         ['Send2Trash==1.8.2']                                  
17:55:53-275132 DEBUG    Extensions all: []                                     
17:55:53-275625 INFO     Extensions enabled: ['sd-webui-controlnet',            
                         'sd-extension-chainner', 'Lora',                       
                         'sd-webui-agent-scheduler', 'sd-extension-system-info',
                         'stable-diffusion-webui-rembg',                        
                         'stable-diffusion-webui-images-browser']               
17:55:53-276231 INFO     Verifying requirements                                 
17:55:53-286634 DEBUG    Setup complete without errors: 1706979353              
17:55:53-289793 INFO     Extension preload: {'extensions-builtin': 0.0,         
                         'extensions': 0.0}                                     
17:55:53-290630 DEBUG    Starting module: <module 'webui' from                  
                         '/media/carathon/StableDiffusion/automatic/webui.py'>  
17:55:53-291294 INFO     Command line args: ['--debug', '--autolaunch']         
                         autolaunch=True debug=True                             
17:55:53-291924 DEBUG    Env flags: []                                          
17:55:58-192445 INFO     Load packages: torch=2.3.0.dev20240203+rocm5.7         
                         diffusers=0.25.0 gradio=3.43.2                         
17:55:58-901379 DEBUG    Created default config: config.json                    
17:55:58-902258 DEBUG    Save: file="config.json" json=8 bytes=354 time=0.000   
17:55:58-903248 INFO     Engine: backend=Backend.ORIGINAL compute=rocm          
                         mode=no_grad device=cuda                               
                         cross-optimization="Sub-quadratic"                     
17:55:58-906275 INFO     Device: device=AMD Radeon RX 6700 XT n=1               
                         hip=5.7.31921-d1770ee1b                                
17:55:58-907396 DEBUG    Migrated styles: file=styles.csv folder=models/styles  
17:55:58-911776 DEBUG    Load styles: folder="models/styles" items=288 time=0.00
17:55:59-579286 DEBUG    Entering start sequence                                
17:55:59-581563 INFO     Create: folder="models/Stable-diffusion"               
17:55:59-582121 INFO     Create: folder="models/Diffusers"                      
17:55:59-582655 INFO     Create: folder="models/VAE"                            
17:55:59-583176 INFO     Create: folder="models/Lora"                           
17:55:59-583688 INFO     Create: folder="models/embeddings"                     
17:55:59-584199 INFO     Create: folder="models/hypernetworks"                  
17:55:59-584740 INFO     Create: folder="outputs/text"                          
17:55:59-585250 INFO     Create: folder="outputs/image"                         
17:55:59-585749 INFO     Create: folder="outputs/extras"                        
17:55:59-586252 INFO     Create: folder="outputs/grids"                         
17:55:59-586814 INFO     Create: folder="outputs/save"                          
17:55:59-587417 DEBUG    Initializing                                           
17:55:59-588414 INFO     Available VAEs: path="models/VAE" items=0              
17:55:59-589005 INFO     Disabled extensions: []                                
17:55:59-589742 INFO     Available models: path="models/Stable-diffusion"       
                         items=0 time=0.00                                      
17:55:59-962559 DEBUG    Load extensions                                        
17:56:00-015734 INFO     Extension: script='scripts/faceid.py'                  
                         [2;36m17:56:00-014720[0m[2;36m [0m[1;31mERROR   [0m    
                         FaceID: No module named [32m'insightface'[0m           
17:56:00-511755 INFO     Extension:                                             
                         script='extensions-builtin/sd-webui-agent-scheduler/scr
                         ipts/task_scheduler.py' Using sqlite file:             
                         extensions-builtin/sd-webui-agent-scheduler/task_schedu
                         ler.sqlite3                                            
17:56:00-608282 INFO     Extension:                                             
                         script='extensions-builtin/sd-webui-controlnet/scripts/
                         api.py' ControlNet preprocessor location:              
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/sd-webui-controlnet/annotator/downloads          
17:56:00-657411 INFO     Extension:                                             
                         script='extensions-builtin/sd-webui-controlnet/scripts/
                         controlnet.py' Warning: ControlNet failed to load SGM -
                         will use LDM instead.                                  
17:56:00-661896 INFO     Extension:                                             
                         script='extensions-builtin/sd-webui-controlnet/scripts/
                         hook.py' Warning: ControlNet failed to load SGM - will 
                         use LDM instead.                                       
17:56:00-863768 INFO     Extension:                                             
                         script='extensions-builtin/stable-diffusion-webui-image
                         s-browser/scripts/image_browser.py' Image Browser:     
                         Creating database                                      
17:56:00-864555 INFO     Extension:                                             
                         script='extensions-builtin/stable-diffusion-webui-image
                         s-browser/scripts/image_browser.py' Image Browser:     
                         Database created                                       
17:56:00-866417 INFO     Extensions time: 0.90 { automatic=0.08 Lora=0.17       
                         sd-extension-chainner=0.07                             
                         sd-webui-agent-scheduler=0.23 sd-webui-controlnet=0.16 
                         stable-diffusion-webui-images-browser=0.20 }           
17:56:00-909300 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2640     
                         time=0.000                                             
17:56:00-910150 INFO     Upscaler create: folder="models/chaiNNer"              
17:56:00-910726 DEBUG    Read:                                                  
                         file="extensions-builtin/sd-extension-chainner/models.j
                         son" json=24 bytes=2693 time=0.000                     
17:56:00-911613 DEBUG    chaiNNer models: path="models/chaiNNer" defined=24     
                         discovered=0 downloaded=0                              
17:56:00-912478 INFO     Upscaler create: folder="models/RealESRGAN"            
17:56:00-913232 DEBUG    Load upscalers: total=50 downloaded=0 user=0 time=0.05 
                         ['None', 'Lanczos', 'Nearest', 'ChaiNNer', 'ESRGAN',   
                         'SCUNet', 'SD', 'RealESRGAN', 'LDSR', 'SwinIR']        
17:56:00-917392 DEBUG    Load styles: folder="models/styles" items=288 time=0.00
17:56:00-922092 DEBUG    Creating UI                                            
17:56:00-922630 INFO     Load UI theme: name="black-teal" style=Auto            
                         base=sdnext.css                                        
17:56:00-929564 DEBUG    Read: file="html/reference.json" json=31 bytes=16330   
                         time=0.000                                             
17:56:00-934828 DEBUG    Extra networks: page='model' items=6 subfolders=3      
                         tab=txt2img folders=['models/Stable-diffusion',        
                         'models/Reference',                                    
                         '/media/carathon/StableDiffusion/automatic/models/Stabl
                         e-diffusion'] list=0.00 desc=0.00 info=0.00 workers=2  
17:56:00-939739 DEBUG    Extra networks: page='style' items=288 subfolders=2    
                         tab=txt2img folders=['models/styles', 'html'] list=0.00
                         desc=0.00 info=0.00 workers=2                          
17:56:00-940786 DEBUG    Extra networks: page='embedding' items=0 subfolders=1  
                         tab=txt2img folders=['models/embeddings'] list=0.00    
                         desc=0.00 info=0.00 workers=2                          
17:56:00-941702 DEBUG    Extra networks: page='hypernetwork' items=0            
                         subfolders=1 tab=txt2img                               
                         folders=['models/hypernetworks'] list=0.00 desc=0.00   
                         info=0.00 workers=2                                    
17:56:00-942647 DEBUG    Extra networks: page='vae' items=0 subfolders=1        
                         tab=txt2img folders=['models/VAE'] list=0.00 desc=0.00 
                         info=0.00 workers=2                                    
17:56:00-943532 DEBUG    Extra networks: page='lora' items=0 subfolders=1       
                         tab=txt2img folders=['models/Lora', 'models/LyCORIS']  
                         list=0.00 desc=0.00 info=0.00 workers=2                
17:56:01-583407 DEBUG    Save: file="html/themes.json" json=123 bytes=36156     
                         time=0.001                                             
17:56:01-584635 DEBUG    Themes: builtin=9 default=5 external=55                
17:56:01-586468 DEBUG    Themes: builtin=9 default=5 external=55                
17:56:01-800777 DEBUG    Script: 0.16 ui_tabs                                   
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/stable-diffusion-webui-images-browser/scripts/ima
                         ge_browser.py                                          
17:56:01-842942 DEBUG    Extension list: processed=7 installed=7 enabled=7      
                         disabled=0 visible=7 hidden=0                          
17:56:01-893453 DEBUG    Save: file="ui-config.json" json=0 bytes=2 time=0.000  
17:56:02-276527 INFO     Local URL: http://127.0.0.1:7860/                      
17:56:02-277238 DEBUG    Gradio functions: registered=2160                      
17:56:02-277751 INFO     Initializing middleware                                
17:56:02-280318 DEBUG    Creating API                                           
17:56:02-595971 DEBUG    Script: 0.26 app_started                               
                         /media/carathon/StableDiffusion/automatic/extensions-bu
                         iltin/sd-extension-system-info/scripts/system-info.py  
17:56:02-610403 INFO     [AgentScheduler] Task queue is empty                   
17:56:02-611064 INFO     [AgentScheduler] Registering APIs                      
17:56:02-692527 DEBUG    Scripts setup: ['ControlNet:0.05']                     
17:56:02-693197 DEBUG    Model metadata: file="metadata.json" no changes        
17:56:02-693731 DEBUG    Model auto load disabled                               
17:56:02-694422 DEBUG    Save: file="config.json" json=12 bytes=462 time=0.000  
17:56:02-695017 INFO     Startup time: 9.37 { torch=4.09 gradio=0.76            
                         libraries=1.39 extensions=0.90 face-restore=0.37       
                         ui-img2img=0.06 ui-settings=0.52 ui-extensions=0.22    
                         launch=0.38 api=0.06 app-started=0.36 }                
17:56:02-696706 INFO     Launching browser                                      
17:56:04-176623 INFO     MOTD: N/A                                              
17:56:07-251383 DEBUG    Themes: builtin=9 default=5 external=55                
17:56:07-523277 INFO     Browser session: user=None client=127.0.0.1            
                         agent=Mozilla/5.0 (X11; Linux x86_64; rv:122.0)        
                         Gecko/20100101 Firefox/122.0                           
17:57:59-742862 DEBUG    Server: alive=True jobs=0 requests=71 uptime=121       
                         memory=0.98/31.24 backend=Backend.ORIGINAL state=idle  
17:59:59-752332 DEBUG    Server: alive=True jobs=0 requests=71 uptime=241       
                         memory=0.98/31.24 backend=Backend.ORIGINAL state=idle  
18:01:59-761805 DEBUG    Server: alive=True jobs=0 requests=71 uptime=361       
                         memory=0.98/31.24 backend=Backend.ORIGINAL state=idle  

Output from pickle scanner:

----------- INFECTED FILES -----------

    Z:/media/carathon/StableDiffusion/automatic\venv\lib\python3.11\site-packages\mesh_graphormer\modeling\data\MANO_LEFT.pkl dangerous import unknown dtype FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib\python3.11\site-packages\mesh_graphormer\modeling\data\MANO_RIGHT.pkl dangerous import unknown dtype FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib\python3.11\site-packages\pandas\tests\io\data\legacy_pickle\1.2.4\empty_frame_v1_2_4-GH#42345.pkl dangerous import unknown Index FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib\python3.11\site-packages\pandas\tests\io\data\legacy_pickle\1.2.4\empty_frame_v1_2_4-GH#42345.pkl dangerous import unknown dtype FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib64\python3.11\site-packages\mesh_graphormer\modeling\data\MANO_LEFT.pkl dangerous import unknown dtype FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib64\python3.11\site-packages\mesh_graphormer\modeling\data\MANO_RIGHT.pkl dangerous import unknown dtype FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib64\python3.11\site-packages\pandas\tests\io\data\legacy_pickle\1.2.4\empty_frame_v1_2_4-GH#42345.pkl dangerous import unknown Index FOUND
    Z:/media/carathon/StableDiffusion/automatic\venv\lib64\python3.11\site-packages\pandas\tests\io\data\legacy_pickle\1.2.4\empty_frame_v1_2_4-GH#42345.pkl dangerous import unknown dtype FOUND

Backend

Original

Branch

Master

Model

SD 1.5

Acknowledgements

vladmandic commented 7 months ago

this is complete fake - based on output, that scanner is not worth running. its reporting INFECTED for one of the most well known and tested libraries on the planet - pandas and its doing that only because it says unknown index and unknown dtype. if it doesn't understand dtype, why is it reporting infected? and regardless of that, whatever the dtype is, how could that possibly result in infected file?

Carathon commented 7 months ago

I don't know. I was also confused to see infected files.

vladmandic commented 7 months ago

all its reporting is unknown (index or dtype). if its unknown to the scanner, why doesn't it have section called UNKNOWN instead of putting it altogether in INFECTED section.