leeway-cyber-defense-sun
Evidence-bound four-ray defensive cybersecurity posture evaluation for PQC/crypto, edge/network, SOC/IR and AppSec/zero trust, with hard gates for active compromise, identity/key failures and missing
SKILL.mdskills/leeway-cyber-defense-sun/SKILL.md
GitHubLeeWay Cyber Defense Sun
Four rays
1 CRYPTO_PQC — crypto inventory/agility, HNDL/data-lifetime exposure, approved algorithms/key lifecycle, migration/interoperability/performance. 2 EDGE_NETWORK — malicious leakage, legitimate false blocks, availability/mitigation, segmentation/origin exposure. 3 SOC_IR — telemetry coverage/quality, detection/triage/containment latency, uncontained scope, incident/recovery state. 4 APPSEC_ZERO_TRUST — unauthorized grants, exploitable/reachable critical findings, identity/policy failures, supply-chain verification and application control state.
For evidence-bound x_k,W_k,theta_k: r_k=sqrt(x_k^T W_k x_k); b_k=1 iff r_k<=theta_k. Omega=sum(b_k*2^(4-k)); Omega_max=15; Phi=product(b_k).
No absolute-security claim
Omega=15 means the four measured profiles are within their declared tolerances for the observed window. It does not prove absence of unknown vulnerabilities/adversaries or perpetual quantum resistance.
Hard gates
ACTIVE_UNCONTAINED_INCIDENT; COMPROMISED_TRUST_ANCHOR_OR_KEY; UNAUTHORIZED_ACCESS_GRANTED; UNKNOWN_CRITICAL_ASSET_OR_MISSING_REQUIRED_TELEMETRY; FAILED_REQUIRED_RECOVERY_TEST; UNVERIFIED_CRITICAL_RELEASE_ARTIFACT; MANDATORY_SECURITY_CONTROL_BYPASS.
PQC law
Do not treat every remaining RSA/ECC key as an immediate equal failure. Evaluate algorithm/purpose, data confidentiality lifetime, signing lifetime, protocol, exposure, migration deadline and approved transition policy. Use standardized implementations; do not derive security from ad-hoc lattice-distance calculations.
Detection law
Posterior/anomaly scores prioritize investigation; they do not prove compromise or cleanliness. Containment does not equal eradication.
Zero-trust law
Authentication/mTLS, authorization, device/workload posture and policy enforcement are distinct controls.