Skip to content

pnpm asks for "allowing build" for @pnpm/exe #12377

Description

@yusifaliyevpro

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

11.6.0

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

pnpm setup

Reproduction steps

Just run this command pnpm setup

Describe the Bug

Why does pnpm require allowing builds for its own build? Because pnpm self-update didn’t ask for it. Only pnpm setup asks. It seems suspicious.

Image

Expected Behavior

Even if pnpm has its own build step, it must not ask for permission. It feels like someone has pushed postinstall script malware to pnpm.

Which Node.js version are you using?

24.15.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions