vector-forge

Generate cryptographic test vectors by analyzing mutation coverage gaps.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill vector-forge-manuelbrandner85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vector-forge
Source: https://github.com/manuelbrandner85/Weltenbibliothekapp/tree/main/.agents/skills/vector-forge
Command: npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill vector-forge-manuelbrandner85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires trailmark, uv, and includes references (resource) components.

What problem does it solve?

This Skill addresses the critical gap in cryptographic security where existing test suites fail to exercise edge cases, allowing subtle implementation bugs to remain hidden.

Core Features & Use Cases

  • Mutation-Based Gap Analysis: Systematically identifies code paths that are not covered by current test vectors.
  • Targeted Vector Generation: Creates precise test vectors designed to close coverage gaps and catch architectural faults.
  • Use Case: Use this Skill to harden a new implementation of a cryptographic primitive like BLS12-381 by generating vectors that specifically target carry propagation, modular reduction, and validation logic flaws.

Quick Start

Use the vector-forge skill to analyze the target implementation in the current directory and generate a report of missing test vectors.

Frequently Asked Questions about vector-forge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate test vectors for cryptographic implementations using mutation testing?

Mutation testing for cryptographic test vectors works by identifying uncovered code paths in an implementation and systematically generating targeted vectors to close those coverage gaps and expose architectural faults across multiple independent implementations.

What is mutation-driven test vector generation in cryptography?

Mutation-driven cryptographic test vector generation is a technique that applies mutation testing and escape analysis to identify edge cases in cryptographic algorithms, protocols, and primitives that existing test suites fail to exercise.

How do I harden a BLS12-381 implementation against carry propagation and modular reduction flaws?

To harden a BLS12-381 implementation, generate specific test vectors targeting carry propagation, modular reduction, and validation logic flaws through mutation-based gap analysis to ensure high-assurance security testing.

Can I use mutation testing for cross-implementation validation of cryptographic protocols?

Mutation testing supports cross-implementation validation of cryptographic protocols by generating test vectors that expose architectural faults across multiple independent implementations, satisfying high-assurance security testing requirements.

Does vector-forge work with existing test vectors like Wycheproof?

Vector-forge complements existing test vector suites like Wycheproof by using mutation-based gap analysis to identify and close coverage gaps that current test vectors miss in cryptographic implementations.

What are the limitations of mutation-based cryptographic test vector generation?

Mutation-based test vector generation requires access to the target implementation source code to perform coverage gap analysis, and its effectiveness depends on the mutation operators applied during escape analysis to simulate architectural faults.