[EPIC][zeroforge-artifacts] Public symbolic exploit + detection artifact generation #200
Labels
No labels
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/hackmode#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mission
Implement the public Hackmode destination for the authorized ZeroForge migration tracked by #190 and private source authorization
lost-rob0t/zero-forge#147.This epic is specifically about preserving and expanding ZeroForge's useful security-artifact generation capabilities inside Hackmode as symbolic-first expert machinery.
Capability goal
Hackmode should be able to take an authorized operation objective plus normalized vulnerability/evidence context and produce validated security artifacts through Hackpert + Prolog-RLM.
Initial artifact families:
The public implementation may extend to additional artifact families later through the same typed registry/IR.
Architecture
Symbolic-first design
The useful ZeroForge behavior should not simply move from Python prompts into Common Lisp prompts.
Represent as much as practical as inspectable symbolic data/rules:
Generative fallback may fill implementation details when symbolic knowledge cannot fully synthesize an artifact, but the result remains a typed candidate and never bypasses validation.
Track A — typed Artifact IR
Define a common artifact-generation IR containing at minimum:
Artifact-family-specific schemas may extend this core.
Track B — Metasploit
Public Hackmode path should support:
Track C — ZAP
Support separate active and passive families.
Active
Passive
Track D — native Hackmode exploit modules
Add a native Hackmode module format that can be invoked through the canonical provider/capability path rather than requiring Metasploit.
A native exploit module should declare:
Hackpert experts select/propose modules; Hackmode remains the execution authority.
Track E — native Hackmode detection modules
Add a parallel native detection format for safe corroboration and defensive/security evidence gathering.
Detection modules should support:
The same vulnerability knowledge should be able to produce both an exploit-oriented artifact and a detection-oriented artifact when appropriate.
Track F — validator + repair experts
Validation is first-class evidence, not a boolean hidden in a generator.
For each artifact family:
Failed validation should produce structured facts usable by repair experts.
Prefer deterministic repair rules for known failure classes. Use model/RLM generation only as explicit bounded fallback.
Track G — public provenance / ZeroForge lineage
Each migrated artifact family should document that its architecture descends from the authorized ZeroForge symbolic port without requiring the private repo at runtime.
Public provenance may identify the migration program and relevant public issue IDs, but must not leak private source lines, credentials, targets, or unrelated private data.
Relationship to BBP + CTF
The artifact subsystem is shared infrastructure for both planned workflows:
BBP and CTF policy/scope remain distinct even though they share artifact machinery.
Acceptance
Related
lost-rob0t/prolog-rlm#389— cyber harnesslost-rob0t/prolog-rlm#390— semantic-port pipelinelost-rob0t/zero-forge#147— private-source migration authorizationFirst slice
Define the public Artifact IR + registry and port one ZeroForge-derived artifact contract into a deterministic synthetic fixture. Prefer the Metasploit family first because it exercises generation, validation, repair evidence and downstream execution-admission boundaries without requiring a second runtime.