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":["@sogni-ai/[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":["@sogni-ai/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Remote Payload: matched "cUrl "
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 34 · status changed
Evidence
Static findings
8 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| medium | Remote Payload | package/src/index.ts | matched "cUrl " | 12 |
Show all 8 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| medium | Remote Payload | package/src/index.ts | matched "cUrl " | 12 |
| low | Install-time lifecycle script | package.json | prepare="npm run codegen && husky" | 4 |
| low | Obfuscation | package/dist-esm/lib/base64.js | matched "fromCharCode" | 3 |
| low | Obfuscation | package/dist/lib/base64.js | matched "fromCharCode" | 3 |
| low | Obfuscation | package/dist-esm/lib/mediaValidation.js | matched "fromCharCode" | 3 |
| low | Obfuscation | package/dist/lib/mediaValidation.js | matched "fromCharCode" | 3 |
| low | Obfuscation | package/src/lib/base64.ts | matched "fromCharCode" | 3 |
| low | Obfuscation | package/src/lib/mediaValidation.ts | matched "fromCharCode" | 3 |
Manifest
Package metadata
Scripts14
buildnpm run clean && npm run codegen && tsc --project tsconfig.json && tsc --project tsconfig.esm.json && node scripts/write-dist-esm-package-json.mjscleanrimraf ./dist ./dist-esmcodegennode scripts/generate-hosted-tools-manifest.mjs && node scripts/generate-version.mjsdocsrimraf ./docs && npx typedocpostdocsnode -p "'sdk-docs.sogni.ai'" > docs/CNAMEpreparenpm run codegen && huskyprepublishOnlynpm run buildprettierprettier --check ./srcprettier:fixprettier --write ./srcreleasesemantic-releasetest:chat-routingnpm run build && node scripts/check-chat-model-routing.cjstest:workflow-template-envelopenpm run build && node scripts/check-workflow-template-envelope.cjswatchnpm run clean && npm run codegen && tsc --watch --project tsconfig.jsonwatch:esmnpm run codegen && tsc --watch --project tsconfig.esm.json
Dependencies11
@lukeed/uuid^2.0.1@sogni-ai/sogni-protocol1.0.0-alpha.6@types/js-cookie^3.0.6@types/lodash^4.17.23@types/ws^8.5.13ethers^6.16.0isomorphic-ws^5.0.0js-cookie^3.0.5jwt-decode^4.0.0lodash^4.18.1ws^8.18.0