Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

CRA Evidence Packet for WordPress Plugin Release

· 5 min read · Home Tech

In this article
  1. Background: What Is the CRA and Why Does It Matter for Plugins?
  2. What Should the Evidence Packet Contain? (Core Components)
  3. How to Build the Packet: Step-by-Step
  4. Common Problems and Misconceptions
  5. How to Choose What to Include (Tailoring the Packet)
  6. Costs and Tools
  7. Frequently Asked Questions

A CRA (Common Reporting Area) evidence packet for a WordPress plugin release is a structured collection of documents and artifacts that demonstrate the plugin's compliance with the EU Cyber Resilience Act (CRA). It typically includes a software bill of materials (SBOM), vulnerability handling documentation, security testing reports, and a declaration of conformity. This article explains what goes into the packet, why it matters, and how to assemble one for your plugin.

Background: What Is the CRA and Why Does It Matter for Plugins?

The EU Cyber Resilience Act (CRA) is a regulation that aims to ensure digital products, including software, are secure before they are placed on the market. It applies to products with digital elements, and WordPress plugins fall under this if they are distributed in the EU. The CRA requires manufacturers to conduct security risk assessments, implement security requirements, and provide documentation to demonstrate compliance. The evidence packet is the tangible proof that you have done this work.

For WordPress developers, the CRA means that releasing a plugin is no longer just about code quality—it also involves formal documentation of security practices. The regulation is phased in, but preparation now is wise, especially if you distribute plugins commercially.

What Should the Evidence Packet Contain? (Core Components)

The exact contents may vary depending on your plugin's complexity and risk profile, but a typical packet includes the following:

  • Software Bill of Materials (SBOM) – A machine-readable list of all components, libraries, and dependencies used in the plugin, with versions and licenses.
  • Vulnerability Handling Report – Documentation of how you discover, assess, and fix vulnerabilities, including a timeline of any past security issues.
  • Security Testing Results – Output from static analysis, dependency scanning, and manual penetration tests, with dates and tools used.
  • Risk Assessment – A document that identifies potential threats to the plugin and how you mitigate them.
  • Declaration of Conformity – A formal statement that the plugin meets the CRA's essential security requirements.
  • Technical Documentation – Architectural descriptions, data flow diagrams, and a description of security features.
  • Update and Patch Process – A description of how you deliver security updates to users.

How to Build the Packet: Step-by-Step

Creating the packet is a systematic process. Here is a practical approach:

  1. Inventory all components – Use a tool like a dependency scanner to generate an SBOM. List every third-party library, including JavaScript packages.
  2. Run security scans – Perform static code analysis (e.g., with PHPCS or a commercial tool) and dependency vulnerability scans. Save the reports.
  3. Document your vulnerability handling – Write a policy that explains how you receive reports (email, security page), how you triage them, and your response time.
  4. Conduct a risk assessment – Identify the plugin's main attack surfaces (e.g., input handling, database queries) and list mitigations.
  5. Write the technical documentation – Describe the plugin's architecture, data storage, and security measures like sanitization and nonce checks.
  6. Prepare the Declaration of Conformity – This is a legal statement. It should reference the CRA and list the security requirements you meet.
  7. Keep everything versioned – Store the packet in a repository, and update it with each release.

Common Problems and Misconceptions

One common mistake is assuming that the CRA only applies to large companies. In reality, it applies to any manufacturer placing a product on the EU market, including individual developers. Another misconception is that the SBOM is enough—while it's a critical part, you still need vulnerability handling and testing documentation.

Another issue is that many developers use third-party libraries without tracking versions. If you don't know what's in your plugin, you can't produce an accurate SBOM. Also, some developers think that open-source plugins are exempt, but the CRA applies to products regardless of license; however, there are exceptions for non-commercial open-source development. If you sell the plugin or use it for commercial purposes, the obligations apply.

How to Choose What to Include (Tailoring the Packet)

Not every plugin needs the same depth of documentation. Consider the following factors:

  • Complexity – A simple plugin with no external dependencies needs less than a large e-commerce plugin.
  • Data handling – If your plugin processes personal data, you need more detailed documentation on data protection.
  • Distribution – If you sell on marketplaces like the WordPress.org repository or a commercial site, you may need to provide the packet to the platform.
  • Risk level – Plugins that accept user input or have network access are higher risk and require more thorough testing.

As a rule, include anything that would help a security auditor understand your plugin's security posture. It's better to over-document than to be missing a key piece.

Costs and Tools

Assembling the packet has both time and monetary costs. You can use free tools like OWASP Dependency-Check for SBOM generation and PHPCS for static analysis. Commercial tools may offer more automation and reporting features. The main cost is your time—expect to spend several hours per release, depending on the plugin's size. There may also be costs for legal review of the Declaration of Conformity if you're not familiar with regulatory language.

Frequently Asked Questions

Do I need a CRA evidence packet for a free WordPress plugin?

If the plugin is developed and distributed as free open-source software without commercial involvement, you may be exempt. However, if you sell the plugin or receive any revenue from it (e.g., premium features), the CRA applies. Even if exempt, having the documentation is good practice.

What is an SBOM and why is it important?

An SBOM is a list of all components in your software. It's important because it allows you to quickly identify vulnerabilities in dependencies. Under the CRA, you must be able to provide this to authorities or users upon request.

How often should I update the evidence packet?

You should update it with every release that changes dependencies, features, or security measures. At a minimum, review it annually. If a vulnerability is discovered, update the vulnerability handling report immediately.

Can I use a template for the Declaration of Conformity?

Yes, templates are available from industry groups and the EU’s guidance documents. However, ensure it is tailored to your plugin and accurately reflects the security measures you have implemented. Misrepresentation can lead to legal issues.

What if I don't have the resources to do all this?

Start small—focus on the SBOM and vulnerability handling first. Use free tools and automate what you can. You can also hire a consultant for a one-time review. Ignoring the CRA could lead to fines or removal from marketplaces, so it's worth the effort.

Is the evidence packet public?

Not necessarily. You may keep it internal, but you must be able to provide it to market surveillance authorities or customers who request it. Some marketplaces may require you to submit it as part of the listing process.