Commit 54cfe5d
authored
chore(pnpm): add security settings for supply chain attack prevention (#307)
* chore(pnpm): add security settings for supply chain attack prevention
Add strictDepBuilds, blockExoticSubdeps settings to pnpm-workspace.yaml.
These settings protect against supply chain attacks by:
- strictDepBuilds: Blocking lifecycle scripts by default
- blockExoticSubdeps: Blocking non-registry dependencies
The trustPolicy setting was already present but now has proper
documentation comments explaining its purpose.
Reference: https://pnpm.io/settings
* docs(rules): document pnpm security settings and add nix-workflow symlink
- Add Security Settings section to pnpm-usage.md explaining the three
security settings and their purposes
- Add symlink for nix-workflow.md to .cursor/rules for consistency
* chore: format pnpm-usage.md table1 parent a400da8 commit 54cfe5d
3 files changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
47 | 62 | | |
48 | 63 | | |
49 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
| |||
0 commit comments