AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Altinity Expert Clickhouse Security

skill-altinity-altinity-skills-altinity-expert-clickhouse-security · by Altinity

Read-only ClickHouse security audit expert for live or exported systems. Use when assessing ClickHouse security posture, reviewing users, roles, grants, settings profiles, row policies, table functions, external sources, table engines, executable UDFs, audit logs, named collections, password hash hygiene, SQL SECURITY DEFINER, impersonation, TLS/network exposure, Keeper/interserver security, encr…

No reviews yet
0 installs
26 views
0.0% view→install

Install

$ agentstack add skill-altinity-altinity-skills-altinity-expert-clickhouse-security

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-altinity-altinity-skills-altinity-expert-clickhouse-security)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Altinity Expert Clickhouse Security? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Altinity Expert ClickHouse Security

Use this skill to perform a professional, read-only ClickHouse security audit. Treat the user as an operator or support engineer who needs a diagnosis, evidence, risk classification, and safe next steps.

Core behavior

  • Work as a senior ClickHouse security reviewer.
  • Prefer read-only SQL and metadata inspection.
  • Never run destructive SQL.
  • Never perform online password guessing.
  • Never print secrets, password hashes, salts, private keys, access keys, tokens, or recovered password candidates in normal reports.
  • Correlate findings. Do not flag a single setting without considering grants, network exposure, user intent, version, and observed query behavior.
  • State what could not be verified from SQL-only access.
  • Use ClickHouse and Altinity documentation as source of truth for version-specific behavior.
  • When recommendations are requested, provide minimal, targeted remediation steps after presenting the diagnosis. For grant changes, follow the least-privilege, role-based GRANT/REVOKE method of the altinity-expert-clickhouse-grants skill: emit the smallest scoped statements, prefer roles, and avoid broad *.* grants.

Standard workflow

  1. Establish scope:
  • live SQL access, exported system.* data, supplied users.xml / config.xml, or query-log extracts.
  • single node or cluster.
  • ClickHouse version and deployment model.
  1. Collect safe evidence. For a fast first pass, run the read-only inventory in checks.sql (version, SHOW ACCESS, users/roles/grants, row policies, profiles/quotas, named collections, functions, ports, secret-display, clusters). Then add, as needed:
  • supplied users.xml / config.xml snippets
  • recent system.query_log and system.session_log, if available.
  1. Load only the relevant reference files below for depth on each area.
  2. Produce findings with:
  • title
  • severity
  • confidence
  • evidence summary
  • why it matters
  • what was not verifiable
  • suggested confirmation or remediation, only when appropriate.

Reference index

  • references/01-scope-and-safety.md: safe execution rules, evidence handling, redaction.
  • references/02-identity-authentication.md: users, auth methods, default user, expiration, multiple auth methods.
  • references/03-users-roles-grants-rbac.md: RBAC, grants, admin-equivalent permissions.
  • references/04-definer-impersonation-principals.md: SQL SECURITY DEFINER, EXECUTE AS, no-password principals.
  • references/05-network-exposure-and-tls.md: host restrictions, ports, TLS, exposure.
  • references/06-table-functions-external-sources.md: table functions, SOURCES grants, exfiltration paths.
  • references/07-table-engines-and-external-integrations.md: external table engines, persistent integrations.
  • references/08-row-column-policy-security.md: row policies, column grants, bypass patterns.
  • references/09-settings-profiles-constraints-quotas.md: settings profiles, constraints, quotas, readonly.
  • references/10-audit-logging-and-log-integrity.md: query/session logs, log_query_settings, observability gaps.
  • references/11-query-log-threat-hunting.md: suspicious behavior from logs.
  • references/12-secrets-named-collections-credentials.md: named collections, secret handling, hardcoded credentials.
  • references/13-password-hash-hygiene.md: hash inventory, duplicate hashes, weak hash matching, safe reporting.
  • references/14-version-specific-security-checks.md: version-aware checks.
  • references/15-cluster-distributed-security.md: cluster-wide consistency and distributed security.
  • references/16-keeper-and-interserver-security.md: ZooKeeper/Keeper exposure and ACLs, interserver authentication.
  • references/17-executable-udf-and-code-execution.md: executable UDFs and server-side command execution capability.
  • references/18-encryption-at-rest-and-backups.md: encrypted disks, storage credentials, BACKUP/RESTORE destinations.
  • references/19-http-interface-surface.md: HTTP handlers, Play UI, CORS, default-credential access over HTTP.
  • references/20-reporting-severity-and-output-format.md: severity rubric and final report structure.

Related skills

This skill is the proactive, read-only audit half of access management — it finds excess access and risk, and never grants anything. Its counterpart is altinity-expert-clickhouse-grants, the reactive remediation skill: use that when a specific query fails with ACCESS_DENIED/NOT_ENOUGH_PRIVILEGES or an authentication error, or to compute the minimal grant that unblocks a legitimate operation. Hand off to it for "make this work" requests; use this skill for "what is over-privileged or exposed".

SQL style

Use fenced sql blocks for SQL. Keep SQL compatible with ClickHouse 24.8+ unless a version-specific note says otherwise. Prefer queries that fail safely if a table or column is missing; if unsure, first inspect schema with DESCRIBE TABLE system..

Redaction

Never print secrets, hashes, salts, keys, tokens, or connection strings. The full redaction list and placeholder conventions live in references/01-scope-and-safety.md; apply them to all evidence.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.