@xylex-group/athena@5.4.1
Athena JS SDK
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThere is no install-time hook or proven secret-theft chain; scanner eval and remote-execute labels match Function-import helpers and base64 utilities. Residual risk remains because the 60k-line bundles cannot be fully traced and the SDK can send credentials to a hardcoded default gateway.
Decision evidence
public snapshot- Main, Next, and CLI bundles are tens of thousands of lines, so this review and the scanner could not exhaustively prove every dynamic path is benign.
- The SDK defaults a missing gateway URL to https://mirror2.athena-cluster.com and then fetch()es with headers that can carry API keys.
- Bundled code uses Function() to dynamically import modules and to recover Node require for crypto.
- The athena-js CLI can write a generated secret into project .env.local when the user passes --write.
- A workspace-dev bin spawns Node with tsx, and the packed CLI spawnSyncs git.
- package.json has no preinstall, install, or postinstall script; remaining hooks are prepack, postpack, and prepublishOnly.
- Inspected Function() bodies are fixed import/require helpers, not eval of downloaded payloads.
- Inspected atob use is base64url, cursor, and storage decoding rather than execute-after-fetch.
- File writes inspected are generator, migration, and explicit CLI env updates, not hidden persistence.
- Network names inspected are Athena product hosts plus OAuth and billing providers for this SDK.
Source & flagged code
10 flagged · loading sourcePackage source references child process execution.
bin/athena-js-dev.mjsView on unpkg · L5Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
dist/next/server.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @xylex-group/athena@5.4.1.
See all versions of @xylex-group/athena for other recorded verdicts.
- Review the evidence and your use of @xylex-group/athena@5.4.1 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.