performing-sqlite-database-forensics

performing-sqlite-database-forensics is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 46 tokens per session (4,088 once invoked), scanned A, original, Apache-2.0.

A method for examining SQLite database files for deleted records and other hidden traces. SQLite is a small database format commonly used by browsers, mobile apps, and desktop programs.

In plain words
What is it for?
It helps investigate browser history, messages, calls, locations, and app data stored in SQLite databases, including records deleted from the visible tables.
Why use it?
A normal database query shows only current table contents and can miss deleted data or transaction history. This helps find evidence that remains in internal database areas and log files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps investigate browser history, messages, calls, locations, and app data stored in SQLite databases, including records deleted from the visible tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/performing-sqlite-database-forensics
About the project

xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.

xalgorix/xalgorix · 1,531 stars · on GitHub · xalgorix.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xalgorix/xalgorix --skill performing-sqlite-database-forensics
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for performing-sqlite-database-forensics

README.md
[![agentmods](https://agentmods.dev/badge/skills/xalgorix/xalgorix/performing-sqlite-database-forensics/github.svg)](https://agentmods.dev/skills/xalgorix/xalgorix/performing-sqlite-database-forensics)
Your own site
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/performing-sqlite-database-forensics"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/performing-sqlite-database-forensics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for performing-sqlite-database-forensics

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/performing-sqlite-database-forensics"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/performing-sqlite-database-forensics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.04088
Opus 5.5 $0.00018 $0.01635
Sonnet 5.5 $0.00009 $0.00818
Haiku 4.5 $0.00005 $0.00409

Measured 2mo ago against content hash ffacad5cd8dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

performing-sqlite-database-forensics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/tools/skills/data/digital-forensics/performing-sqlite-database-forensics/SKILL.md · 375 lines

How it starts

The opening of the file, as written. The whole thing — 375 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Performing SQLite Database Forensics

Overview

SQLite is the most widely deployed database engine in the world, used by virtually every mobile application, web browser, and many desktop applications to store user data. In digital forensics, SQLite databases are critical evidence sources containing browser history, messaging records, call logs, GPS locations, application preferences, and cached content. Forensic analysis goes beyond simple SQL queries to examine the internal B-tree page structures, freelist pages containing deleted records, Write-Ahead Log (WAL) files preserving transaction history, and unallocated space within database pages where recoverable data may persist after deletion.

When to Use

  • When conducting security assessments that involve performing sqlite database forensics
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Detection Gaps & Validation

A plain SELECT * on the live table is the shallowest possible SQLite exam and misses most recoverable evidence. Cover these or you will under-report:

  • The deleted rows live outside the main tables. Querying the database with sqlite3 shows only active records. Deleted data persists in freelist pages, in unallocated space between the cell-pointer array and cell-content area, and in overflow pages. Parse these raw (as the freelist/slack code here does) — "no such message" from a SQL query is not proof it was never there.
  • WAL and journal hold uncommitted/rolled-back state. A -wal file can contain newer rows not yet checkpointed into the main DB, and older versions of pages superseded by later frames; a -journal holds pre-transaction images. NEVER open the DB read-write (it triggers a checkpoint and destroys this evidence) — copy db, -wal, -shm, and -journal together, and parse WAL frames page-by-page for multiple versions of the same row.
  • Secure-delete and VACUUM erase the freelist. If PRAGMA secure_delete was on, or the app ran VACUUM/auto-vacuum, deleted-record recovery yields little — note this as a coverage limitation, not a clean device. Carve surrounding unallocated disk space and check for prior DB copies/backups.
  • Validate timestamps by epoch, then corroborate. Decode against the correct base: Chrome/WebKit (µs since 1601), Mozilla PRTime (µs since 1970), Unix (s/ms), Mac Absolute (s since 2001). A mis-decoded timestamp can shift events by decades. Cross-check recovered rows against _shm indices, app logs, and a second artifact before relying on them.
  • Interpretation false positives. Carved freelist fragments may be stale/overwritten and mix bytes from unrelated records — a "recovered URL" can be a Frankenstein of two rows. Browser-history existence shows a page was rendered/visited, not that the user deliberately typed it (prefetch, redirects, ads). Confirm partial recoveries against record structure (valid serial types, rowid) before reporting them as fact.

Read the full file on GitHub · 375 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 375 lines · 46 tokens per session scan A ffacad5cd8dc

Subscribe to this mod's changes

performing-sqlite-database-forensics is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 4,088 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

performing-sqlite-database-forensics compared with skills from other repositories

performing-sqlite-database-forensics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
performing-sqlite-database-forensicsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A46Claude Code, Codex
cis-aws-foundations-3.2.3CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A21Claude Code, Codex
cis-aws-compute-12.8CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A19Claude Code, Codex
cis-aws-foundations-2.1.2CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A21Claude Code, Codex
cis-aws-foundations-2.1.6CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A21Claude Code, Codex
cis-aws-foundations-2.14CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A24Claude Code, Codex
cis-aws-foundations-2.18CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A21Claude Code, Codex