Skip to content

Security: Nico77600/PraRemoteMailbox

SECURITY.md

Security

Supported versions

Only the latest release receives fixes. A fix is published as a new version that replaces the package folder; the files of a published release never change. To be told of a new version or of a security advisory, watch this repository on GitHub (Releases and Security advisories). When a newer version is published, the notes of the replaced release start with a notice that it is not the latest. Older versions, the 2.2.x line included, receive no fix.

No support period is promised: this is a personal project, provided AS-IS. PowerShell 7.6 LTS is the only PowerShell line that the tool runs on.

Reporting a vulnerability

Use this repository's Security tab and Report a vulnerability to contact the maintainer privately. Do not publish credentials, personal data, customer configuration, or sensitive exploit details in a public issue.

Include the affected version, expected and observed behavior, and minimal reproduction steps with sensitive values removed. If a credential has been exposed, revoke or rotate it immediately; deleting a commit or file is not sufficient.

How a report is handled

The repository has one maintainer, who reads every report, checks whether it applies to the latest release and decides what to do. No response time and no fix date are promised. A confirmed vulnerability is fixed in a new release: the release notes say what changed, and a security advisory of this repository is published once the fix is available. Reports go to the maintainer only.

Contributions

Contributions, pull requests included, are not accepted. A defect, a question or an idea is welcome as a report to the maintainer (through the Security tab when it is sensitive), and the maintainer decides what is changed.

Provenance and release integrity

Obtain releases from the official Nico77600 repository only, from the Assets of the release (never from the Source code archives).

  • Signing certificate. Every PowerShell file of the package and the manifest PackageIntegrity.psd1 carry the owner's timestamped Authenticode signature. The thumbprint of the certificate is 0F28E442889F17B5F4D251E8F96E7CC6E2C9C6D6. The tool checks the signatures and every other file against the signed manifest at every start, and has no unsigned mode.
  • Attestation. A workflow of this repository attests the published ZIP.
  • Bill of materials. Each release from 3.3.0 carries a bill of materials (PraRemoteMailbox-<version>.zip.spdx.json, SPDX 2.3) and a dependency declaration (PraRemoteMailbox-<version>-dependencies.md). No third-party code is bundled: PowerShell and the modules that the tool requires are declared as required, not shipped.
  • Immutable releases. New immutable releases preserve their published assets and associated tag. Existing releases are not made immutable retroactively. Corrections are published as a new version rather than replacing a released file.

Verify a release

# 1. The SHA-256 of the ZIP, to compare with the release notes.
Get-FileHash .\PraRemoteMailbox-<version>.zip -Algorithm SHA256

# 2. The attestation of the ZIP (GitHub CLI).
gh attestation verify .\PraRemoteMailbox-<version>.zip --repo Nico77600/PraRemoteMailbox

# 3. The signature of every signed file, after extracting the ZIP: each line must show the thumbprint above.
Get-ChildItem .\PraRemoteMailbox-<version> -Recurse -File -Include *.ps1, *.psm1, *.psd1 |
    Where-Object { $_.DirectoryName -notlike '*\config' } | Get-AuthenticodeSignature |
    Select-Object @{ n = 'File'; e = { $_.Path } }, Status, @{ n = 'Thumbprint'; e = { $_.SignerCertificate.Thumbprint } }

On a computer without the public root certificate the status can read UnknownError with the right thumbprint: the thumbprint is what counts, and the tool accepts that case on an isolated server with one warning. To compare a ZIP with the source of its tag byte for byte, run tools\Compare-ReleaseSource.ps1 from a clone of the repository.

A checksum alone does not authenticate a file if the checksum and the file can both be replaced. A valid signature or attestation proves integrity or provenance, not the absence of vulnerabilities.

Signing certificate renewal

The signing certificate ends on 13 October 2027. Its renewal follows this runbook:

  1. The renewal starts 90 days before the end date. A monthly check of the repository warns from that day and fails once the certificate has ended.
  2. The new certificate has an RSA key of 3072 bits or more, or an ECDSA P-384 key.
  3. Every signed file is signed again, with a timestamp. The manifest is generated again from the signed bytes and signed. The thumbprint is changed, in one change, in every place that holds it: the ten signed files that hold it (all eleven signed files are signed again), the pin file of the repository checks (with the end date), the package builder, the tests and the documents.
  4. The next release is signed with the new certificate. Its notes and this page give the new thumbprint and the date of the change.
  5. Earlier releases stay verifiable, because their signatures are timestamped, but they keep the old thumbprint and receive no fix. On a server without the publisher's root certificate, a release signed with the old certificate stops starting after the old certificate ends (the offline acceptance needs a certificate that is valid on the day): install the root certificate, or move to a release signed with the new one.

What it changes for you: if you trust the publisher by its certificate (the AllSigned execution policy, an application control rule), add the new certificate before you install the first release signed with it, after comparing its thumbprint with the one given here and in the release notes.

If a signing key is lost or suspected to be compromised, the maintainer stops signing with it, publishes a security advisory and a new release signed with a new certificate, and says which releases to stop using.

There aren't any published security advisories