Scan your whole stack
From OX Research Newsroom
Are you using @bastani/atomic-storage-libsql?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.10.10-alpha.1
@bastani/atomic-storage-libsql was last scanned on 24 Nov 2026 at version 0.10.10-alpha.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.10.10-alpha.1 LATEST | 24 Nov 2026 | No rules fired |
| 0.10.9 | 24 Nov 2026 | No rules fired |
| 0.10.9-alpha.1 | 24 Nov 2026 | No rules fired |
| 0.10.8 | 24 Nov 2026 | Not shown |
| 0.10.8-alpha.1 | 24 Nov 2026 | Not shown |
Findings for v0.10.10-alpha.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.10.10-alpha.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A libSQL / Turso storage adapter for Atomic. It stores sessions and Intercom multi-node routing in one shared database, so several machines can use the same state. It is a separate package: install it only where you want remote storage.
atomic install npm:@bastani/atomic-storage-libsql
Install in user scope (without -l); Atomic only searches user-scope packages for storage adapters.
Select the adapter in ~/.atomic/agent/settings.json:
{
"storage": {
"adapter": "@bastani/atomic-storage-libsql",
"options": { "url": "libsql://<db>.turso.io" },
"secrets": { "authToken": { "file": "turso-token" } }
}
}
turso db tokens create <db> > ~/.atomic/turso-token
chmod 600 ~/.atomic/turso-token
| Option | Required | Description |
|---|---|---|
url |
yes | A libsql://, https://, wss://, or file: URL. |
authToken |
for remote databases | The database token. Pass it through secrets ({ "file": ... } or { "env": ... }) so it stays out of settings. |
namespace |
no | A self-hosted sqld namespace (sqld --enable-namespaces), sent as the x-namespace header. Needs a libsql:, https:, or http: URL. |
A file: database is opened in write-ahead-log mode with a 5000 ms busy timeout, the way Atomic's own SQLite stores are, so several processes can read and write one file at once: a statement waits up to 5 seconds for a lock another process holds instead of failing with SQLITE_BUSY, and the wait blocks the calling thread. A statement outside a transaction, an exec of one statement, a batch, or the start of a transaction that waited out those 5 seconds runs again as long as another connection committed while it waited, so it fails only once a whole wait passes in which nobody committed. Several statements in one exec do not run again. The first open changes the file to WAL mode, which is kept in the file and adds -wal and -shm files beside it. Open a file only through this adapter at a time: another SQLite library with the same file open in WAL mode was seen to read stale data.
A libSQL server (sqld) answers a write that meets its checkpoint SQLITE_BUSY at once, without running it. A statement outside a transaction, an exec of one statement, a batch, or the start of a transaction that the server answers busy runs again with growing, jittered waits for up to 5 seconds of backoff, within a wall-clock retry ceiling of at most 10 seconds from the start of the call (one 5-second server lock timeout plus one 5-second checkpoint window, while fast and WAN-RTT persistent refusals still stop within 5 seconds plus one round trip).
The token is redacted from error messages and diagnostics. Add a prefix to the storage block to keep projects or teams apart in one database. See Storage for selection precedence, per-process overrides, and the other storage options.
import { openLibsqlDatabase } from "@bastani/atomic-storage-libsql";
const database = await openLibsqlDatabase({ url: "libsql://<db>.turso.io", authToken });
openLibsqlDatabase also accepts namespace and headers (extra request headers, redacted from errors), both for libsql:, https:, or http: URLs. The returned SqliteDatabase can be passed as SDK sessionStore: { kind: "database", database }; it sends a batch of statements to the database in one request.
The package ships plain ESM JavaScript with TypeScript declarations. This import works in supported Node versions without a TypeScript loader.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.