Skip to content

Add PCAP evidence, sanitizers, fuzzing, and lab tooling - #5

Merged
masarray merged 1 commit into
mainfrom
agent/process-bus-evidence-hardening
Aug 5, 2026
Merged

masarray merged 1 commit into
mainfrom
agent/process-bus-evidence-hardening

Conversation

@masarray

@masarray masarray commented Aug 5, 2026 •

Copy link
Copy Markdown
Owner

Scope

Phase 1E hardens process-bus evidence and decoder security.

PCAP equivalence

  • Read-only PCAP analyzer for GOOSE, Sampled Values, other Ethernet, and malformed packets.
  • Exact byte-for-byte decode/re-encode comparison.
  • Canonical PCAP order, payload, and microsecond-normalized timestamp round-trip.
  • JSON report and ariec61850_pcap_interop_check CLI.
  • Synthetic C#-derived GOOSE/SV PCAP corpus.

Security and fuzzing

  • PCAP snaplen, included-length, and original-length checks before allocation.
  • Supported PCAP allocation bound of 16 MiB.
  • Regression for malicious packet lengths.
  • ASan/UBSan CMake option and workflow.
  • LLVM libFuzzer targets and seed corpora for BER, GOOSE, Sampled Values, and PCAP.
  • Deterministic mutation-smoke suite.

Isolated-lab tooling

  • Receive-only Windows/Linux runner scripts.
  • Safety checklist and evidence report template.
  • No Npcap/raw-socket transmission or IED operation.

Validation

The branch was rebuilt as one clean Phase 1E commit on top of merged main. Both the GCC/Clang/MSVC matrix and Security/Evidence workflow will run again before merge.

Acceptance boundary

Automated synthetic evidence is included. Real IED/vendor-simulator GOOSE and SV captures remain pending until controlled physical-lab evidence is supplied.

@masarray
masarray force-pushed the agent/sampled-values-core branch from 152cee8 to af442c4 Compare August 5, 2026 23:17
@masarray
masarray force-pushed the agent/process-bus-evidence-hardening branch from a13d3e3 to 5b75db3 Compare August 5, 2026 23:19
@masarray
masarray changed the base branch from agent/sampled-values-core to main August 5, 2026 23:19
@masarray
masarray marked this pull request as ready for review August 5, 2026 23:21
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@masarray
masarray merged commit d861416 into main Aug 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant