PkgRadar

Package evidence

@tuya-miniapp/[email protected]

Install-time lifecycle script: postinstall="node ./scripts/postinstall.js"

Trust signals

Why this verdict

PkgRadar discounts a release’s score when public reputation argues against novel malware. The verdict above already reflects these — the panel just explains what was applied.

Versions published
391Mature · −50% score
First published
May 2024
Publisher
tuyafe

Effective trust discount applied: 50% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

Recommended action

Block this update

Static evidence trips multiple high-signal indicators. Quarantine the release until the publisher validates the change or you can rule out the indicators below.

Block this release in CIcurl · GitHub Actions

Fail the build when this package version is added or upgraded. Replace $PKGRADAR_TOKEN with a Pro / Team API key from your dashboard.

curl -fsS https://pkgradar.com/gate/npm \
  -H "Authorization: Bearer $PKGRADAR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"specs":["@tuya-miniapp/[email protected]"],"fail_on":"high"}'

GitHub Actions step:

- name: PkgRadar gate
  run: |
    curl -fsS https://pkgradar.com/gate/npm \
      -H "Authorization: Bearer ${{ secrets.PKGRADAR_TOKEN }}" \
      -H "Content-Type: application/json" \
      -d '{"specs":["@tuya-miniapp/[email protected]"],"fail_on":"high"}'
Publishertuyafe
Artifact bytes1,728,450
Previous version2.3.8-beta-4
Published2025-05-12T02:15:11.120Z
SHA-256ddcf80f97e15f0819ef55a96f4e8dfd2d214aaee220a5d0c198439bae3470201

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 2.3.8-beta-5 vs 2.3.8-beta-4: "node ./scripts/postinstall.js"

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

high
Last checked
highRisk
45Score
2.3.8-beta-5Version
Status history (1 event)
  1. newavailable · risk high · score 45 · status changed

Evidence

Static findings

1 static · 1 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.3.8-beta-5 vs 2.3.8-beta-4: "node ./scripts/postinstall.js"40
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.3.8-beta-5 vs 2.3.8-beta-4: "node ./scripts/postinstall.js"40
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node ./scripts/postinstall.js"5

Manifest

Package metadata

Scripts3
  • buildecho 'ok';
  • bumpnpm-publisher bump
  • postinstallnode ./scripts/postinstall.js