@tachybase/module-cloud-component@1.6.51
Cloud component
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe package has no install hook, and remote fetching is a core feature, but its redirect handling forwards configured credentials without a host check. This is a credential-disclosure vulnerability requiring an enabled remote library and a redirecting source, so it warrants a warning rather than a malicious-package block.
Decision evidence
public snapshot- The configured remote-library fetch passes the library's codeAuthToken and related authentication settings into fetchCode.
- Bearer authentication is placed in the Authorization header for remote fetches.
- When a response redirects, fetchFromCDN recursively requests the redirect URL with the same authType, authToken, and authUsername; it does not restrict the redirect to the original host.
- At application startup, enabled libraries are compiled and server libraries are loaded automatically.
- The manifest has no lifecycle scripts and declares the server entry point as dist/server/index.js.
- Remote fetching is part of the package's cloud-library feature and is gated on a library being configured with codeSource set to remote, a URL, and a code type.
- The automatic startup path uses cached code when available and fetches remote code only when the cache is absent.
Source & flagged code
6 flaggedPackage source executes code through a VM context API.
dist/server/services/cloud-libraries-service.jsView on unpkg · L47The configured remote-library fetch passes the library's codeAuthToken and related authentication settings into fetchCode.
dist/server/services/cloud-libraries-service.jsView on unpkg · L134Findings
Affected versions and remediation
This report applies to @tachybase/module-cloud-component@1.6.51.
See all versions of @tachybase/module-cloud-component for other recorded verdicts.
- Review the evidence and your use of @tachybase/module-cloud-component@1.6.51 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.