Skip to main content

Crate nyx_agent_nyx

Crate nyx_agent_nyx 

Source
Expand description

Pure subprocess driver around the upstream nyx static scanner.

This crate is published so the nyx-agent binary can be installed from crates.io with versioned internal dependencies. It is an implementation detail of Nyx Agent, not a stable public API.

No FFI. No source-level dependency on the scanner. The agent only ever talks to nyx through argv + stdout, which keeps the GPL-licensed scanner cleanly outside the agent’s link graph (see LICENSE-GRANTS.md).

Re-exports§

pub use diag::Diag;
pub use diag::FlowStep;
pub use error::NyxError;
pub use harness_spec::HarnessSpec;
pub use harness_spec::HarnessSpecValidationError;
pub use lane::NyxScanLane;
pub use runner::NyxRunner;
pub use runner::ScanOptions;
pub use runner::ScanOutcome;
pub use runner::MINIMUM_NYX_VERSION;

Modules§

diag
Wire-compatible mirror of one nyx scan --format json row.
error
Typed errors for the nyx subprocess driver.
harness_spec
Vendored copy of nyx’s HarnessSpec schema.
lane
ScanLane adapter wrapping the upstream nyx subprocess driver.
runner
Subprocess driver for the upstream nyx scanner.