Files
git.stella-ops.org/src/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/TASKS.md
master 1d962ee6fc
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Add OpenSslLegacyShim to ensure OpenSSL 1.1 libraries are accessible on Linux
This commit introduces the OpenSslLegacyShim class, which sets the LD_LIBRARY_PATH environment variable to include the directory containing OpenSSL 1.1 native libraries. This is necessary for Mongo2Go to function correctly on Linux platforms that do not ship these libraries by default. The shim checks if the current operating system is Linux and whether the required directory exists before modifying the environment variable.
2025-11-02 21:41:03 +02:00

4.6 KiB

EntryTrace Analyzer Task Board (Sprint 10)

ID Status Owner(s) Depends on Description Exit Criteria
SCANNER-ENTRYTRACE-18-502 DONE (2025-11-01) EntryTrace Guild SCANNER-ENTRYTRACE-18-501 Expand chain walker with init shim/user-switch/supervisor recognition plus env/workdir accumulation and guarded edges. Graph nodes annotate tini/dumb-init/gosu/su-exec/s6/supervisord/runit branches with capability tags, environment deltas, and guard metadata validated against fixture scripts.
SCANNER-ENTRYTRACE-18-503 DONE (2025-11-01) EntryTrace Guild SCANNER-ENTRYTRACE-18-502 Introduce target classifier + EntryPlan handoff with confidence scoring for ELF/Java/.NET/Node/Python/Ruby/PHP-FPM/Go/Rust/Nginx and user/workdir context; capture PT_INTERP / CLR / Go BuildID / Rust notes and jar manifests as evidence. Analyzer returns typed targets with confidence metrics, binary fingerprint evidence (PT_INTERP, CLR header, Go/Rust markers, jar Main-Class), and per-branch EntryPlans exercised via golden fixtures and language analyzer stubs.
SCANNER-ENTRYTRACE-18-504 DONE (2025-11-01) EntryTrace Guild SCANNER-ENTRYTRACE-18-503 Emit EntryTrace AOC NDJSON (entrytrace.entry/node/edge/target/warning/capability) and wire CLI/service streaming outputs. NDJSON writer passes determinism tests, CLI/service endpoints stream ordered observations, and diagnostics integrate new warning codes for dynamic eval/glob limits/windows shims.
SCANNER-ENTRYTRACE-18-505 DONE (2025-11-02) EntryTrace Guild SCANNER-ENTRYTRACE-18-504 Implement process-tree replay (ProcGraph) to reconcile /proc exec chains with static EntryTrace results, collapsing wrappers (tini/gosu/supervisord) and emitting agreement/conflict diagnostics. Runtime harness walks /proc (tests + fixture containers), merges ProcGraph with static graph, records High/Medium/Low confidence outcomes, and adds coverage to integration tests.
SCANNER-ENTRYTRACE-18-506 DONE (2025-11-02) EntryTrace Guild, Scanner WebService Guild SCANNER-ENTRYTRACE-18-505 Surface EntryTrace graph + confidence via Scanner.WebService and CLI (REST + streaming), including target summary in scan reports and policy payloads. WebService exposes /scans/{id}/entrytrace + CLI verb, responses include chain/terminal/confidence/evidence, golden fixtures updated, and Policy/Export contracts documented.
SCANNER-ENTRYTRACE-18-507 DONE (2025-11-02) EntryTrace Guild SCANNER-ENTRYTRACE-18-503 Expand candidate discovery beyond ENTRYPOINT/CMD by scanning Docker history metadata and default service directories (/etc/services/**, /s6/**, /etc/supervisor/*.conf, /usr/local/bin/*-entrypoint) when explicit commands are absent. Analyzer produces deterministic fallback candidates with evidence per discovery source, golden fixtures cover supervisor/service directories, and diagnostics distinguish inferred vs declared entrypoints.
SCANNER-ENTRYTRACE-18-508 DONE (2025-11-02) EntryTrace Guild SCANNER-ENTRYTRACE-18-503 Extend wrapper catalogue to collapse language/package launchers (bundle, bundle exec, docker-php-entrypoint, npm, yarn node, pipenv, poetry run) and vendor init scripts before terminal classification. Wrapper detection table includes the new aliases with metadata, analyzer unwraps them into underlying commands, and fixture scripts assert metadata for runtime/package managers.
SCANNER-ENTRYTRACE-18-509 DONE (2025-11-02) EntryTrace Guild, QA Guild SCANNER-ENTRYTRACE-18-506 Add regression coverage for persisted EntryTrace surfaces (result store, WebService endpoint, CLI renderer) and NDJSON payload hashing. Unit/integration tests cover result retrieval (store/WebService), CLI rendering (scan entrytrace), and NDJSON hash stability with fixture snapshots.
ENTRYTRACE-SURFACE-01 DONE (2025-11-02) EntryTrace Guild SURFACE-VAL-02, SURFACE-FS-02 Run Surface.Validation prereq checks and resolve cached entry fragments via Surface.FS to avoid duplicate parsing. EntryTrace performance metrics show reuse; regression tests updated; validation errors surfaced consistently.
ENTRYTRACE-SURFACE-02 DONE (2025-11-02) EntryTrace Guild SURFACE-SECRETS-02 Replace direct env/secret access with Surface.Secrets provider when tracing runtime configs. Shared provider used; failure modes covered; documentation refreshed.

Status Review — 2025-10-19

  • Confirmed Wave 0 instructions for EntryTrace Guild; SCANNER-ENTRYTRACE-10-401..407 already marked complete.
  • No outstanding prerequisites identified during review; readiness noted for any follow-on work.