Zapstore on Nostr: PSA: If you get an error: "Possibly a malicious file. Aborting installation" it's ...
PSA:
If you get an error: "Possibly a malicious file. Aborting installation" it's because it's true. The hash of the file in the nostr event does not match the hash of the downloaded asset.
Two possible reasons:
- The developer modified the release after publishing the nostr event to the Zapstore relay
- There is a server compromise or a man-in-the-middle attack
This is Zapstore protecting you, not trying to annoy you.
In the case of APKs indexed by Zapstore (from Github, for example) this will be mitigated with the new zapstore-cli indexer going live in a few weeks.
If the app was signed by a developer, you need to contact the developer.
I am going to improve the messaging, and add a "reckless mode" for those who want to install or upgrade despite the mismatch.
Published at
2025-05-29 14:53:23Event JSON
{
"id": "352be7816d15ad492b7879419490b2c5ebc6b57db7e934b970ab7f8cfd698de5",
"pubkey": "78ce6faa72264387284e647ba6938995735ec8c7d5c5a65737e55130f026307d",
"created_at": 1748530403,
"kind": 1,
"tags": [],
"content": "PSA:\n\nIf you get an error: \"Possibly a malicious file. Aborting installation\" it's because it's true. The hash of the file in the nostr event does not match the hash of the downloaded asset.\n\nTwo possible reasons:\n - The developer modified the release after publishing the nostr event to the Zapstore relay\n - There is a server compromise or a man-in-the-middle attack\n\nThis is Zapstore protecting you, not trying to annoy you.\n\nIn the case of APKs indexed by Zapstore (from Github, for example) this will be mitigated with the new zapstore-cli indexer going live in a few weeks.\n\nIf the app was signed by a developer, you need to contact the developer.\n\nI am going to improve the messaging, and add a \"reckless mode\" for those who want to install or upgrade despite the mismatch.",
"sig": "eb9ff82a514636b47118d0bfd9b8668538a3b77f8499117c9fad88f1c2749bf5234e91516c445f7888eb6ecb6120309b1729a570657539d3929de062e416abca"
}