TLDR: No. It’s all about trust.
So there are some very basic checks on wp.org but generally this can happen (and probably also does happen from time to time). Of course if something like this happens and people notice it wp.org can block updates or replace them with something safe.
Also have a look at the WordPress.org Theme and Plugin Repositories section.
What you can do is not really any different than what you’d do whenever you install software, things like:
- look at the source code
- research on the plugin and/or the developer to decide if they deserve your trust
- talk to other people about the plugin
- do not randomly install plugins you come along
- hire someone to do audits
- …
Related Posts:
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- Are WordPress Plugins essential?
- What are the common security flaws I need to look for? [closed]
- Disabled plugins are they security holes – rumor or reality?
- What could a hacker do with my wp-config.php
- How Can I Securely Implement a Password-less Login Feature?
- Security and .htaccess
- How do you allow plugins to be updated using the GUI without breaking your subversion repository?
- Secure WordPress paid plugin
- How to make media upload private? [duplicate]
- Sync my svn repositories
- Should we use plugins that aren’t available from the official WordPress site?
- How to check plugins for malicious code?
- How to properly secure my WordPress installation?
- Why allow overriding crucial pluggable functions wp_verify_nonce and wp_create_nonce?
- Where should my plugin POST to?
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Should I install plugins to my WordPress installation from web sites having in URL “nulled” or, “null”?
- Disabled plugins are security holes – rumor or reality?
- Why am I sometimes getting a 404 error when I try to update a page with Elementor?
- Prevent Brute Force Attack
- Why users disable the WordPress update?
- Upgrading WordPress 4.0 asks for FTP password
- How to handle the Plugin Version on Update using Tortoise SVN and the worpdress.org Plugin Repository?
- Is revealing just the AUTH_KEY a security issue?
- When is it useful to use wp_verify_nonce
- Questions about brute force attacks on the admin username, coming from amazon IP addresses
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- How to expire all wordpress user passwords instantly?
- Weird problems after recovery from security breach
- How can we deal with unmaintained plugins with vulnerabilities?
- Escape when echoed
- Should you escape hardcoded URLs?
- Preventing BFA in WordPress without using a plugin
- How to update WordPress plugins to latest using SVN
- How can I make uploaded images in the editor load with HTTPS?
- How to stop xmlrpc attacks without disabling component to allow JetPack to work in WordPress?
- How To Clean The Malware Infected & Hacked WordPress Websites? [duplicate]
- WordPress filter that hook after each action/filter hook
- How to delete Passwrd Protected posts cookies when a user logged out from the site
- Does WordPress validate inputs to all functions? (such as get_user_meta and insert_user_meta)
- Upgraded to latest version – 3.0.3 and Now I get a “sufficient permissions to access this page” error
- How to block plugin activations with no known user or coming from unknown IP address range?
- Check for security updates
- Standard Fail2Ban vs. WP Fail2ban vs. WP Fail2Ban Redux
- Using SVN to upload plugin created with gutenberg blocks
- Why can’t I access my Intranet LDAPS with NADI?
- Malicious File Upload [closed]
- Stop Plugin Enumeration [closed]
- Malware installation during plugin update?
- Change plugin name on WordPress repo
- Hack-Proof OR Security in WordPress — is it real?
- I should enable automatic updates?
- Security and Must Use Plugins
- Is Timthumb still broken? What security measures should be taken?
- Is it safe to use admin-ajax.php in the frontend?
- How to protect WordPress from security scanner [closed]
- Specific way to allow WordPress users to view their current password? And edit it?
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Website show Google Ads when we have no Google Ads linked to our website
- A server-side hook failed when committing plugin code to SVN
- Vulnerability Concern From the Plugin or From Not Updating the Plugin?
- WordPress SVN UTF-8 issue
- Running multiple security plugins
- Chrome Dev Tools console says every page in my blog has link to http://maps.google.com [closed]
- Regarding plugin security
- How do I determine if the user who registered is not spam?
- If I use an alternative login (e.g. CAS or other SSO) plugin, is my site protected from the recent brute force login attempts?
- WP Insert Post If user refreshes override new post
- 404 errors when updating options in admin dashboard
- Website Captcha Error: The reCAPTCHA wasn’t entered correctly
- Is it possible/advisable to set last stable version to previous version?
- WordPress search shows protected content
- Can I disable xml-rpc by setting it to false?
- How can I disable new plugin and theme install, but allow updates?
- Help to Create a Simple Plugin to make a post
- Validating ajax search
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- WordPress disable direct access of files in WordPress installation path
- Asking help regarding potential malware
- “Fire Secure” menu item
- https rewrite not working for All in one security Brute force > rename login url
- Tortoise SVN showing ‘Access to ‘/!svn/me” forbidden error.
- Redux framework somehow added to my site, can’t locate in plugins
- Being hacked. Is there a list of WordPress security holes I can check against?
- wp_verify_nonce fails always
- Validating values using Settings API?
- Unwanted Links and Spam WordPress Pages and Posts
- Add plugin by SVN. Current version problem
- Problem with permissions in wp-content/plugins
- File permissions for wp-minify plugin
- What is the recommended way to be notified of security updates to my plugins? [closed]
- My WP site and password was hacked, what to do? [closed]
- How to resolve these findings from security audit
- How I can hide my wp folders from Inspect Element (Developer Tools)
- How to Find WordPress site has backdoor login Codes
- How to delete Password Protected posts cookies when a user logged out from the site
- Stop the user if login from the cookies
- WordPress User Registration/ Sign Up -> Able to take Paid Certification Courses & keep track of Completed Certificates
- Block Root REST API Route using custom &/or iThemes