Home filled with .eos-update.helper.(random chars) files

Hi, every time I launch eos-update script a file named .eos-update.helper.(random chars) appears in my home. I delete them manually, but it’s annoying. how can I stop it? Thanks

The files should not exist after the eos-update call unless the signal handling fails for some reason.

Please show the output of command

ls -l ~/.eos-update.helper.*
.rwx------ 963 gorneman  6 lug 20:40 /home/gorneman/.eos-update.helper.7ED

the content of the file

#!/bin/bash

eos_update_as_user() {
    sudo rm -f /var/lib/pacman/db.lck                 || return
    if [ ! -e /var/lib/pacman/db.lck ] ; then
        sudo pacman -Sy                   || return
        eos-update-extras --keyrings  || return
        sudo pacman -Su                   || return
        yay -Sua                          || return             # Note: 'paru' returns 1 on error, but 'yay' does not!
        
        sync
    fi
}
eos_update_as_root() {
    rm -f /var/lib/pacman/db.lck                        || return
    if [ ! -e /var/lib/pacman/db.lck ] ; then
        pacman -Sy                          || return
        eos-update-extras --keyrings    || return
        pacman -Su                          || return
        /bin/sudo yay -Sua --user gorneman yay -Sua  || return
        
        sync
    fi
}
case "plain" in
    plain) eos_update_as_user ;;
    root)  eos_update_as_root ;;
    login) eos_update_as_root --login ;;
esac

I can move that file to ~/.cache, so it won’t be so directly visible.
I already have planned to remove the need for that file altogether in the near future.