Skip to content

Conversation

@jespino
Copy link

@jespino jespino commented Dec 4, 2025

Disable npm/yarn lifecycle scripts and npx in the devcontainer for security.

Changes

  • Create .devcontainer/ directory with Dockerfile and devcontainer.json
  • Migrate from .gitpod.yml to devcontainer configuration

Security configurations

  • npm config set ignore-scripts true - disables npm lifecycle scripts
  • ignore-scripts true in .yarnrc - disables yarn lifecycle scripts
  • Replace npx binary with error message stub

Fixes PDE-187

- Create .devcontainer directory with Dockerfile and devcontainer.json
- Configure ignore-scripts for npm/yarn
- Disable npx with informative error message

Fixes PDE-187

Co-authored-by: Ona <no-reply@ona.com>
@jespino jespino requested a review from a team as a code owner December 4, 2025 16:00
@geropl
Copy link
Member

geropl commented Dec 8, 2025

@jespino No need to fix this repo, I'm pushing for deleting it 🙏

@jespino jespino closed this Dec 9, 2025
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.

3 participants