PkgRadar

Package evidence

@lottiefiles/[email protected]

Js Split Join Obfuscation: Array-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.

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
86,744Mainstream · −50% score
Versions published
59Mature · −50% score
First published
May 2019
Publisher
jawish

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":["@lottiefiles/[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":["@lottiefiles/[email protected]"],"fail_on":"review"}'
Publisherjawish
Artifact bytes1,717,477
Previous version2.0.10
Published2024-11-01T00:49:07.238Z
SHA-256b380f56a87c65e7e84f024fac844a261b87ca8589e1d594a92dfcad00b5a2a98

Why flagged

What the scanner saw

Js Split Join Obfuscation: Array-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highJs Split Join Obfuscationpackage/dist/lottie-player.esm.jsArray-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.40
highJs Split Join Obfuscationpackage/dist/lottie-player.jsArray-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.40
highJs Split Join Obfuscationpackage/dist/tgs-player.esm.jsArray-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.40
highJs Split Join Obfuscationpackage/dist/tgs-player.jsArray-of-single-tokens joined to form a string — used to obscure module names like require(["n","o","de",":","cr","yp","to"].join("")), defeating static require() analysis.40

Manifest

Package metadata

Scripts17
  • buildnpm run cleanup && npm run build-lottie && npm run build-tgs
  • build-lottierollup -c
  • build-tgsrollup -c rollup-tgs.config.js
  • build-with-coveragenpm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs
  • cleanupshx rm -rf dist && shx mkdir dist
  • linteslint . --ext .ts,.tsx,.js
  • lint:fixeslint . --ext .ts,.tsx,.js --fix
  • postrun-testskill $(lsof -t -i:8000)
  • prebuildnode -p "'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'" > src/versions.ts
  • prestartnode -p "'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'" > src/versions.ts
  • releasesemantic-release
  • run-testsyarn run build-with-coverage && yarn run serve && yarn run start-cypress
  • servenode ./cypress/pages/server.js -p 8000 &
  • startnpm run cleanup && rollup -c --watch
  • start-cypressyarn run cypress run && npx nyc report --reporter=text-summary
  • watch-lottienpm run cleanup && rollup -c --watch
  • watch-tgsnpm run cleanup && rollup -c rollup-tgs.config.js --watch
Dependencies5
  • @types/pako^1.0.1
  • lit^2.1.2
  • lottie-web^5.12.2
  • pako^2.0.4
  • resize-observer-polyfill^1.5.1