Conversation
damien-schneider
added a commit
to mastra-ai/mastra
that referenced
this pull request
May 25, 2026
The type-check E2E fixture installs vitest@^4.1.0 in a fresh tmpdir, which resolves to vitest 4.1.7 and pulls tinyexec@1.2.2. Since 2026-05-23, tinyexec 1.2.x is published via npm's staged-publishes flow (tinylibs/tinyexec#129 #130), which drops the trusted-publisher metadata that 1.1.2 had. pnpm's trustPolicy: no-downgrade gate therefore rejects the install with ERR_PNPM_TRUST_DOWNGRADE on every PR. Audit findings (same maintainer 43081j across all versions, PRs visible and merged in tinylibs/tinyexec, code diff 1.1.2..1.2.2 is benign refactor + tests + nodePath feature): the metadata change is a benign maintainer-driven hardening (manual approval gate added via GitHub environment + npm stage publish), not a takeover. pnpm upstream explicitly recommends trustPolicyExclude for audited false positives (pnpm/pnpm#10622). Pass --config.trust-policy-exclude=tinyexec@* on the fixture install rather than the broader --config.trust-policy=no-check, so any other supply-chain regression still trips no-downgrade. The workspace-level trustPolicy: no-downgrade defense is unchanged. Remove once upstream restores trusted-publisher attestation, or once trustPolicyIgnoreAfter self-heals it (around 2026-06-22).
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.