Feature Spec
Add a real isolated behavior analysis backend.
Goal:
Provide safer behavior analysis for suspicious packages without host exposure.
Scope:
- Linux isolation first
- network disabled by default
- no host HOME
- no host credentials
- disposable filesystem
- resource limits
- non-root execution
- clean teardown
Do not enable by default until validated.
Build Loop:
- Inspect behavior_analysis model
- Inspect heuristic runner
- Inspect isolated mode placeholder
- Inspect sandbox/runner code
- Inspect tests for BLOCK never executes
- Build isolated runner interface
- Build Linux backend using container/namespace approach where available
- Add unavailable backend fail-closed behavior
- Add policy switch for isolated behavior
- Add network policy controls
- Add resource limit controls
- Add behavior trace output
Validation Loop:
- gofmt -w .
- go test ./...
- go test -race ./...
- go vet ./...
- make build
- isolated runner tests on supported platform
Review Loop:
- Is isolation strong enough to call isolated?
- Which platforms are supported?
- What are the limitations?
- Should it be GA, preview, or experimental?
Evidence file:
- evidence/loops/loop-10-isolated-behavior-backend.md
Feature Spec
Add a real isolated behavior analysis backend.
Goal:
Provide safer behavior analysis for suspicious packages without host exposure.
Scope:
Do not enable by default until validated.
Build Loop:
Validation Loop:
Review Loop:
Evidence file: