IK Imran Khalid

Enterprise & EDI Systems Ongoing Enterprise Integration Maintained

Audit Clean

Isolated Compliance and Interoperability Audit Build

Audit Clean project cover

Overview

Dedicated clean-checkout verification build of the AS2 EDI gateway used to run cryptographic test suites, certificate expiry checks and OpenAS2 interoperability validation away from active development branches.

The problem

Enterprise EDI integrations need reproducible security and interoperability audits before partner certification. Testing on a branch with in-flight changes produces results nobody can defend in a partner security review.

The solution

Maintained a clean, pinned build of the gateway with its own configuration and test fixtures. It runs the cryptographic test suite, verifies certificate validity windows, and exercises OpenAS2 interoperability scenarios so certification evidence is generated from a known-good tree.

Project gallery

Technical architecture

Pinned audit build with repeatable crypto and interoperability checks

Pinned Source Tree

Clean checkout at a tagged commit so every audit run is reproducible and attributable.

Crypto Test Suite

Covers signing, encryption, digest verification and malformed-payload rejection paths.

Certificate Auditor

Checks validity windows, chain completeness and algorithm strength for every configured partner.

Interoperability Harness

Runs OpenAS2 exchange scenarios and records pass/fail evidence for partner certification.

Methodology

  1. Pinned dependencies and fixtures so results do not drift between runs
  2. Automated the crypto suite including negative cases for tampered payloads
  3. Added certificate expiry and weak-algorithm reporting to the audit output
  4. Archived per-run evidence for partner and internal security review

Results & impact

100% Reproducibility Pinned tree and fixtures per run
Crypto + AS2 Coverage Signing, encryption, MDN and interop
Archived Audit Output Evidence retained per certification run

Key impact

  • Gave partner certification a defensible, reproducible evidence trail
  • Caught certificate expiry before it interrupted production exchange
  • Kept security testing isolated from active development branches

Challenges & solutions

Environment Drift

Locked dependencies and containerized the audit run so results match across machines

Negative-Path Coverage

Added explicit tampered-signature and expired-certificate cases that must fail closed

Technologies used

Node.jsExpressMongoDBAS2EDIOpenAS2CryptographyDockerTest Automation