Open source · Under development

Secure software.
Beyond Earth.

Open-source security engineering for spacecraft software. Analyze vulnerabilities, develop candidate fixes, and validate changes against mission-critical constraints.

OPEN SOURCESPACECRAFT SOFTWARESECURITY RESEARCH
Open sourceApache 2.0, proposed
Local-firstYour source stays on your machine
Model-agnosticAny hosted or local model
Operator-controlledNothing deploys automatically
01 / The challenge

In space, software failure isn't a simple rollback.

Spacecraft operate with limited physical access, constrained computing resources, intermittent communications, and strict operational requirements.

A security update that resolves a vulnerability can still introduce unacceptable changes to timing, memory usage, fault recovery, or mission behavior.

Securing spacecraft software requires more than generating patches. It requires evidence that a change satisfies the system's defined constraints.

Limited access

After launch there is no hands-on recovery. Every change arrives over the link and must work the first time.

Resource constraints

Memory, CPU and power budgets are fixed. A fix cannot spend what the mission needs.

Communication delays

Contact windows are short and intermittent. Observing the effect of a change can take hours.

Mission criticality

Timing, fault recovery and telemetry behavior must remain intact after any change.

02 / The framework

From vulnerability to verified candidate patch.

A modular workflow connecting security analysis, candidate remediation, simulated execution, and policy-driven verification. Select a stage to inspect it.

/ Stage

Responsibilities
    Example outputs

      Nothing is deployed by this workflow. Review ends with evidence for an operator-controlled approval.

      03 / Capabilities

      Built as a framework.
      Not a black box.

      Each subsystem is designed to be inspectable, replaceable, and extensible.

      Planned
      M.01

      Security Analysis

      Integrates existing static analyzers rather than reinventing them. Builds a dependency inventory and SBOM, correlates known vulnerabilities, and normalizes findings with severity and evidence.

      Static analysisSBOMVulnerability correlation
      Documentation SOON
      Planned
      M.02

      AI-Assisted Remediation

      Proposes candidate patches through configurable model backends, local models included, or rule-based adapters. Every proposal is treated as untrusted and carries its provenance.

      Model-agnosticPatch diffsProvenance
      Documentation SOON
      Planned
      M.03

      Simulation Adapters

      Reproducible scenarios against existing spacecraft simulators, comparing baseline with patched behavior, timing and resource use.

      Fault injectionScenario replay
      Planned
      M.04

      Mission Safety Policies

      Deterministic rules for memory, CPU, deadlines, telemetry compatibility and watchdog behavior. AI may explain a result, never override it.

      DeterministicHuman approval
      Planned
      M.05

      Verification Engine

      Aggregates test, simulation and policy results into one verdict: accepted for further review, rejected, or inconclusive. Unresolved risks are listed, never hidden.

      Acceptance criteriaReproducible
      Planned
      M.06

      Evidence & Artifact Generation

      Portable outputs for engineering review: patch manifest, machine-readable JSON report, SBOM, test evidence, build metadata and audit records. Signing and deployment stay with operator-managed infrastructure.

      JSON reportEvidence packageAudit trail
      04 / Developer experience

      Designed for engineers. Built for automation.

      One CLI and a Python SDK, designed to run locally and in CI, with machine-readable output at every step.

      Local-first

      Runs on your machine. Your source stays yours.

      Model-agnostic

      No dependency on a single AI model or provider.

      Reproducible

      Every run records the inputs needed to repeat it.

      Illustrative
      
            

      Proposed CLI. Commands and output are examples of the intended experience; nothing was executed.

      05 / Architecture

      Modular by architecture. Extensible by design.

      Five layers, each built from replaceable adapters. Select a component to see what it takes in and what it produces.

      Planned adapterNASA cFS

      Open-source flight software framework.

      Planned adapterNASA F´

      Component-oriented flight software framework and test tools.

      Planned adapterNASA NOS3

      Spacecraft software simulation environment.

      Planned integrations only. Not certified by, affiliated with, or endorsed by NASA.

      06 / Research

      Advancing autonomous security for spacecraft.

      astrapatch is intended to support reproducible research into vulnerability remediation, software assurance, and autonomous decision support for resource-constrained, safety-critical systems.

      R1

      Autonomous vulnerability remediation

      How software agents can propose and refine candidate security patches.

      R2

      Mission-aware verification

      How functional and operational constraints affect patch acceptance.

      R3

      Resource-constrained security

      Security improvements weighed against memory, computation, timing and communication limits.

      R4

      Evidence-driven autonomy

      Auditable, reproducible evidence behind automated engineering decisions.

      Research outputs
      PublicationsIn progress
      Technical experimentsIn progress
      Benchmark datasetsPlanned
      Reproducibility packagesPlanned
      07 / Open source

      Built openly.
      Improved collectively.

      astrapatch is designed to encourage collaboration across aerospace engineering, embedded security, software verification, and AI research.

      License: Apache 2.0, proposed. Active once the license file is in the repository.

      1. Develop security analyzer plugins
      2. Build spacecraft simulation adapters
      3. Improve verification policies
      4. Design reproducible test cases
      5. Contribute benchmark datasets
      6. Improve documentation
      7. Research AI-assisted remediation techniques
      08 / Roadmap

      The road toward mission-aware security automation.

      Every phase below is proposed work. Nothing here has shipped yet.

      Phase 01

      Foundation

      Next
      • Core framework architecture
      • Plugin interface design
      • CLI foundation
      • Initial security analyzers
      • Evidence reporting
      • Demonstration spacecraft app
      Phase 02

      Assisted Remediation

      Planned
      • AI remediation adapters
      • Candidate patch generation
      • Patch provenance
      • Build and regression testing
      • Local model support
      Phase 03

      Simulation Integration

      Planned
      • Simulator adapters
      • Mission scenario definitions
      • Fault injection
      • Resource and timing evaluation
      • Baseline comparisons
      Phase 04

      Autonomous Research

      Planned
      • Agent planning experiments
      • Automated candidate evaluation
      • Policy-guided agent decisions
      • Reproducible safety benchmarks
      • Multi-stage remediation
      Phase 05

      Advanced Engineering

      Planned
      • Hardware-in-the-loop
      • Operator approval workflows
      • Artifact signing
      • Multi-architecture support
      • Mission pipeline integration
      Open source · Join early

      Software security doesn't stop at Earth.

      Explore the framework, contribute to its development, and help advance reproducible spacecraft software security research.