Skip to content

Security: processing/libprocessing-website

SECURITY.md

Security Policy

Reporting a Vulnerability

Please do not report security vulnerabilities through public GitHub issues, pull requests, Discord, or the forum.

You can report a vulnerability privately in either of these ways:

  1. GitHub private vulnerability reporting (preferred): go to the Security tab of this repository and click Report a vulnerability. This opens a private GitHub Security Advisory that only Processing maintainers can see.
  2. Email: responsible.disclosure@processingfoundation.org

Reporting Channels

  1. Security Advisories in this repository are received by Processing admins/maintainers
  2. Responsible Disclosure email reports are received by Processing Foundation staff

What to Include

A useful report includes:

  • The affected page URL on libprocessing.processingfoundation.org
  • The file involved, if you know it (for example: a layout or component in src/, or a Markdown page in src/content/)
  • The browser and operating system you tested on
  • A brief summary of the impact
  • Clear steps to reproduce, and a proof of concept if you have one

Supported Versions

This repository is a website, not a released package. Only the live site and the main branch are supported. Fixes are made against main and go out with the next deploy.

What to Expect

  • We will acknowledge your report within 72 hours
  • We will provide regular updates about our progress
  • Once the issue is confirmed and fixed, we may ask you to verify the solution

Disclosure Policy

  • Please do not disclose the vulnerability publicly until we have had a chance to address it
  • We do not offer bounties as we are a non-profit organization
  • We appreciate your efforts to responsibly disclose your findings

Scope

This policy covers the libprocessing website at libprocessing.processingfoundation.org and the code in this repository. For example, these are in scope:

  • Taking over or defacing the live site, including taking over the libprocessing.processingfoundation.org subdomain or its DNS record
  • Script injection (XSS) into the built pages, whether through the Astro source in src/ (layouts, components, styles, client-side scripts) or through the pages and examples in src/content/
  • Harmful instructions or code on the site, such as an install command or code sample that points to a typosquatted package, a hijacked or expired domain, or a malicious script
  • Leaked credentials or weaknesses in our build and deploy process, such as hosting or deploy credentials, or npm dependencies that end up in the built site

Out of Scope

The following are generally out of scope:

  • Vulnerabilities in libprocessing itself (the Rust crates, the Python package, the C FFI, or the WebAssembly bindings). Please report those through the libprocessing Security tab. The Python API reference at processing.github.io/libprocessing is built from the libprocessing repository, so report issues with it there as well.
  • Missing security headers, clickjacking, or missing rate limiting on pages with no logins, forms, or user data
  • Unverified output from automated scanners, and self-XSS
  • Vulnerabilities in third-party dependencies that are only used at build time and are not shipped in the built site (such as deploy tooling or the PostCSS plugins), unless our use of them makes the issue exploitable. A pull request or issue to update the dependency is welcome.
  • Email or DNS configuration for processingfoundation.org in general. Please send those to the email address above.

Vulnerabilities in other Processing Foundation projects should be reported to that project. For the processing.org website or download servers, use the email address above.

Accidental Disclosure: Never Share Vulnerabilities Publicly!

Please do not report security vulnerabilities in a public channel. If you notice a vulnerability being disclosed in a public channel (whether on Discord, the forum, GitHub, or other platforms), please flag it to a moderator immediately.

If any moderator in our online community spaces notices something that is plausibly a security vulnerability disclosure (you don't need to verify deeply at this stage, false positive is OK), they should:

  1. screenshot and send to responsible.disclosure@processingfoundation.org
  2. delete the public content if possible
  3. reach out to the poster with a link to SECURITY.md in the correct project and a brief explanation that the content was taken down for security reasons

Incident Response Process

Who handles incoming reports of security vulnerabilities? Who responds to security incidents? A mix of Processing Foundation staff, current Processing maintainers, and Processing contributors, taking on the following roles and responsibilities:

Role Responsibility
Finder / Reporter Credited when all reporter expectations (below) are met.
Incident Lead First responder; owns the report end-to-end. By default, this is the Project Lead. Handoffs only with a written status summary. Owns advisory publication, and reporter notification.
Implementer(s) Develops the fix; may be a maintainer or contributor nominated by Incident Lead or maintainer(s).
Reviewer(s) At least one other maintainer reviews in the private fork before deploy.
Deployer Deploys the fixed site, and checks the fix on the live site.

Whoever is available to claim the Incident Lead role starts as soon as they can with Phase 0.

Phase 0 — Intake

Incident Lead:

  • Notifies relevant people per project, to see which potential implementers are available
  • Moves the conversation into a GitHub Security Advisory, if it is not already on there.

Phase 1 — Triage & Classification

Acknowledge receipt to the reporter within 72H, along with triage & classification (below).

Reproduce the issue, potentially iterating with the reporter for more information.

Notify along private maintainer chat channels.

Is something a security vulnerability or incident? Use CIA (Confidentiality, Integrity, Availability):

  • (0) Not a problem: cannot reproduce, or behavior is expected (see Out of Scope). Close with explanation.

  • (1) Public bug: problem is real but no CIA impact. Respond to the reporter with explanation, but fix openly in a normal PR.

  • (2) Vulnerability: impacts CIA (confirmed or plausibly demonstrated), but no evidence of exploitation. Move on to Phase 3 (Fix)

  • (3) Incident, including a High-Severity Vulnerability without logs to rule out past exploit, the live site serving content that is not from main, or any compromise of deploy credentials or the site's DNS: Move on to Phase 2 (Expedited Report) and then 3 (Fix)

Phase 2 — (Incidents Only) Expedited Report

In case of an incident, we have some specific reporting responsibilities, which are also fulfilled within 72H from the initial report: notify Processing Foundation staff at responsible.disclosure@processingfoundation.org, and tell affected users (for example, with a notice on the site or an advisory) if they may have followed harmful instructions or links. If deploy credentials or the site may be compromised, act immediately:

  • Revoke and reissue deploy credentials, and review who has access to the hosting account
  • Check the DNS record and custom domain for libprocessing.processingfoundation.org
  • Review who has write access to this repository
  • Check that the live site matches main, and roll back to a known-good deployment if it has been tampered with

Phase 3 — Private Fix

The GitHub Security Advisory (GHSA) thread is the main place for technical discussion, and enables working on a fix in a private repository with a specific set of collaborators. In the GHSA workflow, there is a severity scoring tool that uses CVSS.

A fix to this site is a redeploy, so most fixes can go out as soon as they have been reviewed. For anything that needs more work:

  1. Critical: act immediately, as soon as possible
  2. High/medium: target a deployed fix within about a week
  3. Low: batch into routine updates

Phase 4 — Deploy & Disclosure

  • Merge the fix, deploy the site, and check that the fix is live on libprocessing.processingfoundation.org
  • Publish the advisory where it is useful to users (for example, if readers may have followed harmful instructions or links); fixes to content alone may not need one
  • Notify the reporter(s) and everyone who worked on the fix

Reporter Expectations

Reporters are offered credit in GHSA if their GitHub username is known and if their report:

  • Contains a brief and useful summary, plus clear steps to reproduce
  • Focuses on one report per defect, and avoids spurious LLM-generated reports
  • Is supportive of the community

There aren't any published security advisories