Fabric
Quick Reference
Category: CloudAPIClient |
OS: Windows, Linux, macOS |
Privileges: user |
Free: Yes
Fabric is an open-source CLI framework that pipes text through curated LLM
prompts ("patterns") for tasks like summarisation, analysis, and content
extraction. It is designed for seamless UNIX pipeline integration —
cat sensitive_file.txt | fabric --pattern summarize trivially exfiltrates
document content to a cloud LLM. Fabric stores API keys in
~/.config/fabric/.env and downloads patterns from GitHub. Its UNIX-native
design makes it easy to embed in scripts and cron jobs, and its small
footprint makes it easy to overlook.
Details
| Field | Value |
|---|---|
| Website | https://github.com/danielmiessler/fabric |
| License | MIT |
Capabilities: RemoteAPIProxy
Disk Artifacts
| Path | OS | Type | Phase | Trust | Description |
|---|---|---|---|---|---|
~/.local/bin/fabric |
Linux | Binary | Install | — | Fabric CLI binary (Linux/macOS — go install or pip) |
C:\Users\*\go\bin\fabric.exe |
Windows | Binary | Install | — | Fabric CLI binary (Windows — go install) |
~/.config/fabric/.env |
Any | Config | Activation | — | Fabric environment file containing API keys for OpenAI, Anthropic, Google, and other providers — HIGH VALUE credential target. |
~/.config/fabric/patterns/ |
Any | Config | Install | — | Pattern library — LLM prompt templates, downloaded from GitHub |
~/.config/fabric/fabric.db |
Any | Log | Use | — | Fabric SQLite database storing sessions and history |
Process Artifacts
fabric (Use)
Fabric CLI process — typically short-lived, invoked in shell pipelines
Expected parent: bash
| CLI Pattern | Phase | Trust | Description |
|---|---|---|---|
fabric\s+--pattern\s+\S+ |
Use | — | Standard fabric pattern invocation |
fabric\s+--setup |
Activation | — | Fabric setup — configures API keys |
fabric\s+--update |
Install | — | Pattern library update from GitHub |
fabric\s+--stream |
Use | — | Streaming output mode — often used in automated pipelines |
Network Artifacts
| Description | Protocol | Ports | Bind Address | Domains | Phase | Trust |
|---|---|---|---|---|---|---|
| OpenAI API (default provider) | TCP | 443 | — |
api.openai.com | Use | — |
| Anthropic API | TCP | 443 | — |
api.anthropic.com | Use | — |
| Pattern library downloads from GitHub | TCP | 443 | — |
raw.githubusercontent.com, github.com | Install | — |
Persistence Mechanisms
| OS | Type | Path | Phase | Trust | Description |
|---|---|---|---|---|---|
| Linux | Cron | /etc/cron.d/fabric |
Activation | — | Cron job invoking fabric for scheduled automated text processing |
Windows Event Log
| Event ID | Provider | Log File | Phase | Trust | Description |
|---|---|---|---|---|---|
| 4688 | Microsoft-Security-Auditing | Security.evtx | Use | — | Process creation for fabric.exe |
References
- https://github.com/danielmiessler/fabric