|
|
|
|
|
by lowercased
2772 days ago
|
|
I can't say there's 0 problems with WP core, but often the problems aren't in core system files, but in all the various plugins/themes. Also, those files (and core files) can get auto-updated - all hashes for those would need to be scanned for, and you'd have to trust every single theme/plugin vendors, and you'd have to trust all the plugins/libs those others use. And have to get them all to participate in the first place, no? |
|
Then if a plugin maker doesn't add the hashes to their downloads (or wherever they would need to be hosted) they wouldn't get a green lock next their listing?
Also, this could at least be automated away even if no one participates. I see it like this. You install the plugin, a hash table is built on the files that are installed. Maybe this is the moment of insecurity, but even SSH has a moment like this when storing keys.
This way you could at least detect "changes" to the plugins, but maybe not verify the initial install is good. But it's 50% there.
And this technique could be added to WP core and no forcing anyone to do anything. :P
But of course, if the server can create the hashes, then the server can manipulate them. But it would be more work for the hacker at least.
I keep all hashes out of the way of the web server so even if hacked, the web server can't be used to hide their activity.