font-hub
This is a helper library for react to load svg fonts from a server.
This report shows the evidence for font-hub@1.5.2, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThis is a concrete remote-code-execution loader, not a benign font-fetching implementation. Lack of install hooks reduces automatic activation but does not remove the malicious runtime attack surface.
Decision evidence
public snapshot- `index.js` fetches `https://svganchordev.net/icons/107` when its exported function is invoked.
- `index.js` passes remote JSON field `data.credits` directly to `new Function(...)`.
- The evaluated remote code receives `require`, `process`, filesystem-relevant paths, globals, and timers.
- No lifecycle hook is present, but ordinary runtime use activates the remote-code path.
- `package.json` has no preinstall, install, or postinstall script.
- Source inspection found no local file write, credential harvesting, or agent-config mutation in the package itself.
Source & flagged code
2 flagged · loading sourceSource fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to font-hub@1.5.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing font-hub@1.5.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.