mirror of
https://github.com/Strategic-Automation/violin.git
synced 2026-08-14 12:33:37 +02:00
8.7 KiB
8.7 KiB
Changelog
3.0.1
- Aligned workflow instructions in
.hermes.md,SKILL.md, andplaybooks/recon.mdwith Hermes v3 runtime tool contracts. - Added cross-cutting evidence & verification discipline guidance (
references/evidence-and-verification-discipline.md). - Added authorized flag-capture (FLAGS) mode for lab/CTF engagements (
references/flags-mode.md,templates/flag-capture-register.md). - Enforced per-hypothesis discipline fields (
Confidence,Timebox,Cheapest test,Kill criteria) andDecoy Traillogging. - Fixed hypothesis board rewriter in
plugins/violin_guard/hypotheses.pyto preserve structural sections (## Observations,## Decoy Trail,## Research Log,## Resolved Theories). - Updated
RecordHypothesisArgsModelinschemas.pyto expose discipline fields in tool parameters. - Standardized workspace
AGENTS.mdto follow industry AI developer guidance best practices.
3.0.0
- Made the Windows workflow smoke harness use the repository virtual-environment runtime when available, avoiding false failures from a dependency-free system Python.
- Made background execution restart-safe by recording PID creation times and deadlines, refusing to signal reused PIDs, recovering matching processes, and marking missing processes as lost; new pending batches now use collision-resistant UUIDs.
- Made burst execution atomic at admission: every command is preflighted before launch, required sync credit is reserved under one lock, and unused reservations are returned after partial batches.
- Fixed target extraction for dotted identifiers and direct
/dev/tcp//dev/udpredirections, and prevented network-capable local-looking commands from bypassing execution accounting. - Made interrupted skill preparation recoverable with expiring reservations and stale-owner protection; batch review now remains tied to the delivered execution receipt.
- Stabilized the core engagement workflow: domain/URL-only scopes now validate, runtime execution cannot substitute another scope file, PTT/review CLI contracts carry skill metadata, and review reuses the active delivered binding.
- Added receipt-backed skill routing, delivery, task binding, browser enforcement, Kali auto-backend selection, proof-based finding review, and semantic anti-stuck enforcement.
- Replaced marker-file authorization with two-turn skill preparation and receipt diagnostics; legacy markers can only infer a unique session ID during migration.
- Allowed direct host-local
init-engagement --hostbootstrapping, persisted runtime session identity before skill delivery, and blocked shell-indirection workarounds. - Scoped skill cooldowns to Hermes model API requests so the next tool-loop continuation unlocks automatically, while batch review no longer replaces the active execution-skill binding.
- Migrated guard tool schemas and parameter validation to Pydantic v2.
- Replaced platform-specific process termination with cross-platform
psutilprocess tree traversal and cleanup. - Upgraded target IP/CIDR scope policy arithmetic to
netaddr.IPSetand RFC 3986 URL parsing toyarl. - Replaced shell regexes in terminal policy with
bashlexAST tokenization and command parsing.
2.0.8
- Expanded Duck Store benchmark challenges from 14 to 20 article-parity vulnerabilities, matching Redpick's verified findings across 7 categories with correct severity distribution.
- Renamed benchmark engagement prompt from
anti-walkthrough.mdtoengage.mdand added a post-engagementreport.mdprompt that runs the scorer and generates a comprehensive benchmark report.
2.0.7
- Added a Duck Store benchmark harness: 4-file suite (
score.py,challenges.json,scope.yaml,engage.md) to evaluate Violin against escape.tech's Duck Store with repeatable, evidence-gated scoring. - Rewrote
score.pywith 8 evidence-gated fixes from the first benchmark run: corrected PTT path (state/ptt.md), hypothesis status per-block parsing, word-boundary pattern matching, HTTP proof-signature quality gate, auditable per-challenge output, honest compliance reporting (empty history reports UNKNOWN), calibration dry-run mode, and coverage-vs-quality split in output. - Added explicit model section to
config.yaml; profiles do not inherit the default model configuration.
2.0.6
- Resolved the current CodeQL standard quality findings by making intentional exception fallbacks explicit and removing unused test and hypothesis variables.
2.0.5
- Restored exact-repeat detection for execution history entries with receipt paths and added unambiguous command-length metadata while retaining compatibility with existing history files.
2.0.4
- Hard-blocked callback and research endpoints when supplied as primary assessment targets while preserving their approved secondary-only use, including burst execution.
2.0.3
- Fixed raw-terminal compound-command classification so every pipeline, logical, semicolon, and newline segment is checked independently, and package/source exemptions require every URL in the segment to use an approved source host.
2.0.2
- Restricted all GitHub Actions workflow tokens to read-only repository contents, resolving the three least-privilege code-scanning alerts without changing workflow behavior.
2.0.1
- Upgraded the pytest development dependency to 9.0.3 or later to address CVE-2025-71176 insecure temporary-directory handling.
2.0.0
- Added model-visible
violin_statusdiagnostics, phase-aware 10/20-command sync windows, a 350-iteration profile budget, and atomicviolin_review_batchreconciliation with optional receipt-backed finding output. - Fixed explicit PTT task creation so the requested phase controls the row's actual table placement, and unified CLI/plugin PTT review state.
- Removed message-count heartbeat locks; executed-command heartbeat checks remain phase-aware and are suppressed during exploit-heavy phases.
- Made the existing
violin_execcontract explicit for every installed non-interactive Kali/Parrot CLI tool, and removed the partial target-tool name list from raw-terminal classification in favor of generic target-literal detection. - Reorganised the guard into focused top-level modules under
plugins/violin_guard/, with separate history, result, execution, state, target, and service responsibilities. - Split web-injection and access-control playbooks into the on-demand
web-attacksandaccess-controlskills while keepingpentestas the engagement orchestrator. - Required an explicit primary target at the command boundary and added operator-approved callback hosts that cannot be promoted to assessment targets.
- Added guarded listener execution and audited pending-batch rebinding without weakening the required PTT review and synchronization checkpoint.
- Added engagement-bound audit receipts for Hermes
execute_codecalls, while documenting terminal detection as best-effort rather than scope enforcement. - Replaced regex-based target parsing with Python standard-library shell, URL, IP/CIDR, and MIME parsers; this keeps scope enforcement dependency-free while reducing parser ambiguity.
- Kept target parsing and target-scope enforcement in
plugins/violin_guard/targets.py, leavingcommand.pyfocused on policy orchestration. - Allowed
violin_record_pttto start one untouched phase-bound task, removing the initial active-task deadlock while retaining fail-closed batch reviews. - Made hypothesis parsing field-order independent and fixed template rewrites so recorded hypotheses are never written inside the template comment.
- Clarified typed nmap all-port input: use
ports: "1-65535", not the-p-flag form. - Bootstrap engagement-local
exploits/and phase evidence directories, and direct local scripts and output away from/tmpwhile preserving explicitly labelled remote-target/tmppayloads. - Fixed target extraction so local dotted output/script names are not treated as hosts, and Bash
/dev/tcpor/dev/udpendpoints retain their full host and port boundary. - Canonicalized hypothesis IDs supplied as
H-001, removed malformed duplicate headings on rewrite, and compare scoped hypothesis targets correctly when they include a URL or port. - Kept review binding fail-closed while removing the need to manually copy an opaque pending batch ID into every PTT note.
1.3.1
- Enforced scope authorisation, exclusions, phase-aligned PTT tasks, and relevant hypotheses at the execution boundary.
- Made synchronization credits apply to all target-touching commands and bound reviewed batches to their captured PTT task.
- Serialized guard state transitions, fixed isolated plugin imports, and made release and PowerShell smoke checks fail reliably.
1.3.0
- Consolidated Violin Guard into a Hermes-native plugin.
- Made command history executor-owned and PTT review explicit.