Skip to content

security: pin PSScriptAnalyzer across workflow install sites #1381

@WilliamBerryiii

Description

@WilliamBerryiii

Context

Follow-up from PR #1379 (SHA staleness validator). The Test-PSModulePins.ps1 checker now flags any Install-Module PSScriptAnalyzer call missing a -RequiredVersion pin. Across the repo's GitHub Actions workflows, ~9 install sites currently install PSScriptAnalyzer without a pinned version.

Scope

  • Audit all .github/workflows/*.yml install sites for PSScriptAnalyzer.
  • Add -RequiredVersion 1.25.0 (matching the manifest entry in scripts/security/tool-checksums.json) to each call.
  • Verify npm run lint:version-consistency and Test-PSModulePins.ps1 are clean afterward.

Acceptance Criteria

  • All workflow install sites pin PSScriptAnalyzer to the manifest-declared version.
  • Supply-chain pin checker exits 0 with no warnings for PSScriptAnalyzer.
  • A single follow-up PR scoped only to this hardening sweep.

References

Metadata

Metadata

Labels

ciContinuous integrationsecuritySecurity-related changes or concerns

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions