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
- 417
- Versions published
- 400Mature · −50% score
- First published
- Jul 2023
- Publisher
- joshuasui
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 promotingMixed 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":["@cainiaofe/[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":["@cainiaofe/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Large Javascript Payload: 2867528 bytes
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (1 event)
- new → available · risk review · score 10 · status changed
Evidence
Static findings
2 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| medium | Large Javascript Payload | package/dist/cn-ui-onecode.js | 2867528 bytes | 10 |
| medium | Large Javascript Payload | package/dist/cn-ui-onecode.polyfill.js | 2977486 bytes | 10 |
Manifest
Package metadata
Scripts5
buildpnpm run copy:stories && bash ./scripts/build.shcopy:storiesnode ./scripts/copy-demo.jsproxynode ./scripts/build/compile-watch-dist.jspubnpm publish --access=public --registry=https://registry.npmjs.orgstartpnpm run copy:stories && start-storybook --port 8089 -c ../../config/storybook
Dependencies16
@cainiaofe/cn-ui^0.11.29-beta.1@cainiaofe/cn-ui-m^0.11.29-beta.1ahooks3.7.8babel-runtime6.26.0bignumber.js9.0.2classnames2.3.1cn-request1.0.44dayjs1.11.3events3.3.0hoist-non-react-statics^3.0.0lodash4.17.21numbro2.3.6panda-i18n0.2.65prop-types^15.6.0query-string^7.1.3styled-components^5.3.5