# shld documentation
Source: https://shld.app/docs/ · Updated 2026-11-30 · Synced from shld f6c77924

> Learn how shld inventories software, chooses alerts, records host activity, and connects a Linux server.


Use these pages to install shld, inspect its decisions, and check the evidence behind an alert. Each page states the coverage and the limits that apply to its feature.

shld is a small agent for Linux VPS hosts. It records OS packages, language packages, WordPress core, plugins, and themes. It matches that inventory against signed advisory bundles, then sends email for the updates and installed malicious packages that meet its policy, and for a known-exploited (KEV) advisory with no fix. Your email level decides which of those email at once and which wait for a weekly summary.

The agent has a second path for host activity. It watches processes, network connections, persistence locations, file permissions, reverse-shell signs, decoy files, and SSH logins in observe mode. Findings and their linked events go into a local hash-chained tape.

shld serves people who run one or a few servers and administer them through their own AI assistant, such as Claude Code on the server. The agent contains no AI and starts no assistant. Deterministic code on the host decides what to record and send. The dashboard supplies a fix prompt, and the administrator decides what the assistant may run.

## Two paths to an incident

| Path | Input | Where the decision happens | Result |
| --- | --- | --- | --- |
| Package advisories | Installed software and signed public advisory data | `Record.Action` in `internal/advisory/policy.go` | Email, dashboard review, a coverage notice, hidden status, or no action, chosen by the verdict and record |
| Host activity | File metadata, `/proc`, and SSH logs | Local collection and rules | Findings on the tape, with selected notifications |

A package alert groups advisories that share one update action. An advisory email names the host, package, installed version, and primary advisory ID, and includes a fixed version and update or verification commands when the incident supplies them. The related incident carries the copy-paste fix prompt. For an activity alert, treat the rule match as evidence to investigate. The local record shows what the agent observed.

## Current status

shld is in beta; anyone can sign up at [app.shld.app](https://app.shld.app/). The service and release checks described in these pages do not establish production measurements, real-inbox delivery for every setup, or coverage outside the listed systems.

Start with [How shld works](/docs/how-it-works) for the data flow. Use [Install and connect a server](/docs/install) when you have an approved Linux target and a verified release. Read [Limits and coverage](/limits) before you draw a conclusion from a quiet dashboard or a single finding.

## Reading the evidence

Keep these facts separate:

- A signed advisory proves the integrity of data under the feed key. The match still depends on inventory and version coverage.
- A receipt proves that the platform accepted a record. It does not prove inbox receipt or human review.
- Acknowledging an alert marks it as reviewed. It changes nothing on the server.
- A tape hash chain detects later edits to the retained records. A local root attacker can replace the agent and tape.

## Limits

Polling can miss activity between collection cycles. Package matching can miss software outside the supported inventory and advisory sources. A report with zero findings does not prove the server is safe.

## Related

- [How shld decides to email](/docs/alerts)
- [What leaves your server](/docs/data-handling)
- [Limits and coverage](/limits)

## Pages

- [How shld works](https://shld.app/docs/how-it-works.md): Follow a server observation through inventory, advisory matching, local evidence, alert delivery, and the administrator's own AI assistant.
- [Install and connect a server](https://shld.app/docs/install.md): Install shld by hand. Check the signed release yourself, install the service, approve the server, and confirm monitoring works.
- [How shld decides to email](https://shld.app/docs/alerts.md): Read the exact advisory policy, grouping rules, escalation behavior, fields that shld puts in an actionable package alert, and when SMS and call alerts go out.
- [Supported systems](https://shld.app/docs/supported-systems.md): Check distro, language package, WordPress, architecture, inventory-file, and layout coverage before installing shld on a server.
- [Advisory feed and signing](https://shld.app/docs/advisory-feed.md): Understand the public advisory sources, signed bundle format, publication triggers, host sync states, and behavior during a feed outage.
- [CLI reference](https://shld.app/docs/cli.md): Look up every shld command, its purpose, important flags, JSON behavior, and command-specific exit codes.
- [Activity findings](https://shld.app/docs/activity-findings.md): Inspect the process, connection, persistence, file-permission, reverse-shell, and decoy signals that shld records on its local tape.
- [Update and roll back shld](https://shld.app/docs/updates.md): Check authenticated releases, apply a supported update by hand or by the daily timer, understand rollback, and preserve evidence when recovery remains unproved.
- [Alert webhooks](https://shld.app/docs/webhooks.md): Send shld alerts to your own HTTPS endpoint and verify the HMAC signature, retries, and delivery behavior.
- [Running shld on locked-down servers](https://shld.app/docs/locked-down-servers.md): Run shld behind an HTTPS proxy: the hosts to allow, SHLD_PROXY, a Squid allowlist, apt, and the daily outbound check.
- [What leaves your server](https://shld.app/docs/data-handling.md): See the exact summaries, heartbeats, evidence records, dashboard data, email content, and optional AI metadata that leave a shld host.
- [The dashboard](https://shld.app/docs/dashboard.md): Review incidents and servers, copy a safeguarded fix prompt, record acknowledgment, and control optional AI-drafted instructions.
- [SSH logins in observe mode](https://shld.app/docs/ssh-logins.md): Learn which SSH logins shld records, how host history shapes anomaly classes, and how to inspect the profile without changing it.
