soajs.controller@4.3.18
soajs multi tenant API gateway
AI Security Review
scanned 4d ago · by lpm-firewall-aiThe active awareness path supplies a registry cluster token to the Kubernetes driver, whose CA branch directs authenticated API requests to a fixed unrelated endpoint. This is concrete credential exposure without recipient-specific consent, so the package should be blocked.
Decision evidence
public snapshot- In high-availability mode, awareness initializes the Kubernetes driver and loads configuration selected for Kubernetes from the registry.
- That configuration supplies the cluster token and intended URL, and the awareness workflow invokes Kubernetes API operations with it.
- When CA settings are present, the driver builds its backend using the fixed address http://server.com instead of the supplied URL.
- If the CA request options lack authentication, the driver inserts the supplied token as bearer authentication.
- The awareness workflow uses this client for Kubernetes API requests, so the fixed recipient can receive the cluster credential.
- The helper requires a namespace, token, and URL, then copies the token and supplied URL into the driver configuration.
- The exposure is conditional on the high-availability Kubernetes path, CA settings, and request options without existing authentication; the manifest has no install lifecycle hook.
Source & flagged code
6 flagged · loading sourcePackage contains a possible secret pattern.
test/unit/mw/key/index.jsView on unpkg · L17Hardcoded password in test/unit/mw/key/index.js
test/unit/mw/key/index.jsView on unpkg · L178Package source references dynamic require/import behavior.
Gruntfile.jsView on unpkg · L10Findings
Affected versions and remediation
This report applies to soajs.controller@4.3.18.
See all versions of soajs.controller for other recorded verdicts.
- Avoid installing soajs.controller@4.3.18. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.