Skip to main content

Crate parlov_core

Crate parlov_core 

Source
Expand description

Shared types, error types, and oracle class definitions used across all parlov crates.

This crate is the dependency root of the workspace — it carries no deps on other workspace crates and is designed to compile fast. Everything in here is pure data: no I/O, no async, no heavy dependencies.

Structs§

BlockSummary
Summary of what blocked observation opportunities during the scan.
ContributingFinding
One strategy’s contribution to the endpoint posterior.
DifferentialSet
Baseline and probe exchange pairs with technique context for differential analysis.
EndpointVerdict
Aggregated oracle verdict for a single endpoint, produced after running all strategies.
OracleResult
The result of running an oracle analyzer against a differential set.
ProbeDefinition
A single HTTP request to execute against a target.
ProbeExchange
Request and response paired so analyzers always have the full context of what was sent.
ResponseSurface
A single HTTP interaction: full response surface and wall-clock timing.
ScoringReason
One contribution to confidence or impact — audit trail for verdict computation.
Signal
One piece of evidence — the atoms that classifiers compose into verdicts.
StrategyMetaForStop
Slim technique metadata for the stop rule — vector + strength, no probe context.
Technique
Why these probes were generated and what normative basis justifies the expected differential.

Enums§

Applicability
Graded confidence that a technique’s applicability marker is observed in a response pair.
BlockFamily
Coarse categorisation of what caused a technique to be blocked.
EndpointStopReason
Reason the scan stopped dispatching strategies.
Error
Probe, analysis, CLI, and serialization failures.
ImpactClass
Classification of leak impact, independent of confidence.
NormativeStrength
How strongly the RFC mandates the expected server behavior.
ObservabilityStatus
Orthogonal to OracleVerdict: describes whether techniques actually reached the oracle layer and, if not, why.
OracleClass
The oracle class being probed.
OracleVerdict
Confidence level of an oracle detection result.
RequestAuthState
Whether and how an Authorization-bearing credential was present on a request.
ResponseClass
Discrete signal families used to gate harvest admission in Phase 2.
ScoringDimension
Which axis a ScoringReason contributes to.
Severity
Severity of a confirmed or likely oracle.
SignalKind
Categories of observable differential signals.
SignalSurface
Primary surface a technique’s contradiction is evaluated on.
StrategyOutcome
The outcome of running a single strategy, classified for aggregation.
StrategyOutcomeKind
Classification of a strategy outcome for aggregation.
Vector
Detection method being used to produce the differential.

Functions§

always_applicable
Default applicability function — always Strong.
compute_observability
Computes ObservabilityStatus and BlockSummary from a set of ContributingFindings.
finding_id
SHA-256(technique_id|target_url|oracle_class|method|strategy_id) truncated to 12 hex chars.
posterior_to_verdict
Maps a posterior probability to an OracleVerdict via threshold rules.
verdict_to_severity
Maps an OracleVerdict to the appropriate Severity, if any.