thuban 0.3.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/README.md +2 -0
- package/dist/cli.js +1 -1
- package/dist/packages/crucible/.golden/golden-master.json +414 -0
- package/dist/packages/crucible/badge-generator.js +1 -0
- package/dist/packages/crucible/banner.js +1 -0
- package/dist/packages/crucible/ci-integration.js +1 -0
- package/dist/packages/crucible/golden-master.js +1 -0
- package/dist/packages/crucible/index.js +1 -0
- package/dist/packages/crucible/kenny-mode.js +1 -0
- package/dist/packages/crucible/leaderboard.js +1 -0
- package/dist/packages/crucible/mutation-engine.js +1 -0
- package/dist/packages/crucible/pattern-learner.js +1 -0
- package/dist/packages/crucible/report-generator.js +1 -0
- package/dist/packages/crucible/rule-loader.js +1 -0
- package/dist/packages/crucible/seeding-engine.js +1 -0
- package/dist/packages/crucible/seeds/csharp/seed-001.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-002.cs +24 -0
- package/dist/packages/crucible/seeds/csharp/seed-003.cs +30 -0
- package/dist/packages/crucible/seeds/csharp/seed-004.cs +31 -0
- package/dist/packages/crucible/seeds/csharp/seed-005.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-006.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-007.cs +34 -0
- package/dist/packages/crucible/seeds/csharp/seed-008.cs +23 -0
- package/dist/packages/crucible/seeds/csharp/seed-009.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-010.cs +29 -0
- package/dist/packages/crucible/seeds/csharp/seed-011.cs +32 -0
- package/dist/packages/crucible/seeds/csharp/seed-012.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-013.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-014.cs +26 -0
- package/dist/packages/crucible/seeds/csharp/seed-015.cs +33 -0
- package/dist/packages/crucible/seeds/csharp/seed-016.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-017.cs +22 -0
- package/dist/packages/crucible/seeds/csharp/seed-018.cs +26 -0
- package/dist/packages/crucible/seeds/csharp/seed-019.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-020.cs +22 -0
- package/dist/packages/crucible/seeds/csharp/seed-021.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-022.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-023.cs +33 -0
- package/dist/packages/crucible/seeds/csharp/seed-024.cs +31 -0
- package/dist/packages/crucible/seeds/csharp/seed-025.cs +31 -0
- package/dist/packages/crucible/seeds/csharp/seed-026.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-027.cs +29 -0
- package/dist/packages/crucible/seeds/csharp/seed-028.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-029.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-030.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-031.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-032.cs +30 -0
- package/dist/packages/crucible/seeds/csharp/seed-033.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-034.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-035.cs +32 -0
- package/dist/packages/crucible/seeds/csharp/seed-036.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-037.cs +29 -0
- package/dist/packages/crucible/seeds/csharp/seed-038.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-039.cs +29 -0
- package/dist/packages/crucible/seeds/csharp/seed-040.cs +28 -0
- package/dist/packages/crucible/seeds/csharp/seed-041.cs +33 -0
- package/dist/packages/crucible/seeds/csharp/seed-042.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-043.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-044.cs +25 -0
- package/dist/packages/crucible/seeds/csharp/seed-045.cs +30 -0
- package/dist/packages/crucible/seeds/csharp/seed-046.cs +29 -0
- package/dist/packages/crucible/seeds/csharp/seed-047.cs +26 -0
- package/dist/packages/crucible/seeds/csharp/seed-048.cs +31 -0
- package/dist/packages/crucible/seeds/csharp/seed-049.cs +27 -0
- package/dist/packages/crucible/seeds/csharp/seed-050.cs +30 -0
- package/dist/packages/crucible/seeds/csharp/seed-051.cs +34 -0
- package/dist/packages/crucible/seeds/csharp/seed-052.cs +36 -0
- package/dist/packages/crucible/seeds/go/seed-001.go +29 -0
- package/dist/packages/crucible/seeds/go/seed-002.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-003.go +31 -0
- package/dist/packages/crucible/seeds/go/seed-004.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-005.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-006.go +29 -0
- package/dist/packages/crucible/seeds/go/seed-007.go +24 -0
- package/dist/packages/crucible/seeds/go/seed-008.go +25 -0
- package/dist/packages/crucible/seeds/go/seed-009.go +30 -0
- package/dist/packages/crucible/seeds/go/seed-010.go +35 -0
- package/dist/packages/crucible/seeds/go/seed-011.go +24 -0
- package/dist/packages/crucible/seeds/go/seed-012.go +24 -0
- package/dist/packages/crucible/seeds/go/seed-013.go +31 -0
- package/dist/packages/crucible/seeds/go/seed-014.go +35 -0
- package/dist/packages/crucible/seeds/go/seed-015.go +25 -0
- package/dist/packages/crucible/seeds/go/seed-016.go +19 -0
- package/dist/packages/crucible/seeds/go/seed-017.go +23 -0
- package/dist/packages/crucible/seeds/go/seed-018.go +23 -0
- package/dist/packages/crucible/seeds/go/seed-019.go +22 -0
- package/dist/packages/crucible/seeds/go/seed-020.go +31 -0
- package/dist/packages/crucible/seeds/go/seed-021.go +22 -0
- package/dist/packages/crucible/seeds/go/seed-022.go +29 -0
- package/dist/packages/crucible/seeds/go/seed-023.go +26 -0
- package/dist/packages/crucible/seeds/go/seed-024.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-025.go +23 -0
- package/dist/packages/crucible/seeds/go/seed-026.go +29 -0
- package/dist/packages/crucible/seeds/go/seed-027.go +26 -0
- package/dist/packages/crucible/seeds/go/seed-028.go +23 -0
- package/dist/packages/crucible/seeds/go/seed-029.go +28 -0
- package/dist/packages/crucible/seeds/go/seed-030.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-031.go +28 -0
- package/dist/packages/crucible/seeds/go/seed-032.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-033.go +29 -0
- package/dist/packages/crucible/seeds/go/seed-034.go +22 -0
- package/dist/packages/crucible/seeds/go/seed-035.go +32 -0
- package/dist/packages/crucible/seeds/go/seed-036.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-037.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-038.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-039.go +26 -0
- package/dist/packages/crucible/seeds/go/seed-040.go +37 -0
- package/dist/packages/crucible/seeds/go/seed-041.go +23 -0
- package/dist/packages/crucible/seeds/go/seed-042.go +32 -0
- package/dist/packages/crucible/seeds/go/seed-043.go +35 -0
- package/dist/packages/crucible/seeds/go/seed-044.go +25 -0
- package/dist/packages/crucible/seeds/go/seed-045.go +26 -0
- package/dist/packages/crucible/seeds/go/seed-046.go +34 -0
- package/dist/packages/crucible/seeds/go/seed-047.go +26 -0
- package/dist/packages/crucible/seeds/go/seed-048.go +29 -0
- package/dist/packages/crucible/seeds/go/seed-049.go +24 -0
- package/dist/packages/crucible/seeds/go/seed-050.go +27 -0
- package/dist/packages/crucible/seeds/go/seed-051.go +38 -0
- package/dist/packages/crucible/seeds/go/seed-052.go +27 -0
- package/dist/packages/crucible/seeds/java/seed-001.java +23 -0
- package/dist/packages/crucible/seeds/java/seed-002.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-003.java +28 -0
- package/dist/packages/crucible/seeds/java/seed-004.java +26 -0
- package/dist/packages/crucible/seeds/java/seed-005.java +33 -0
- package/dist/packages/crucible/seeds/java/seed-006.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-007.java +21 -0
- package/dist/packages/crucible/seeds/java/seed-008.java +29 -0
- package/dist/packages/crucible/seeds/java/seed-009.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-010.java +30 -0
- package/dist/packages/crucible/seeds/java/seed-011.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-012.java +20 -0
- package/dist/packages/crucible/seeds/java/seed-013.java +26 -0
- package/dist/packages/crucible/seeds/java/seed-014.java +23 -0
- package/dist/packages/crucible/seeds/java/seed-015.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-016.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-017.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-018.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-019.java +38 -0
- package/dist/packages/crucible/seeds/java/seed-020.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-021.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-022.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-023.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-024.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-025.java +27 -0
- package/dist/packages/crucible/seeds/java/seed-026.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-027.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-028.java +21 -0
- package/dist/packages/crucible/seeds/java/seed-029.java +28 -0
- package/dist/packages/crucible/seeds/java/seed-030.java +27 -0
- package/dist/packages/crucible/seeds/java/seed-031.java +23 -0
- package/dist/packages/crucible/seeds/java/seed-032.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-033.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-034.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-035.java +29 -0
- package/dist/packages/crucible/seeds/java/seed-036.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-037.java +30 -0
- package/dist/packages/crucible/seeds/java/seed-038.java +29 -0
- package/dist/packages/crucible/seeds/java/seed-039.java +26 -0
- package/dist/packages/crucible/seeds/java/seed-040.java +31 -0
- package/dist/packages/crucible/seeds/java/seed-041.java +20 -0
- package/dist/packages/crucible/seeds/java/seed-042.java +26 -0
- package/dist/packages/crucible/seeds/java/seed-043.java +31 -0
- package/dist/packages/crucible/seeds/java/seed-044.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-045.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-046.java +22 -0
- package/dist/packages/crucible/seeds/java/seed-047.java +26 -0
- package/dist/packages/crucible/seeds/java/seed-048.java +24 -0
- package/dist/packages/crucible/seeds/java/seed-049.java +28 -0
- package/dist/packages/crucible/seeds/java/seed-050.java +29 -0
- package/dist/packages/crucible/seeds/java/seed-051.java +25 -0
- package/dist/packages/crucible/seeds/java/seed-052.java +32 -0
- package/dist/packages/crucible/seeds/js/seed-001.js +27 -0
- package/dist/packages/crucible/seeds/js/seed-002.js +28 -0
- package/dist/packages/crucible/seeds/js/seed-003.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-004.js +28 -0
- package/dist/packages/crucible/seeds/js/seed-005.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-006.js +28 -0
- package/dist/packages/crucible/seeds/js/seed-007.js +26 -0
- package/dist/packages/crucible/seeds/js/seed-008.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-009.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-010.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-011.js +34 -0
- package/dist/packages/crucible/seeds/js/seed-012.js +32 -0
- package/dist/packages/crucible/seeds/js/seed-013.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-014.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-015.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-016.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-017.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-018.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-019.js +32 -0
- package/dist/packages/crucible/seeds/js/seed-020.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-021.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-022.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-023.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-024.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-025.js +34 -0
- package/dist/packages/crucible/seeds/js/seed-026.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-027.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-028.js +33 -0
- package/dist/packages/crucible/seeds/js/seed-029.js +33 -0
- package/dist/packages/crucible/seeds/js/seed-030.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-031.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-032.js +34 -0
- package/dist/packages/crucible/seeds/js/seed-033.js +33 -0
- package/dist/packages/crucible/seeds/js/seed-034.js +33 -0
- package/dist/packages/crucible/seeds/js/seed-035.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-036.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-037.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-038.js +31 -0
- package/dist/packages/crucible/seeds/js/seed-039.js +34 -0
- package/dist/packages/crucible/seeds/js/seed-040.js +35 -0
- package/dist/packages/crucible/seeds/js/seed-041.js +32 -0
- package/dist/packages/crucible/seeds/js/seed-042.js +32 -0
- package/dist/packages/crucible/seeds/js/seed-043.js +27 -0
- package/dist/packages/crucible/seeds/js/seed-044.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-045.js +33 -0
- package/dist/packages/crucible/seeds/js/seed-046.js +33 -0
- package/dist/packages/crucible/seeds/js/seed-047.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-048.js +29 -0
- package/dist/packages/crucible/seeds/js/seed-049.js +34 -0
- package/dist/packages/crucible/seeds/js/seed-050.js +34 -0
- package/dist/packages/crucible/seeds/js/seed-051.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-052.js +30 -0
- package/dist/packages/crucible/seeds/js/seed-053.js +26 -0
- package/dist/packages/crucible/seeds/js/seed-054.js +35 -0
- package/dist/packages/crucible/seeds/js/seed-055.js +33 -0
- package/dist/packages/crucible/seeds/kotlin/seed-001.kt +24 -0
- package/dist/packages/crucible/seeds/kotlin/seed-002.kt +27 -0
- package/dist/packages/crucible/seeds/kotlin/seed-003.kt +29 -0
- package/dist/packages/crucible/seeds/kotlin/seed-004.kt +24 -0
- package/dist/packages/crucible/seeds/kotlin/seed-005.kt +29 -0
- package/dist/packages/crucible/seeds/kotlin/seed-006.kt +21 -0
- package/dist/packages/crucible/seeds/kotlin/seed-007.kt +23 -0
- package/dist/packages/crucible/seeds/kotlin/seed-008.kt +25 -0
- package/dist/packages/crucible/seeds/kotlin/seed-009.kt +21 -0
- package/dist/packages/crucible/seeds/kotlin/seed-010.kt +28 -0
- package/dist/packages/crucible/seeds/kotlin/seed-011.kt +22 -0
- package/dist/packages/crucible/seeds/kotlin/seed-012.kt +25 -0
- package/dist/packages/crucible/seeds/kotlin/seed-013.kt +30 -0
- package/dist/packages/crucible/seeds/kotlin/seed-014.kt +27 -0
- package/dist/packages/crucible/seeds/kotlin/seed-015.kt +24 -0
- package/dist/packages/crucible/seeds/kotlin/seed-016.kt +28 -0
- package/dist/packages/crucible/seeds/kotlin/seed-017.kt +33 -0
- package/dist/packages/crucible/seeds/kotlin/seed-018.kt +31 -0
- package/dist/packages/crucible/seeds/kotlin/seed-019.kt +28 -0
- package/dist/packages/crucible/seeds/kotlin/seed-020.kt +31 -0
- package/dist/packages/crucible/seeds/kotlin/seed-021.kt +34 -0
- package/dist/packages/crucible/seeds/kotlin/seed-022.kt +29 -0
- package/dist/packages/crucible/seeds/kotlin/seed-023.kt +20 -0
- package/dist/packages/crucible/seeds/kotlin/seed-024.kt +23 -0
- package/dist/packages/crucible/seeds/kotlin/seed-025.kt +23 -0
- package/dist/packages/crucible/seeds/kotlin/seed-026.kt +26 -0
- package/dist/packages/crucible/seeds/kotlin/seed-027.kt +29 -0
- package/dist/packages/crucible/seeds/kotlin/seed-028.kt +24 -0
- package/dist/packages/crucible/seeds/kotlin/seed-029.kt +27 -0
- package/dist/packages/crucible/seeds/kotlin/seed-030.kt +26 -0
- package/dist/packages/crucible/seeds/kotlin/seed-031.kt +28 -0
- package/dist/packages/crucible/seeds/kotlin/seed-032.kt +29 -0
- package/dist/packages/crucible/seeds/kotlin/seed-033.kt +30 -0
- package/dist/packages/crucible/seeds/kotlin/seed-034.kt +26 -0
- package/dist/packages/crucible/seeds/kotlin/seed-035.kt +33 -0
- package/dist/packages/crucible/seeds/kotlin/seed-036.kt +25 -0
- package/dist/packages/crucible/seeds/kotlin/seed-037.kt +26 -0
- package/dist/packages/crucible/seeds/kotlin/seed-038.kt +25 -0
- package/dist/packages/crucible/seeds/kotlin/seed-039.kt +29 -0
- package/dist/packages/crucible/seeds/kotlin/seed-040.kt +28 -0
- package/dist/packages/crucible/seeds/kotlin/seed-041.kt +31 -0
- package/dist/packages/crucible/seeds/kotlin/seed-042.kt +27 -0
- package/dist/packages/crucible/seeds/kotlin/seed-043.kt +26 -0
- package/dist/packages/crucible/seeds/kotlin/seed-044.kt +27 -0
- package/dist/packages/crucible/seeds/kotlin/seed-045.kt +27 -0
- package/dist/packages/crucible/seeds/kotlin/seed-046.kt +33 -0
- package/dist/packages/crucible/seeds/kotlin/seed-047.kt +32 -0
- package/dist/packages/crucible/seeds/kotlin/seed-048.kt +20 -0
- package/dist/packages/crucible/seeds/kotlin/seed-049.kt +23 -0
- package/dist/packages/crucible/seeds/kotlin/seed-050.kt +19 -0
- package/dist/packages/crucible/seeds/php/seed-001.php +23 -0
- package/dist/packages/crucible/seeds/php/seed-002.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-003.php +25 -0
- package/dist/packages/crucible/seeds/php/seed-004.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-005.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-006.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-007.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-008.php +19 -0
- package/dist/packages/crucible/seeds/php/seed-009.php +24 -0
- package/dist/packages/crucible/seeds/php/seed-010.php +24 -0
- package/dist/packages/crucible/seeds/php/seed-011.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-012.php +24 -0
- package/dist/packages/crucible/seeds/php/seed-013.php +23 -0
- package/dist/packages/crucible/seeds/php/seed-014.php +20 -0
- package/dist/packages/crucible/seeds/php/seed-015.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-016.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-017.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-018.php +17 -0
- package/dist/packages/crucible/seeds/php/seed-019.php +24 -0
- package/dist/packages/crucible/seeds/php/seed-020.php +19 -0
- package/dist/packages/crucible/seeds/php/seed-021.php +22 -0
- package/dist/packages/crucible/seeds/php/seed-022.php +15 -0
- package/dist/packages/crucible/seeds/php/seed-023.php +24 -0
- package/dist/packages/crucible/seeds/php/seed-024.php +22 -0
- package/dist/packages/crucible/seeds/php/seed-025.php +20 -0
- package/dist/packages/crucible/seeds/php/seed-026.php +22 -0
- package/dist/packages/crucible/seeds/php/seed-027.php +15 -0
- package/dist/packages/crucible/seeds/php/seed-028.php +15 -0
- package/dist/packages/crucible/seeds/php/seed-029.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-030.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-031.php +23 -0
- package/dist/packages/crucible/seeds/php/seed-032.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-033.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-034.php +24 -0
- package/dist/packages/crucible/seeds/php/seed-035.php +22 -0
- package/dist/packages/crucible/seeds/php/seed-036.php +17 -0
- package/dist/packages/crucible/seeds/php/seed-037.php +19 -0
- package/dist/packages/crucible/seeds/php/seed-038.php +20 -0
- package/dist/packages/crucible/seeds/php/seed-039.php +15 -0
- package/dist/packages/crucible/seeds/php/seed-040.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-041.php +20 -0
- package/dist/packages/crucible/seeds/php/seed-042.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-043.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-044.php +25 -0
- package/dist/packages/crucible/seeds/php/seed-045.php +25 -0
- package/dist/packages/crucible/seeds/php/seed-046.php +20 -0
- package/dist/packages/crucible/seeds/php/seed-047.php +21 -0
- package/dist/packages/crucible/seeds/php/seed-048.php +19 -0
- package/dist/packages/crucible/seeds/php/seed-049.php +18 -0
- package/dist/packages/crucible/seeds/php/seed-050.php +20 -0
- package/dist/packages/crucible/seeds/python/seed-001.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-002.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-003.py +31 -0
- package/dist/packages/crucible/seeds/python/seed-004.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-005.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-006.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-007.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-008.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-009.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-010.py +42 -0
- package/dist/packages/crucible/seeds/python/seed-011.py +30 -0
- package/dist/packages/crucible/seeds/python/seed-012.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-013.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-014.py +40 -0
- package/dist/packages/crucible/seeds/python/seed-015.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-016.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-017.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-018.py +30 -0
- package/dist/packages/crucible/seeds/python/seed-019.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-020.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-021 2.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-021.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-022 2.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-022.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-023 2.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-023.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-024 2.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-024.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-025 2.py +40 -0
- package/dist/packages/crucible/seeds/python/seed-025.py +40 -0
- package/dist/packages/crucible/seeds/python/seed-026 2.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-026.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-027 2.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-027.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-028 2.py +42 -0
- package/dist/packages/crucible/seeds/python/seed-028.py +42 -0
- package/dist/packages/crucible/seeds/python/seed-029.py +42 -0
- package/dist/packages/crucible/seeds/python/seed-030 2.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-030.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-031 2.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-031.py +34 -0
- package/dist/packages/crucible/seeds/python/seed-032.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-033.py +32 -0
- package/dist/packages/crucible/seeds/python/seed-034.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-035.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-036 2.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-036.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-037 2.py +41 -0
- package/dist/packages/crucible/seeds/python/seed-037.py +41 -0
- package/dist/packages/crucible/seeds/python/seed-038 2.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-038.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-039 2.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-039.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-040 2.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-040.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-041 2.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-041.py +37 -0
- package/dist/packages/crucible/seeds/python/seed-042 2.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-042.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-043 2.py +32 -0
- package/dist/packages/crucible/seeds/python/seed-043.py +32 -0
- package/dist/packages/crucible/seeds/python/seed-044 2.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-044.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-045 2.py +36 -0
- package/dist/packages/crucible/seeds/python/seed-045.py +36 -0
- package/dist/packages/crucible/seeds/python/seed-046 2.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-046.py +33 -0
- package/dist/packages/crucible/seeds/python/seed-047 2.py +44 -0
- package/dist/packages/crucible/seeds/python/seed-047.py +44 -0
- package/dist/packages/crucible/seeds/python/seed-048 2.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-048.py +35 -0
- package/dist/packages/crucible/seeds/python/seed-049 2.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-049.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-050 2.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-050.py +39 -0
- package/dist/packages/crucible/seeds/python/seed-051 2.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-051.py +38 -0
- package/dist/packages/crucible/seeds/python/seed-052 2.py +41 -0
- package/dist/packages/crucible/seeds/python/seed-052.py +41 -0
- package/dist/packages/crucible/seeds/ruby/seed-001 2.rb +15 -0
- package/dist/packages/crucible/seeds/ruby/seed-001.rb +15 -0
- package/dist/packages/crucible/seeds/ruby/seed-002 2.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-002.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-003 2.rb +25 -0
- package/dist/packages/crucible/seeds/ruby/seed-003.rb +25 -0
- package/dist/packages/crucible/seeds/ruby/seed-004 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-004.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-005 2.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-005.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-006 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-006.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-007 2.rb +16 -0
- package/dist/packages/crucible/seeds/ruby/seed-007.rb +16 -0
- package/dist/packages/crucible/seeds/ruby/seed-008 2.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-008.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-009 2.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-009.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-010 2.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-010.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-011 2.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-011.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-012 2.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-012.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-013 2.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-013.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-014 2.rb +16 -0
- package/dist/packages/crucible/seeds/ruby/seed-014.rb +16 -0
- package/dist/packages/crucible/seeds/ruby/seed-015 2.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-015.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-016 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-016.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-017 2.rb +25 -0
- package/dist/packages/crucible/seeds/ruby/seed-017.rb +25 -0
- package/dist/packages/crucible/seeds/ruby/seed-018 2.rb +23 -0
- package/dist/packages/crucible/seeds/ruby/seed-018.rb +23 -0
- package/dist/packages/crucible/seeds/ruby/seed-019 2.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-019.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-020 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-020.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-021 2.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-021.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-022 2.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-022.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-023 2.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-023.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-024 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-024.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-025 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-025.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-026 2.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-026.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-027 2.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-027.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-028 2.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-028.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-029 2.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-029.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-030 2.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-030.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-031 2.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-031.rb +17 -0
- package/dist/packages/crucible/seeds/ruby/seed-032 2.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-032.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-033 2.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-033.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-034 2.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-034.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-035 2.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-035.rb +19 -0
- package/dist/packages/crucible/seeds/ruby/seed-036 2.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-036.rb +18 -0
- package/dist/packages/crucible/seeds/ruby/seed-037 2.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-037.rb +21 -0
- package/dist/packages/crucible/seeds/ruby/seed-038 2.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-038.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-039 2.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-039.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-040 2.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-040.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-041 2.rb +23 -0
- package/dist/packages/crucible/seeds/ruby/seed-041.rb +23 -0
- package/dist/packages/crucible/seeds/ruby/seed-042 2.rb +25 -0
- package/dist/packages/crucible/seeds/ruby/seed-042.rb +25 -0
- package/dist/packages/crucible/seeds/ruby/seed-043 2.rb +23 -0
- package/dist/packages/crucible/seeds/ruby/seed-043.rb +23 -0
- package/dist/packages/crucible/seeds/ruby/seed-044 2.rb +16 -0
- package/dist/packages/crucible/seeds/ruby/seed-044.rb +16 -0
- package/dist/packages/crucible/seeds/ruby/seed-045 2.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-045.rb +22 -0
- package/dist/packages/crucible/seeds/ruby/seed-046 2.rb +27 -0
- package/dist/packages/crucible/seeds/ruby/seed-046.rb +27 -0
- package/dist/packages/crucible/seeds/ruby/seed-047 2.rb +26 -0
- package/dist/packages/crucible/seeds/ruby/seed-047.rb +26 -0
- package/dist/packages/crucible/seeds/ruby/seed-048 2.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-048.rb +24 -0
- package/dist/packages/crucible/seeds/ruby/seed-049 2.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-049.rb +20 -0
- package/dist/packages/crucible/seeds/ruby/seed-050 2.rb +27 -0
- package/dist/packages/crucible/seeds/ruby/seed-050.rb +27 -0
- package/dist/packages/crucible/seeds/rust/seed-001 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-001.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-002 2.rs +20 -0
- package/dist/packages/crucible/seeds/rust/seed-002.rs +20 -0
- package/dist/packages/crucible/seeds/rust/seed-003 2.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-003.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-004 2.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-004.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-005 2.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-005.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-006 2.rs +24 -0
- package/dist/packages/crucible/seeds/rust/seed-006.rs +24 -0
- package/dist/packages/crucible/seeds/rust/seed-007 2.rs +20 -0
- package/dist/packages/crucible/seeds/rust/seed-007.rs +20 -0
- package/dist/packages/crucible/seeds/rust/seed-008 2.rs +19 -0
- package/dist/packages/crucible/seeds/rust/seed-008.rs +19 -0
- package/dist/packages/crucible/seeds/rust/seed-009 2.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-009.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-010 2.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-010.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-011 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-011.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-012 2.rs +31 -0
- package/dist/packages/crucible/seeds/rust/seed-012.rs +31 -0
- package/dist/packages/crucible/seeds/rust/seed-013 2.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-013.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-014 2.rs +30 -0
- package/dist/packages/crucible/seeds/rust/seed-014.rs +30 -0
- package/dist/packages/crucible/seeds/rust/seed-015 2.rs +33 -0
- package/dist/packages/crucible/seeds/rust/seed-015.rs +33 -0
- package/dist/packages/crucible/seeds/rust/seed-016 2.rs +22 -0
- package/dist/packages/crucible/seeds/rust/seed-016.rs +22 -0
- package/dist/packages/crucible/seeds/rust/seed-017 2.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-017.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-018 2.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-018.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-019 2.rs +36 -0
- package/dist/packages/crucible/seeds/rust/seed-019.rs +36 -0
- package/dist/packages/crucible/seeds/rust/seed-020 2.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-020.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-021 2.rs +26 -0
- package/dist/packages/crucible/seeds/rust/seed-021.rs +26 -0
- package/dist/packages/crucible/seeds/rust/seed-022 2.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-022.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-023 2.rs +22 -0
- package/dist/packages/crucible/seeds/rust/seed-023.rs +22 -0
- package/dist/packages/crucible/seeds/rust/seed-024 2.rs +24 -0
- package/dist/packages/crucible/seeds/rust/seed-024.rs +24 -0
- package/dist/packages/crucible/seeds/rust/seed-025 2.rs +29 -0
- package/dist/packages/crucible/seeds/rust/seed-025.rs +29 -0
- package/dist/packages/crucible/seeds/rust/seed-026 2.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-026.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-027 2.rs +24 -0
- package/dist/packages/crucible/seeds/rust/seed-027.rs +24 -0
- package/dist/packages/crucible/seeds/rust/seed-028 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-028.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-029 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-029.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-030 2.rs +30 -0
- package/dist/packages/crucible/seeds/rust/seed-030.rs +30 -0
- package/dist/packages/crucible/seeds/rust/seed-031 2.rs +22 -0
- package/dist/packages/crucible/seeds/rust/seed-031.rs +22 -0
- package/dist/packages/crucible/seeds/rust/seed-032 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-032.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-033 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-033.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-034 2.rs +20 -0
- package/dist/packages/crucible/seeds/rust/seed-034.rs +20 -0
- package/dist/packages/crucible/seeds/rust/seed-035 2.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-035.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-036 2.rs +26 -0
- package/dist/packages/crucible/seeds/rust/seed-036.rs +26 -0
- package/dist/packages/crucible/seeds/rust/seed-037 2.rs +31 -0
- package/dist/packages/crucible/seeds/rust/seed-037.rs +31 -0
- package/dist/packages/crucible/seeds/rust/seed-038 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-038.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-039 2.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-039.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-040 2.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-040.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-041 2.rs +32 -0
- package/dist/packages/crucible/seeds/rust/seed-041.rs +32 -0
- package/dist/packages/crucible/seeds/rust/seed-042 2.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-042.rs +27 -0
- package/dist/packages/crucible/seeds/rust/seed-043 2.rs +29 -0
- package/dist/packages/crucible/seeds/rust/seed-043.rs +29 -0
- package/dist/packages/crucible/seeds/rust/seed-044 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-044.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-045 2.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-045.rs +28 -0
- package/dist/packages/crucible/seeds/rust/seed-046 2.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-046.rs +25 -0
- package/dist/packages/crucible/seeds/rust/seed-047 2.rs +34 -0
- package/dist/packages/crucible/seeds/rust/seed-047.rs +34 -0
- package/dist/packages/crucible/seeds/rust/seed-048 2.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-048.rs +21 -0
- package/dist/packages/crucible/seeds/rust/seed-049 2.rs +26 -0
- package/dist/packages/crucible/seeds/rust/seed-049.rs +26 -0
- package/dist/packages/crucible/seeds/rust/seed-050 2.rs +23 -0
- package/dist/packages/crucible/seeds/rust/seed-050.rs +23 -0
- package/dist/packages/crucible/seeds/ts/seed-001 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-001.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-002 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-002.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-003 2.ts +28 -0
- package/dist/packages/crucible/seeds/ts/seed-003.ts +28 -0
- package/dist/packages/crucible/seeds/ts/seed-004 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-004.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-005 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-005.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-006 2.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-006.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-007 2.ts +28 -0
- package/dist/packages/crucible/seeds/ts/seed-007.ts +28 -0
- package/dist/packages/crucible/seeds/ts/seed-008 2.ts +40 -0
- package/dist/packages/crucible/seeds/ts/seed-008.ts +40 -0
- package/dist/packages/crucible/seeds/ts/seed-009 2.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-009.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-010 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-010.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-011 2.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-011.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-012 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-012.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-013 2.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-013.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-014 2.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-014.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-015 2.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-015.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-016 2.ts +37 -0
- package/dist/packages/crucible/seeds/ts/seed-016.ts +37 -0
- package/dist/packages/crucible/seeds/ts/seed-017 2.ts +44 -0
- package/dist/packages/crucible/seeds/ts/seed-017.ts +44 -0
- package/dist/packages/crucible/seeds/ts/seed-018 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-018.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-019 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-019.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-020 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-020.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-021 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-021.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-022 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-022.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-023 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-023.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-024 2.ts +35 -0
- package/dist/packages/crucible/seeds/ts/seed-024.ts +35 -0
- package/dist/packages/crucible/seeds/ts/seed-025 2.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-025.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-026 2.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-026.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-027 2.ts +30 -0
- package/dist/packages/crucible/seeds/ts/seed-027.ts +30 -0
- package/dist/packages/crucible/seeds/ts/seed-028 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-028.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-029 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-029.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-030 2.ts +37 -0
- package/dist/packages/crucible/seeds/ts/seed-030.ts +37 -0
- package/dist/packages/crucible/seeds/ts/seed-031 2.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-031.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-032 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-032.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-033 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-033.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-034 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-034.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-035 2.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-035.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-036 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-036.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-037 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-037.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-038 2.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-038.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-039 2.ts +35 -0
- package/dist/packages/crucible/seeds/ts/seed-039.ts +35 -0
- package/dist/packages/crucible/seeds/ts/seed-040 2.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-040.ts +31 -0
- package/dist/packages/crucible/seeds/ts/seed-041 2.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-041.ts +29 -0
- package/dist/packages/crucible/seeds/ts/seed-042 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-042.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-043 2.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-043.ts +32 -0
- package/dist/packages/crucible/seeds/ts/seed-044 2.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-044.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-045 2.ts +39 -0
- package/dist/packages/crucible/seeds/ts/seed-045.ts +39 -0
- package/dist/packages/crucible/seeds/ts/seed-046 2.ts +41 -0
- package/dist/packages/crucible/seeds/ts/seed-046.ts +41 -0
- package/dist/packages/crucible/seeds/ts/seed-047 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-047.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-048 2.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-048.ts +33 -0
- package/dist/packages/crucible/seeds/ts/seed-049 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-049.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-050 2.ts +41 -0
- package/dist/packages/crucible/seeds/ts/seed-050.ts +41 -0
- package/dist/packages/crucible/seeds/ts/seed-051 2.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-051.ts +34 -0
- package/dist/packages/crucible/seeds/ts/seed-052 2.ts +36 -0
- package/dist/packages/crucible/seeds/ts/seed-052.ts +36 -0
- package/dist/packages/crucible/self-attack.js +1 -0
- package/dist/packages/scanner/ai-confidence-scorer.js +1 -1
- package/dist/packages/scanner/alert-manager.js +1 -1
- package/dist/packages/scanner/ast-analyzer.js +1 -0
- package/dist/packages/scanner/baseline-manager.js +1 -1
- package/dist/packages/scanner/cfg-analyzer.js +1 -0
- package/dist/packages/scanner/code-scanner.js +1 -1
- package/dist/packages/scanner/dependency-graph.js +1 -1
- package/dist/packages/scanner/drift-detector.js +1 -1
- package/dist/packages/scanner/executive-report.js +1 -1
- package/dist/packages/scanner/export-verifier.js +1 -0
- package/dist/packages/scanner/file-collector.js +1 -1
- package/dist/packages/scanner/file-watcher.js +1 -1
- package/dist/packages/scanner/ghost-code-detector.js +1 -1
- package/dist/packages/scanner/go-ast-analyzer.js +1 -0
- package/dist/packages/scanner/hallucination-detector.js +1 -1
- package/dist/packages/scanner/html-report.js +1 -1
- package/dist/packages/scanner/license-manager.js +1 -1
- package/dist/packages/scanner/master-health-checker.js +1 -1
- package/dist/packages/scanner/monitor-service.js +1 -1
- package/dist/packages/scanner/monitor-store.js +1 -1
- package/dist/packages/scanner/python-ast-analyzer.js +1 -0
- package/dist/packages/scanner/secret-scanner.js +1 -1
- package/dist/packages/scanner/sentinel-core.js +1 -1
- package/dist/packages/scanner/taint-tracker.js +1 -0
- package/dist/packages/scanner/tech-debt-analyzer.js +1 -1
- package/dist/packages/scanner/tech-debt-cost.js +1 -1
- package/dist/packages/scanner/widget-generator.js +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: insecure_crypto
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: DES encryption used for sensitive data (56-bit key, broken algorithm)
|
|
6
|
+
|
|
7
|
+
package security
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"crypto/cipher"
|
|
11
|
+
"crypto/des"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
var desKey = []byte("8byteKey") // Vulnerable: DES key is only 56 bits
|
|
15
|
+
|
|
16
|
+
func EncryptDES(plaintext []byte) ([]byte, error) {
|
|
17
|
+
// Vulnerable: DES is broken — brute-forceable since 1999
|
|
18
|
+
block, err := des.NewCipher(desKey)
|
|
19
|
+
if err != nil {
|
|
20
|
+
return nil, err
|
|
21
|
+
}
|
|
22
|
+
ciphertext := make([]byte, len(plaintext))
|
|
23
|
+
iv := desKey // Vulnerable: IV reused from key bytes
|
|
24
|
+
mode := cipher.NewCBCEncryptor(block, iv)
|
|
25
|
+
mode.CryptBlocks(ciphertext, plaintext)
|
|
26
|
+
return ciphertext, nil
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: insecure_crypto
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Hardcoded AES key with ECB-like block-by-block encryption lacking proper IV
|
|
6
|
+
|
|
7
|
+
package security
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"crypto/aes"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
// Vulnerable: hardcoded key and manual block-level encryption without IV (ECB-equivalent)
|
|
14
|
+
var aesKey = []byte("1234567890abcdef")
|
|
15
|
+
|
|
16
|
+
func EncryptBlock(plaintext []byte) ([]byte, error) {
|
|
17
|
+
block, err := aes.NewCipher(aesKey)
|
|
18
|
+
if err != nil {
|
|
19
|
+
return nil, err
|
|
20
|
+
}
|
|
21
|
+
// Vulnerable: encrypting single blocks without chaining — identical blocks = identical ciphertext
|
|
22
|
+
ciphertext := make([]byte, len(plaintext))
|
|
23
|
+
for i := 0; i < len(plaintext); i += aes.BlockSize {
|
|
24
|
+
block.Encrypt(ciphertext[i:i+aes.BlockSize], plaintext[i:i+aes.BlockSize])
|
|
25
|
+
}
|
|
26
|
+
return ciphertext, nil
|
|
27
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: ssrf
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: SSRF via http.Get fetching user-supplied image URL for thumbnail generation
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"fmt"
|
|
11
|
+
"io"
|
|
12
|
+
"net/http"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
func ThumbnailHandler(w http.ResponseWriter, r *http.Request) {
|
|
16
|
+
imageURL := r.URL.Query().Get("image_url")
|
|
17
|
+
// Vulnerable: server fetches from any URL; internal AWS metadata or Kubernetes API reachable
|
|
18
|
+
resp, err := http.Get(imageURL)
|
|
19
|
+
if err != nil {
|
|
20
|
+
http.Error(w, "Failed to fetch image", 502)
|
|
21
|
+
return
|
|
22
|
+
}
|
|
23
|
+
defer resp.Body.Close()
|
|
24
|
+
data, _ := io.ReadAll(resp.Body)
|
|
25
|
+
fmt.Fprintf(w, "Fetched %d bytes from %s", len(data), imageURL)
|
|
26
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: path_traversal
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Path traversal via os.Stat and os.ReadFile with user-controlled archive entry path
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"archive/zip"
|
|
11
|
+
"net/http"
|
|
12
|
+
"os"
|
|
13
|
+
"path/filepath"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
const extractBase = "/var/extracted/"
|
|
17
|
+
|
|
18
|
+
func ZipExtractHandler(w http.ResponseWriter, r *http.Request) {
|
|
19
|
+
zipPath := r.URL.Query().Get("zip")
|
|
20
|
+
zr, err := zip.OpenReader(zipPath)
|
|
21
|
+
if err != nil {
|
|
22
|
+
http.Error(w, "Cannot open zip", 400)
|
|
23
|
+
return
|
|
24
|
+
}
|
|
25
|
+
defer zr.Close()
|
|
26
|
+
for _, f := range zr.File {
|
|
27
|
+
// Vulnerable: f.Name can contain ../ sequences escaping extractBase
|
|
28
|
+
target := filepath.Join(extractBase, f.Name)
|
|
29
|
+
os.MkdirAll(filepath.Dir(target), 0755)
|
|
30
|
+
out, _ := os.Create(target)
|
|
31
|
+
rc, _ := f.Open()
|
|
32
|
+
out.ReadFrom(rc)
|
|
33
|
+
rc.Close()
|
|
34
|
+
out.Close()
|
|
35
|
+
}
|
|
36
|
+
http.Redirect(w, r, "/files", http.StatusFound)
|
|
37
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: insecure_crypto
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Weak RSA key size (1024-bit) used for certificate generation
|
|
6
|
+
|
|
7
|
+
package security
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"crypto/rand"
|
|
11
|
+
"crypto/rsa"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
// Vulnerable: 1024-bit RSA is considered broken; minimum is 2048-bit
|
|
15
|
+
func GenerateWeakRSAKey() (*rsa.PrivateKey, error) {
|
|
16
|
+
return rsa.GenerateKey(rand.Reader, 1024)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Vulnerable: also using a fixed exponent of 3 is dangerous in some contexts
|
|
20
|
+
func GenerateVeryWeakRSAKey() (*rsa.PrivateKey, error) {
|
|
21
|
+
key, err := rsa.GenerateKey(rand.Reader, 512)
|
|
22
|
+
return key, err
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: open_redirect
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Open redirect via http.Redirect using user-supplied return URL after password reset
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"net/http"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
func PasswordResetConfirmHandler(w http.ResponseWriter, r *http.Request) {
|
|
14
|
+
token := r.URL.Query().Get("token")
|
|
15
|
+
returnURL := r.URL.Query().Get("return")
|
|
16
|
+
|
|
17
|
+
if !validateResetToken(token) {
|
|
18
|
+
http.Error(w, "Invalid token", 400)
|
|
19
|
+
return
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Process password reset...
|
|
23
|
+
|
|
24
|
+
// Vulnerable: returnURL not validated — open redirect to external site
|
|
25
|
+
if returnURL != "" {
|
|
26
|
+
http.Redirect(w, r, returnURL, http.StatusFound)
|
|
27
|
+
} else {
|
|
28
|
+
http.Redirect(w, r, "/login?reset=success", http.StatusFound)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
func validateResetToken(t string) bool { return len(t) == 32 }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: timing_attack
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Timing attack via string comparison of CSRF tokens using == operator
|
|
6
|
+
|
|
7
|
+
package middleware
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"net/http"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
func CSRFMiddleware(next http.Handler) http.Handler {
|
|
14
|
+
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
|
15
|
+
if r.Method == "POST" || r.Method == "PUT" || r.Method == "DELETE" {
|
|
16
|
+
sessionToken := getSessionCSRFToken(r)
|
|
17
|
+
formToken := r.FormValue("csrf_token")
|
|
18
|
+
|
|
19
|
+
// Vulnerable: == comparison is not constant-time; leaks token via timing
|
|
20
|
+
if sessionToken != formToken {
|
|
21
|
+
http.Error(w, "CSRF token mismatch", http.StatusForbidden)
|
|
22
|
+
return
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
next.ServeHTTP(w, r)
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
func getSessionCSRFToken(r *http.Request) string {
|
|
30
|
+
c, err := r.Cookie("csrf_token")
|
|
31
|
+
if err != nil {
|
|
32
|
+
return ""
|
|
33
|
+
}
|
|
34
|
+
return c.Value
|
|
35
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: ssrf
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: SSRF via http.Get with user-supplied URL parameter
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"io"
|
|
11
|
+
"net/http"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
func ProxyHandler(w http.ResponseWriter, r *http.Request) {
|
|
15
|
+
targetURL := r.URL.Query().Get("url")
|
|
16
|
+
// Vulnerable: fetches arbitrary URL including internal services (e.g. http://169.254.169.254)
|
|
17
|
+
resp, err := http.Get(targetURL)
|
|
18
|
+
if err != nil {
|
|
19
|
+
http.Error(w, "Fetch failed", 500)
|
|
20
|
+
return
|
|
21
|
+
}
|
|
22
|
+
defer resp.Body.Close()
|
|
23
|
+
w.Header().Set("Content-Type", resp.Header.Get("Content-Type"))
|
|
24
|
+
io.Copy(w, resp.Body)
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: ssrf
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: SSRF via http.Post with user-controlled webhook URL
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"fmt"
|
|
11
|
+
"net/http"
|
|
12
|
+
"strings"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
func WebhookTestHandler(w http.ResponseWriter, r *http.Request) {
|
|
16
|
+
webhookURL := r.URL.Query().Get("webhook_url")
|
|
17
|
+
payload := r.URL.Query().Get("payload")
|
|
18
|
+
// Vulnerable: server POSTs to attacker-controlled URL
|
|
19
|
+
resp, err := http.Post(webhookURL, "application/json", strings.NewReader(payload))
|
|
20
|
+
if err != nil {
|
|
21
|
+
http.Error(w, "Webhook error: "+err.Error(), 500)
|
|
22
|
+
return
|
|
23
|
+
}
|
|
24
|
+
defer resp.Body.Close()
|
|
25
|
+
fmt.Fprintf(w, "Webhook responded: %d", resp.StatusCode)
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: ssrf
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: SSRF via http.NewRequest with user-controlled base URL for metadata fetch
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"fmt"
|
|
11
|
+
"io"
|
|
12
|
+
"net/http"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
func MetadataFetchHandler(w http.ResponseWriter, r *http.Request) {
|
|
16
|
+
endpoint := r.URL.Query().Get("endpoint")
|
|
17
|
+
// Vulnerable: attacker can supply http://169.254.169.254/latest/meta-data/
|
|
18
|
+
req, err := http.NewRequest("GET", endpoint, nil)
|
|
19
|
+
if err != nil {
|
|
20
|
+
http.Error(w, "Invalid URL", 400)
|
|
21
|
+
return
|
|
22
|
+
}
|
|
23
|
+
req.Header.Set("User-Agent", "MetadataFetcher/1.0")
|
|
24
|
+
client := &http.Client{}
|
|
25
|
+
resp, err := client.Do(req)
|
|
26
|
+
if err != nil {
|
|
27
|
+
http.Error(w, "Request failed", 500)
|
|
28
|
+
return
|
|
29
|
+
}
|
|
30
|
+
defer resp.Body.Close()
|
|
31
|
+
body, _ := io.ReadAll(resp.Body)
|
|
32
|
+
w.Header().Set("Content-Type", "text/plain")
|
|
33
|
+
fmt.Fprintf(w, "%s", body)
|
|
34
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: ssrf
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: SSRF via http.Get with user-supplied avatar URL for image fetching
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"io"
|
|
11
|
+
"net/http"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
func AvatarProxyHandler(w http.ResponseWriter, r *http.Request) {
|
|
15
|
+
avatarURL := r.URL.Query().Get("avatar_url")
|
|
16
|
+
// Vulnerable: server fetches image from any URL; can reach internal services
|
|
17
|
+
resp, err := http.Get(avatarURL)
|
|
18
|
+
if err != nil {
|
|
19
|
+
http.Error(w, "Could not fetch avatar", 502)
|
|
20
|
+
return
|
|
21
|
+
}
|
|
22
|
+
defer resp.Body.Close()
|
|
23
|
+
contentType := resp.Header.Get("Content-Type")
|
|
24
|
+
w.Header().Set("Content-Type", contentType)
|
|
25
|
+
io.Copy(w, resp.Body)
|
|
26
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: open_redirect
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Open redirect via http.Redirect with unvalidated user-controlled URL
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"net/http"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
func LoginHandler(w http.ResponseWriter, r *http.Request) {
|
|
14
|
+
username := r.FormValue("username")
|
|
15
|
+
password := r.FormValue("password")
|
|
16
|
+
next := r.URL.Query().Get("next")
|
|
17
|
+
|
|
18
|
+
if authenticate(username, password) {
|
|
19
|
+
// Vulnerable: 'next' not validated; can redirect to https://evil.com
|
|
20
|
+
if next == "" {
|
|
21
|
+
next = "/dashboard"
|
|
22
|
+
}
|
|
23
|
+
http.Redirect(w, r, next, http.StatusFound)
|
|
24
|
+
} else {
|
|
25
|
+
http.Redirect(w, r, "/login?error=1", http.StatusFound)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
func authenticate(u, p string) bool { return u != "" && p != "" }
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: open_redirect
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Open redirect via http.Redirect using Base64-decoded state parameter
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"encoding/base64"
|
|
11
|
+
"net/http"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
func OAuthCallbackHandler(w http.ResponseWriter, r *http.Request) {
|
|
15
|
+
state := r.URL.Query().Get("state")
|
|
16
|
+
// Vulnerable: state decoded and used as redirect target without validation
|
|
17
|
+
destination, err := base64.StdEncoding.DecodeString(state)
|
|
18
|
+
if err != nil {
|
|
19
|
+
http.Error(w, "Invalid state", 400)
|
|
20
|
+
return
|
|
21
|
+
}
|
|
22
|
+
// Exchange code for token... (omitted)
|
|
23
|
+
http.Redirect(w, r, string(destination), http.StatusFound)
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: open_redirect
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Open redirect via http.Redirect with Referer header used as redirect destination
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"net/http"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
func LogoutHandler(w http.ResponseWriter, r *http.Request) {
|
|
14
|
+
// Clear session cookie
|
|
15
|
+
http.SetCookie(w, &http.Cookie{Name: "session", MaxAge: -1})
|
|
16
|
+
|
|
17
|
+
returnURL := r.URL.Query().Get("return_url")
|
|
18
|
+
if returnURL == "" {
|
|
19
|
+
// Vulnerable: fallback to Referer header — fully attacker-controlled
|
|
20
|
+
returnURL = r.Header.Get("Referer")
|
|
21
|
+
}
|
|
22
|
+
if returnURL == "" {
|
|
23
|
+
returnURL = "/"
|
|
24
|
+
}
|
|
25
|
+
// Vulnerable: redirects to any URL including external sites
|
|
26
|
+
http.Redirect(w, r, returnURL, http.StatusFound)
|
|
27
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: timing_attack
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Timing attack via string equality comparison of API tokens instead of hmac.Equal
|
|
6
|
+
|
|
7
|
+
package handlers
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"net/http"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
const validAPIToken = "prod-api-token-xK9mP2qRwZ4vBn7"
|
|
14
|
+
|
|
15
|
+
func APIAuthMiddleware(next http.Handler) http.Handler {
|
|
16
|
+
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
|
17
|
+
token := r.Header.Get("X-API-Token")
|
|
18
|
+
// Vulnerable: == comparison leaks timing information about token correctness
|
|
19
|
+
if token != validAPIToken {
|
|
20
|
+
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
|
21
|
+
return
|
|
22
|
+
}
|
|
23
|
+
next.ServeHTTP(w, r)
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
func verifySignature(expected, actual string) bool {
|
|
28
|
+
// Also vulnerable: early-exit string comparison
|
|
29
|
+
if len(expected) != len(actual) {
|
|
30
|
+
return false
|
|
31
|
+
}
|
|
32
|
+
for i := range expected {
|
|
33
|
+
if expected[i] != actual[i] {
|
|
34
|
+
return false
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return true
|
|
38
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: timing_attack
|
|
3
|
+
// severity: medium
|
|
4
|
+
// language: go
|
|
5
|
+
// expected: Timing attack via bytes.Equal comparison of HMAC values instead of hmac.Equal
|
|
6
|
+
|
|
7
|
+
package security
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"bytes"
|
|
11
|
+
"crypto/hmac"
|
|
12
|
+
"crypto/sha256"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
func ValidateWebhookSignature(payload []byte, receivedSig, secret string) bool {
|
|
16
|
+
mac := hmac.New(sha256.New, []byte(secret))
|
|
17
|
+
mac.Write(payload)
|
|
18
|
+
expected := mac.Sum(nil)
|
|
19
|
+
received := []byte(receivedSig)
|
|
20
|
+
// Vulnerable: bytes.Equal is not constant-time — use hmac.Equal instead
|
|
21
|
+
return bytes.Equal(expected, received)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
func ValidatePasswordHash(storedHash, inputHash string) bool {
|
|
25
|
+
// Vulnerable: direct string comparison leaks timing information
|
|
26
|
+
return storedHash == inputHash
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: critical
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded database password in constant
|
|
6
|
+
|
|
7
|
+
import java.sql.Connection;
|
|
8
|
+
import java.sql.DriverManager;
|
|
9
|
+
|
|
10
|
+
public class DatabaseConfig {
|
|
11
|
+
private static final String DB_URL = "jdbc:mysql://prod-db.internal:3306/appdb";
|
|
12
|
+
private static final String DB_USER = "app_user";
|
|
13
|
+
private static final String DB_PASSWORD = "Sup3rS3cr3tP@ssw0rd!";
|
|
14
|
+
|
|
15
|
+
public static Connection getConnection() throws Exception {
|
|
16
|
+
return DriverManager.getConnection(DB_URL, DB_USER, DB_PASSWORD);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
public static void main(String[] args) throws Exception {
|
|
20
|
+
Connection conn = getConnection();
|
|
21
|
+
System.out.println("Connected: " + conn.getMetaData().getURL());
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: critical
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded AWS access key and secret key in source code
|
|
6
|
+
|
|
7
|
+
public class AwsClientFactory {
|
|
8
|
+
private static final String AWS_ACCESS_KEY_ID = "AKIAIOSFODNN7EXAMPLE";
|
|
9
|
+
private static final String AWS_SECRET_ACCESS_KEY = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY";
|
|
10
|
+
private static final String AWS_REGION = "us-east-1";
|
|
11
|
+
|
|
12
|
+
public static software.amazon.awssdk.services.s3.S3Client buildS3Client() {
|
|
13
|
+
software.amazon.awssdk.auth.credentials.AwsBasicCredentials creds =
|
|
14
|
+
software.amazon.awssdk.auth.credentials.AwsBasicCredentials.create(
|
|
15
|
+
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY);
|
|
16
|
+
return software.amazon.awssdk.services.s3.S3Client.builder()
|
|
17
|
+
.credentialsProvider(
|
|
18
|
+
software.amazon.awssdk.auth.credentials.StaticCredentialsProvider.create(creds))
|
|
19
|
+
.region(software.amazon.awssdk.regions.Region.of(AWS_REGION))
|
|
20
|
+
.build();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: critical
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded JWT signing secret embedded in source
|
|
6
|
+
|
|
7
|
+
import io.jsonwebtoken.Jwts;
|
|
8
|
+
import io.jsonwebtoken.SignatureAlgorithm;
|
|
9
|
+
import java.util.Date;
|
|
10
|
+
|
|
11
|
+
public class JwtService {
|
|
12
|
+
// TODO: move to environment variable before deploy
|
|
13
|
+
private static final String SECRET = "my-super-secret-jwt-key-do-not-share-12345";
|
|
14
|
+
|
|
15
|
+
public String generateToken(String subject) {
|
|
16
|
+
return Jwts.builder()
|
|
17
|
+
.setSubject(subject)
|
|
18
|
+
.setIssuedAt(new Date())
|
|
19
|
+
.setExpiration(new Date(System.currentTimeMillis() + 86400000))
|
|
20
|
+
.signWith(SignatureAlgorithm.HS256, SECRET)
|
|
21
|
+
.compact();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public boolean validateToken(String token) {
|
|
25
|
+
Jwts.parser().setSigningKey(SECRET).parseClaimsJws(token);
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded Stripe API key in application constant
|
|
6
|
+
|
|
7
|
+
import com.stripe.Stripe;
|
|
8
|
+
import com.stripe.model.Charge;
|
|
9
|
+
import java.util.HashMap;
|
|
10
|
+
import java.util.Map;
|
|
11
|
+
|
|
12
|
+
public class PaymentService {
|
|
13
|
+
private static final String STRIPE_SECRET_KEY = "sk_live_51HqT4vKZ3VpNm8Yw9fX2rLcD";
|
|
14
|
+
|
|
15
|
+
static {
|
|
16
|
+
Stripe.apiKey = STRIPE_SECRET_KEY;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
public Charge chargeCard(String token, long amountCents) throws Exception {
|
|
20
|
+
Map<String, Object> params = new HashMap<>();
|
|
21
|
+
params.put("amount", amountCents);
|
|
22
|
+
params.put("currency", "usd");
|
|
23
|
+
params.put("source", token);
|
|
24
|
+
return Charge.create(params);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: critical
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded SMTP password used for email authentication
|
|
6
|
+
|
|
7
|
+
import java.util.Properties;
|
|
8
|
+
import javax.mail.*;
|
|
9
|
+
import javax.mail.internet.*;
|
|
10
|
+
|
|
11
|
+
public class EmailNotifier {
|
|
12
|
+
private static final String SMTP_HOST = "smtp.company.com";
|
|
13
|
+
private static final String SMTP_USER = "notifications@company.com";
|
|
14
|
+
private static final String SMTP_PASSWORD = "N0tif!c@ti0nP@ss#2024";
|
|
15
|
+
|
|
16
|
+
public void sendAlert(String to, String subject, String body) throws MessagingException {
|
|
17
|
+
Properties props = new Properties();
|
|
18
|
+
props.put("mail.smtp.auth", "true");
|
|
19
|
+
props.put("mail.smtp.host", SMTP_HOST);
|
|
20
|
+
props.put("mail.smtp.port", "587");
|
|
21
|
+
|
|
22
|
+
Session session = Session.getInstance(props, new Authenticator() {
|
|
23
|
+
protected PasswordAuthentication getPasswordAuthentication() {
|
|
24
|
+
return new PasswordAuthentication(SMTP_USER, SMTP_PASSWORD);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
Message msg = new MimeMessage(session);
|
|
28
|
+
msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to));
|
|
29
|
+
msg.setSubject(subject);
|
|
30
|
+
msg.setText(body);
|
|
31
|
+
Transport.send(msg);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: high
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded GitHub personal access token in repository client
|
|
6
|
+
|
|
7
|
+
import java.net.HttpURLConnection;
|
|
8
|
+
import java.net.URL;
|
|
9
|
+
|
|
10
|
+
public class GitHubClient {
|
|
11
|
+
private static final String GITHUB_TOKEN = "ghp_aBcDeFgHiJkLmNoPqRsTuVwXyZ012345";
|
|
12
|
+
private static final String API_BASE = "https://api.github.com";
|
|
13
|
+
|
|
14
|
+
public String getRepository(String owner, String repo) throws Exception {
|
|
15
|
+
URL url = new URL(API_BASE + "/repos/" + owner + "/" + repo);
|
|
16
|
+
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
|
17
|
+
conn.setRequestProperty("Authorization", "token " + GITHUB_TOKEN);
|
|
18
|
+
conn.setRequestProperty("Accept", "application/vnd.github.v3+json");
|
|
19
|
+
int status = conn.getResponseCode();
|
|
20
|
+
return "Status: " + status;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// [CRUCIBLE-SEED]
|
|
2
|
+
// category: hardcoded_secret
|
|
3
|
+
// severity: critical
|
|
4
|
+
// language: java
|
|
5
|
+
// expected: Hardcoded Redis password and encryption key in configuration class
|
|
6
|
+
|
|
7
|
+
public class CacheConfig {
|
|
8
|
+
public static final String REDIS_HOST = "redis.internal.prod";
|
|
9
|
+
public static final int REDIS_PORT = 6379;
|
|
10
|
+
public static final String REDIS_PASSWORD = "RedisP@$$w0rd#Prod";
|
|
11
|
+
public static final String ENCRYPTION_KEY = "AES256KeyForCacheEncryption9876!";
|
|
12
|
+
public static final String ENCRYPTION_SALT = "SaltVal!2024";
|
|
13
|
+
|
|
14
|
+
public static String getRedisUri() {
|
|
15
|
+
return String.format("redis://:%s@%s:%d", REDIS_PASSWORD, REDIS_HOST, REDIS_PORT);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
public static byte[] getEncryptionKeyBytes() {
|
|
19
|
+
return ENCRYPTION_KEY.getBytes();
|
|
20
|
+
}
|
|
21
|
+
}
|