PkgRadar

Package evidence

@layerswap/[email protected]

Remote Payload: matched "api.telegram.org/bot"

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.

Weekly downloads
168
Versions published
32Mature · −50% score
First published
Apr 2025
Publisher
arentant

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

Review before promoting

Mixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.

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":["@layerswap/[email protected]"],"fail_on":"review"}'

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":["@layerswap/[email protected]"],"fail_on":"review"}'
Publisherarentant
Artifact bytes667,063
Previous version1.3.0
Published2026-06-09T20:04:03.020Z
SHA-256806326d44d339be9ceb7cadd30d679953da00280268c275016647bbf6454ed77

Why flagged

What the scanner saw

Remote Payload: matched "api.telegram.org/bot"

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

Availability ledger

available

review
Last checked
reviewRisk
8Score
1.4.0Version
Status history (1 event)
  1. newavailable · risk review · score 8 · status changed

Evidence

Static findings

2 static · 0 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
mediumRemote Payloadpackage/dist/esm/lib/telegram.jsmatched "api.telegram.org/bot"12
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
mediumRemote Payloadpackage/dist/esm/lib/telegram.jsmatched "api.telegram.org/bot"12
lowMessenger Bot Endpointpackage/dist/esm/lib/telegram.jsmatched "api.telegram.org/bot" — messenger-bot URL without exfil context (likely a notification handler)5

Manifest

Package metadata

Scripts6
  • buildpnpm clean && pnpm build:esm+types && pnpm build:css
  • build:csspostcss ./src/styles/globals.css -o dist/index.css --config postcss.config.js --env production
  • build:esm+typestsc --project tsconfig.json --outDir ./dist/esm --declaration --declarationMap --declarationDir ./dist/types && tsc-alias -p tsconfig.json --outDir ./dist/esm && tsc-alias -p tsconfig.json --outDir ./dist/types
  • check:typestsc --noEmit
  • cleanrimraf dist tsconfig.tsbuildinfo
  • devtsc-watch -p tsconfig.json --outDir ./dist/esm --onSuccess "tsc-alias -p tsconfig.json --outDir ./dist/esm"
Dependencies33
  • @headlessui/react^2.1.1
  • @layerswap/utils^1.4.0
  • @number-flow/react^0.5.10
  • @radix-ui/react-checkbox^1.1.5
  • @radix-ui/react-context-menu^1.0.0
  • @radix-ui/react-dialog^1.1.15
  • @radix-ui/react-popover^1.1.15
  • @radix-ui/react-progress^1.0.2
  • @radix-ui/react-select^1.2.1
  • @radix-ui/react-slot^1.0.2
  • @radix-ui/react-tabs^1.1.3
  • @radix-ui/react-tooltip^1.2.8
  • @tanstack/react-virtual^3.10.8
  • @tanstack/virtual-core^3.13.12
  • @uidotdev/usehooks^2.4.1
  • axios1.12.2
  • class-variance-authority^0.7.1
  • clsx^2.1.1
  • cmdk^0.2.0
  • color4.2.3
  • copy-to-clipboard^3.3.3
  • fflate^0.8.2
  • formik^2.2.9
  • framer-motion^12.26.2
  • lucide-react^0.379.0
  • qrcode.react^3.1.0
  • radix-ui^1.4.3
  • react-error-boundary^4.0.11
  • react-use-intercom^2.0.0
  • swr^2.2.5
  • …and 3 more.