Skip to content

Fix autobuilding of SDK#2

Merged
Pelle Wessman (voxpelli) merged 1 commit intomasterfrom
work-on-automated-update
Oct 19, 2022
Merged

Fix autobuilding of SDK#2
Pelle Wessman (voxpelli) merged 1 commit intomasterfrom
work-on-automated-update

Conversation

@voxpelli
Copy link
Copy Markdown
Contributor

No description provided.

@voxpelli Pelle Wessman (voxpelli) marked this pull request as draft October 18, 2022 15:36
@voxpelli Pelle Wessman (voxpelli) changed the title Tweak Fix autobuilding of SDK Oct 19, 2022
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Oct 19, 2022

Socket Security Report

👍 No new dependency issues detected in pull request

Socket.dev scan summary
Issue Status
Did you mean? ✅ no new possible package typos
Install scripts ✅ no new install scripts
Telemetry ✅ no new telemetry
Troll package ✅ no new troll packages
Malware ✅ no new malware
Native code ✅ no new native modules
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

Ignoring: npm-run-all2@6.0.2

Powered by socket.dev

@socket-security-staging
Copy link
Copy Markdown

socket-security-staging Bot commented Oct 19, 2022

Socket Security Report

👍 No new dependency issues detected in pull request

Socket.dev scan summary
Issue Status
Did you mean? ✅ no new possible package typos
Install scripts ✅ no new install scripts
Telemetry ✅ no new telemetry
Troll package ✅ no new troll packages
Malware ✅ no new malware
Native code ✅ no new native modules
Bin Script Confusion ✅ no new bin script confusions
Bin script shell injection ✅ no new bin script shell injection
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

Ignoring: npm-run-all2@6.0.2

Powered by socket.dev

@voxpelli Pelle Wessman (voxpelli) marked this pull request as ready for review October 19, 2022 19:18
@voxpelli
Copy link
Copy Markdown
Contributor Author

Socket (@SocketSecurity) ignore npm-run-all2@6.0.2

@voxpelli Pelle Wessman (voxpelli) merged commit 281006e into master Oct 19, 2022
@voxpelli Pelle Wessman (voxpelli) deleted the work-on-automated-update branch October 19, 2022 19:44
John-David Dalton (jdalton) added a commit that referenced this pull request Apr 27, 2026
…Bugbot)

Two issues from Cursor Bugbot's review:

1. token-guard sed redaction regex couldn't cross delimiter boundary
   (high). The pattern /\bsed\b[^|]*s[/|#][^/|#]*=[^/|#]*<?redact/i
   used [^/|#]* which stops at the / between sed pattern and
   replacement, so 'sed s/=.*/=<redacted>/' (the canonical fix the
   error message suggests) never matched. Replaced with [\s\S]*? to
   reach across the delimiter.

2. pre-push.mts .env detection only matched root-level .env / .env.local
   (high). commit-msg.mts and pre-commit.mts both use basename() with
   a broader pattern. pre-push is the mandatory enforcement layer for
   --no-verify bypasses; weaker detection there meant a nested
   packages/cli/.env.local would slip through. Aligned to basename-
   based matching with the same allowlist (.env.example/.env.test/
   .env.precommit).

Note on Bugbot finding #2 (rmSync in scripts/bootstrap-from-registry.mts):
deliberate. The bootstrap script runs BEFORE pnpm install — that's
its whole purpose — so @socketsecurity/lib's safeDelete isn't
available yet. Discard.
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.

1 participant