sam-4screen-desktop 2026-9-24:14:18:7

This commit is contained in:
2026-09-24 14:18:07 +10:00
parent 7a1ad51698
commit f6201d7f0d
7 changed files with 60 additions and 16 deletions

View File

@@ -0,0 +1,62 @@
---
created: 2026-06-01 12:45
modified: 2026-06-01 12:45
type: area
status: active
tags:
- ai
- tools
- ai-resume
- security
aliases: []
---
# [[Security NPM packages tools]]
## Check video
source_url: https://www.youtube.com/watch?v=Wq6yMdt11LM
## Set minimum release age
**NPM:**
- file min-release-age=7 days
- project ./.npmrc
- global ~/.npmrc
**PNPM:**
- minimumReleaseAge:1000 minutes.
- PROJECT ./.pnpn-workspace.yaml
- global ~/.config/pnpm/config.yaml
**BUN:**
- minimumREleaseAge=604800 seconds
- project ./.ig.toml
- global $HOME/.bunfig.toml
- global $XDG_CONFIG_HOME/.bunfig.toml
##DIsable install scripts
- ignore-scipts=true
- block curated / trusted lists of packages.
## Block gitbased dependecies
**NPM**
- allow-git=none
- allow-git=root
**PNPM**
- blockExoticSubdps: true
- trustPolicy: no-downgrade
## Scan dependecies
Ensure you use aliases so that these are use before we install.
*Clear package managers cache*
**Socket Firewall**
source_url: https://docs.socket.dev/docs/socket-firewall-free
**npq**
source_url: https://github.com/lirantal/npq
## LOCK FILES
*PR can change the package url*
- LockFile-Lint
## Use CLEAN install commands. CI
- npm ci
- pnpm install --frozen-lockfile
- bun isntall --frozen-lockfile