Skip to content

Harden supply chain with install-script lockdown and 7-day release cooldown - #25

Open
dstanleyTG wants to merge 1 commit into
masterfrom
feature/npm-hardening
Open

Harden supply chain with install-script lockdown and 7-day release cooldown#25
dstanleyTG wants to merge 1 commit into
masterfrom
feature/npm-hardening

Conversation

@dstanleyTG

Copy link
Copy Markdown
Contributor

Ref. semestry/tasks#235

Proposed changes

Disable npm lifecycle scripts on install and require packages to be at least 7 days old before installation, applied both to npm directly (.npmrc) and to Dependabot PR creation (.github/dependabot.yml).

Security concerns

Improves security.

Testing

Tested locally.

Security related testing

  • Input validation is in place, including server-side validation
  • Input data is validated
  • Output data is properly encoded
  • No SQL Injection is possible
  • Encryption keys, password and other credentials are not held in code
  • Code passes all applicable items from the Secure coding checklist in RI-ISM-POL-24 Development of Secure Systems

Documentation

N/A

@dstanleyTG dstanleyTG self-assigned this Jul 28, 2026
@dstanleyTG
dstanleyTG requested a review from a team as a code owner July 28, 2026 15:13
@dstanleyTG dstanleyTG added the Type: Maintenance Tasks that don't affect functionality label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Maintenance Tasks that don't affect functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant