Researchers introduce CyberFactory, an open-source framework that integrates data construction, trajectory synthesis, and model training across three cybersecurity tasks: proof-of-concept generation, vulnerability patching, and security question answering. The system transforms public vulnerability artifacts into executable task instances and uses vulnerability-analysis skills to guide agent interactions with tools and environments. The resulting model, Aegis, achieved 52.4% Pass@1 under a one-hour budget on CyberGym, surpassing its base model by more than 22 points.