mirror of
https://github.com/prompt-security/clawsec.git
synced 2026-06-13 05:28:02 +03:00
938eb929f3
* feat: add property-based fuzz tests for advisory parsing, semver matching, and suppression config * fix(ci): install deps before fuzz test jobs
20 lines
493 B
JavaScript
20 lines
493 B
JavaScript
#!/usr/bin/env node
|
|
|
|
/**
|
|
* Property-based fuzzing checks for core advisory parsing/path helpers.
|
|
*
|
|
* Run: node skills/clawsec-suite/test/fuzz_properties.test.mjs
|
|
*/
|
|
|
|
import { runFuzzProperties } from "./fuzz_properties.js";
|
|
|
|
try {
|
|
console.log("=== ClawSec Fast-Check Fuzz Properties ===\n");
|
|
runFuzzProperties();
|
|
console.log("=== Results: all fuzz properties passed ===");
|
|
} catch (error) {
|
|
console.error("Fuzz property test failed:");
|
|
console.error(error);
|
|
process.exit(1);
|
|
}
|