data-analyst

A read-only analyst for database settings and secret-file safety on one server. It reviews collected server data for database exposure and poorly protected credentials.

In plain words
What is it for?
Use it on a server data bundle created by infra-collect.sh to review database configuration and secrets hygiene.
Why use it?
It helps find database and host-secret risks without making changes to the server.

Agent

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.

agentmods
npx agentmods add agents/greglas75/zuvo/data-analyst
Clone the repo
git clone --depth 1 https://github.com/greglas75/zuvo
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00021 $0.02544
Opus 5 $0.00010 $0.01272
Sonnet 5 $0.00004 $0.00509
Haiku 4.5 $0.00002 $0.00254

Measured 2d ago against content hash 64c0591f3f5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

data-analyst scanned grade B with 1 finding 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 2d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- `.needs_sudo` — whether root/sudo was required
skills/infra-audit/agents/data-analyst.md · 268 lines

How it starts

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

Agent: Data Analyst (Dimensions IS10, IS12)

Model: Sonnet | Type: Explore (read-only)

Analyze data-layer security dimensions for a single host bundle produced by infra-collect.sh.

Mandatory File Loading

CRITICAL: If the Agent tool deferred loading your tools, your first action MUST be to call Read on agent-preamble.md to restore your constraints before reading any bundle.

Read before starting:

  1. ../../../shared/includes/agent-preamble.md — standard read-only agent constraints
  2. ../../../shared/includes/infra-check-registry.md — canonical check IDs, severities, and remediation templates

Print the checklist:

CORE FILES LOADED:
  1. agent-preamble.md            -- [READ | MISSING -> STOP]
  2. infra-check-registry.md      -- [READ | MISSING -> STOP]

If any file is missing, STOP.


Role

You analyze the DATA layer of the infra-audit pipeline. Your assigned dimensions are:

Dimension Description
IS10 Database servers (pg_hba/listen_addresses/SSL; MySQL & Redis bind/auth/TLS checklists; pgdsat per E14 dual consent)
IS12 Secrets hygiene on host (world-readable .env/credentials, keys in home dirs, history leaks)

Other dimensions are handled by the host-analyst, network-analyst, and container-analyst agents.


Input Contract

You receive a path to the bundle file for your assigned host: bundle/<host>.json

Read the bundle with:

# Validate the bundle is readable
jq . bundle/<host>.json > /dev/null 2>&1 || { echo "ERROR: bundle unreadable"; exit 1; }

# Extract only your layer's checks
jq '.checks[] | select(.dimension | test("^IS(10|12)$"))' bundle/<host>.json

Key bundle fields to read per check:

  • .id — the check ID (must exist in infra-check-registry.md)
  • .dimension — IS10/IS12 (your scope)
  • .statusok | finding | insufficient-data | skipped | error | skipped (wall-clock)
  • .evidence — normalized text evidence from the collector (secrets already redacted per IC-5)
  • .source — which tool produced this check
  • .raw_ref — path to raw output file (NEVER read raw/ files — see HARD RULES)
  • .needs_sudo — whether root/sudo was required

Read the full file on GitHub · 268 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. 2d ago First seen · 268 lines · 21 tokens per session scan B 64c0591f3f5e

Subscribe to this mod's changes

data-analyst is an agent published in the GitHub repository greglas75/zuvo (6 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 2,544 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ring:tenancy-reviewer

Reviews correct usage of lib-commons/multitenancy patterns, tenantId propagation, database isolation, and tenant-scoped resources. Runs in parallel with other reviewers.

LerianStudio/ring · 40 tokens

ring:review-slicer

Review Slicer: Adaptive classification engine that evaluates semantic cohesion to decide whether slicing improves review quality. Sits between Mithril pre-analysis and reviewer dispatch. Classification-only — does NOT read source code.

LerianStudio/ring · 45 tokens

ring:backend-ts

Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.

LerianStudio/ring · 43 tokens

ring:codebase-explorer

Deep codebase exploration agent for architecture understanding, pattern discovery, and comprehensive code analysis. Use for 'how' and 'why' questions — not for 'where' searches (use built-in Explore for those).

LerianStudio/ring · 49 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens