Skip to content

Add immutable releases support for supply-chain security (fixes ChargePoint/xcparse#93)#12

Open
davidbean-hash wants to merge 1 commit into
masterfrom
devin/1779386121-immutable-releases
Open

Add immutable releases support for supply-chain security (fixes ChargePoint/xcparse#93)#12
davidbean-hash wants to merge 1 commit into
masterfrom
devin/1779386121-immutable-releases

Conversation

@davidbean-hash
Copy link
Copy Markdown
Owner

@davidbean-hash davidbean-hash commented May 21, 2026

Change Description:

Addresses ChargePoint/xcparse#93 — Turning on Immutable Releases for supply-chain security.

This PR adds supply-chain security measures to protect users who install xcparse via Mint (or other tag-based package managers) from tag retargeting attacks:

  1. GitHub Actions release workflow (.github/workflows/release.yml):

    • Triggers on version tag pushes (e.g., 2.3.2)
    • Builds the project on macOS
    • Generates SHA-256 checksums for release artifacts
    • Creates a GitHub Release with artifacts and checksums using softprops/action-gh-release
  2. SECURITY.md:

    • Documents the immutable releases feature and its purpose
    • Provides instructions for repository admins to enable tag protection rules
    • Includes checksum verification instructions for users
    • Adds a vulnerability reporting policy and supported versions table
  3. README.md updates:

    • Adds a supply-chain security note in the Mint installation section
    • Adds a new "Supply Chain Security" section at the end of the README

Note for administrators: The actual "Immutable Releases" / tag protection toggle must be enabled in GitHub repo settings (Settings → General → Tags). The SECURITY.md documents these steps.

Test Plan/Testing Performed:

  • Verified the GitHub Actions workflow YAML is syntactically valid
  • Confirmed the workflow triggers only on version-style tags ([0-9]+.*)
  • Reviewed that softprops/action-gh-release@v2 is the current stable action for creating releases
  • Verified README renders correctly with the new sections and links
  • Confirmed SECURITY.md links are valid relative paths

Link to Devin session: https://app.devin.ai/sessions/acbfc9b433934b04a625b1f36930ac31
Requested by: @davidbean-hash


Open in Devin Review

Addresses ChargePoint#93 - Supply chain security for Mint users.

- Add GitHub Actions workflow that builds releases with SHA-256 checksums
  when version tags are pushed
- Add SECURITY.md documenting immutable releases, checksum verification,
  and admin setup instructions for tag protection
- Update README.md with supply chain security note for Mint users and
  a new Supply Chain Security section

Co-Authored-By: david.bean <david.bean@cognition.ai>
@devin-ai-integration
Copy link
Copy Markdown

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant