You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/limier-cli/SKILL.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,8 @@ Do not use this skill for general application security review, dependency policy
38
38
## Preconditions
39
39
40
40
- Docker must be available to the current user.
41
-
-Host-signal capture is Linux-only and requires `bpftrace`.
42
-
- On macOS, Windows, or CI environments without `bpftrace`, make sure the scenario sets `capture_host_signals: false` or expect an inconclusive result.
41
+
-Kernel telemetry capture is Linux-only and requires `bpftrace`.
42
+
- On macOS, Windows, or CI environments without `bpftrace`, use `telemetry.mode: off` for an output-only comparison that requires human review, or expect an inconclusive result.
43
43
44
44
For local development in this repo, prefer:
45
45
@@ -60,7 +60,7 @@ When the user has not specified otherwise, the repository-owned sample uses:
60
60
## Recommended Workflow
61
61
62
62
1. Confirm the ecosystem, package, current version, candidate version, fixture, scenario, and rules file.
63
-
2. Check whether the environment can satisfy the scenario, especially `capture_host_signals`.
63
+
2. Check whether the environment can satisfy the scenario's telemetry mode.
64
64
3. Run Limier with explicit output paths under `out/limier/`.
65
65
4. Read `summary.md` first.
66
66
5. If the result is not `good_to_go`, inspect `evidence/` and any rendered explanation before making claims.
@@ -127,7 +127,7 @@ Treat `rerun` as an environment or determinism problem first, not a safe outcome
127
127
128
128
- Docker access problems
129
129
- fixture nondeterminism
130
-
- missing Linux host-signal support while `capture_host_signals` is enabled
130
+
- missing Linux telemetry support while `telemetry.mode` is `required`
131
131
- scenario steps failing before comparison completes
132
132
133
133
When debugging, inspect the scenario, evidence bundle, and environment assumptions before changing rules.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Limier is a fixture-based dependency behavior review tool. It compares a baselin
13
13
14
14
Limier is intentionally narrow. It is for suspicious or exploit-like dependency behavior such as new process execution, unexpected shelling out, changed install-time behavior, or other observable runtime drift. It is not a general application security scanner and it does not try to find `SQLi`, `XSS`, CSRF, or broad secure-coding flaws in the fixture itself.
15
15
16
-
Real host-signal capture is Linux-only and currently requires `bpftrace`. If `capture_host_signals` is enabled and Limier cannot start that backend, the run becomes inconclusive so process-coverage gaps are never hidden. On non-Linux systems, set `capture_host_signals: false` to use stdout/stderr-only comparison.
16
+
Kernel telemetry is Linux-only and currently requires `bpftrace`. Telemetry defaults to `required`; if Limier cannot start or complete capture, the run becomes inconclusive so process-coverage gaps are never hidden. Use `telemetry.mode: off` for an output-only comparison that always requires human review.
cmd.Flags().StringVar(&options.reportPath, "report", options.reportPath, "Path to write report.json")
76
77
cmd.Flags().StringVar(&options.summaryPath, "summary", options.summaryPath, "Path to write summary.md")
77
78
cmd.Flags().StringVar(&options.evidencePath, "evidence", options.evidencePath, "Path to write evidence files")
79
+
cmd.Flags().StringVar(&options.telemetryMode, "telemetry-mode", "", "Telemetry mode override: required or off")
78
80
cmd.Flags().StringVar(&options.failOn, "fail-on", "", "Comma-separated recommendations that should fail this command; empty preserves Limier defaults")
Copy file name to clipboardExpand all lines: docs/guide/ci-and-deploy.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,14 +118,18 @@ In this path, `report.json` is the source of truth. Rendered outputs are alterna
118
118
119
119
## Hosted Runners vs Self-Hosted Runners
120
120
121
-
For GitHub-hosted runners, assume Docker is available but full host-signal capture is not. In that environment you should typically use:
121
+
Telemetry defaults to `required`. Install `bpftrace` and confirm the runner supports cgroup v2 and eBPF before relying on a `good_to_go` recommendation.
122
+
123
+
The reusable `room215/limier-action` performs this setup on GitHub-hosted Ubuntu runners: it verifies Docker and cgroup v2, installs `bpftrace` when necessary, and runs Limier with the privileges required for capture. Direct CLI and container-image users remain responsible for preparing the host.
124
+
125
+
Use output-only mode only when kernel telemetry is intentionally unavailable:
122
126
123
127
```yaml
124
-
evidence:
125
-
capture_host_signals: false
128
+
telemetry:
129
+
mode: off
126
130
```
127
131
128
-
Use a self-hosted Linux runner with `bpftrace` installed when you want full host telemetry.
132
+
Output-only comparisons always require human review. A required telemetry failure produces `rerun` rather than silently reducing coverage.
129
133
130
134
## Run Limier From The Container Image
131
135
@@ -161,4 +165,4 @@ docker run --rm \
161
165
162
166
If that command fails with a Docker socket permission error, make sure the host user already has access to `/var/run/docker.sock`. On Linux, a common fix is to add the Docker group inside the container with `--group-add "$(getent group docker | cut -d: -f3)"` alongside `--user`.
163
167
164
-
For the easiest containerized setup, disable host-signal capture in the scenario.
168
+
For the easiest containerized setup, use `telemetry.mode: off` and treat the result as requiring human review.
0 commit comments