Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@bastani/atomic-storage-libsql

Latest version: v0.10.10-alpha.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: bastani
883 Stars
120 Forks
127 Versions
21.1K Downloads
TypeScript Repo language

Scan summary

@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.

  • Releases: 127 versions; the latest 5 were published on 24 Nov 2026.
  • Findings: No rules fired in version 0.10.10-alpha.1.
  • Downloads: 21,111 downloads.

Versions

127 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.10.10-alpha.1

Findings

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.

README

The publisher’s own README, as collected from the registry.

@bastani/atomic-storage-libsql

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.

Install

atomic install npm:@bastani/atomic-storage-libsql

Install in user scope (without -l); Atomic only searches user-scope packages for storage adapters.

Configure

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.

Use from the SDK

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.

License

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @bastani/atomic-storage-libsql

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229