@ultrst-armada/kloks@1.24.5
Kloks — Public Backend, State-Graph, Audio/MIDI & Service Package Library built on KrnlTS (@kloks/*)
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe credential destination flagged by the scanner is a GitHub API client, but the services package also contains a hard-coded administrator fallback that can mint an authenticated admin session. This is a serious authentication bypass for applications relying on that client-side auth state, though it requires an explicit login call.
Decision evidence
public snapshot- If the admin login request does not produce a successful response, the fallback accepts the hard-coded credentials admin@depm.vault / admin123 and creates a user with role admin.
- The fallback stores that admin user in the session and returns a successful login result.
- Session creation generates a token when none is supplied, enabling the local session to appear authenticated.
- AuthService exposes loginAdmin as an explicit method callers can invoke.
- The admin fallback runs when loginAdmin is called; the inspected code does not invoke it automatically on import.
- The flagged GitHub token flow defaults to api.github.com, consistent with a GitHub API client.
Source & flagged code
5 flaggedPackage source references dynamic require/import behavior.
packages/state-graph/dist/transformers.node-HWHOAE4H.jsView on unpkg · L33Package source references a known benign dynamic code generation pattern.
packages/state-graph/dist/transformers.node-HWHOAE4H.jsView on unpkg · L18054Findings
Affected versions and remediation
This report applies to @ultrst-armada/kloks@1.24.5.
See all versions of @ultrst-armada/kloks for other recorded verdicts.
- Review the evidence and your use of @ultrst-armada/kloks@1.24.5 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.