timeago-react @3.1.7
Maintainers
Keywords
Dependencies (1)
| Package | Constraint | Registry Status |
|---|---|---|
| timeago.js | ^4.0.0 | auto_approved |
Dev Dependencies (35)
| Package | Constraint | Registry Status |
|---|---|---|
| jest | ^24.9.0 | auto_approved |
| husky | ^3.0.9 | auto_approved |
| react | ^16.11.0 | auto_approved |
| enzyme | ^3.10.0 | auto_approved |
| eslint | ^6.5.1 | auto_approved |
| rimraf | ^3.0.0 | auto_approved |
| ts-jest | ^24.1.0 | No greenflagged match |
| webpack | ^4.41.2 | auto_approved |
| prettier | ^1.18.2 | auto_approved |
| coveralls | ^3.0.0 | auto_approved |
| cross-env | ^5.1.3 | No greenflagged match |
| react-dom | ^16.11.0 | auto_approved |
| ts-loader | ^6.2.1 | No greenflagged match |
| css-loader | ^3.2.0 | auto_approved |
| typescript | ^3.6.4 | auto_approved |
| url-loader | ^2.2.0 | auto_approved |
| @types/jest | ^24.0.19 | No greenflagged match |
| file-loader | ^4.2.0 | auto_approved |
| jest-expect | ^0.0.1 | Not imported |
| lint-md-cli | ^0.1.1 | Not imported |
| lint-staged | ^9.4.2 | auto_approved |
| webpack-cli | ^3.3.10 | No greenflagged match |
| @types/react | ^16.9.9 | auto_approved |
| style-loader | ^1.0.0 | auto_approved |
| @types/enzyme | ^3.10.3 | auto_approved |
| jest-electron | ^0.1.7 | Not imported |
| react-adsense | ^0.1.0 | Not imported |
| @commitlint/cli | ^8.2.0 | No greenflagged match |
| @types/react-dom | ^16.9.3 | No greenflagged match |
| eslint-plugin-react | ^7.16.0 | auto_approved |
| eslint-config-prettier | ^6.3.0 | auto_approved |
| enzyme-adapter-react-16 | ^1.15.1 | auto_approved |
| @typescript-eslint/parser | ^2.4.0 | auto_approved |
| @types/enzyme-adapter-react-16 | ^1.0.5 | Not imported |
| @typescript-eslint/eslint-plugin | ^2.4.0 | auto_approved |
Transitive Dependency Tree
Changes from v3.0.7
Dependency Changes
Script Changes
+ preinstallFile Changes
Risk Dispositions (5 applicable to this version, 0 other)
Accepted rules are downgraded to INFO on future analyses; rejected rules escalate to CRITICAL.
| Rule | Source | Disposition | Author | Reason | |
|---|---|---|---|---|---|
install-script:preinstall |
install-scripts | reject | AI | AI (install-scripts): Preinstall running obfuscated index.js is malicious; not present in legitimate versions of this package. | |
semgrep:obfuscation-while-true |
semgrep | reject | AI | AI (semgrep): Obfuscated payload in index.js is a malware indicator; not legitimate for this package. | |
semgrep:obfuscation-hex-functions |
semgrep | reject | AI | AI (semgrep): Hex-obfuscated functions in index.js confirm javascript-obfuscator malware payload. | |
semgrep:env-spread |
semgrep | reject | AI | AI (semgrep): process.env spread in obfuscated payload indicates credential exfiltration. | |
url-dep:@antv/setup |
npm-metadata | reject | AI | AI (npm-metadata): SHA-pinned GitHub optionalDependency matches known supply-chain attack pattern; not legitimate for this package. |
SAST Findings (8)
Script: bun run index.js
Dependency '@antv/setup' in `optionalDependencies` points to 'github:antvis/G2#1916faa365f2788b6e193514872d51a242876569' instead of a registry version. URL dependencies bypass the registry and can be swapped at any time. A 40-character commit SHA in a dependency URL is a strong supply-chain signal — the 2026-05-11 TanStack/Mini Shai-Hulud attack used this exact shape in `optionalDependencies` to smuggle a malicious payload past lifecycle-script and OSV checks.
while(!![]) loop is a signature of javascript-obfuscator output > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Spreading entire process.env into an object — may capture all secrets > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,
Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
Review Summary
Risk score: 100 (capped from 178). Findings: 7 high (+175), 1 low (+3).
Published to npm: