[EPIC][module-framework] Native Hackmode security module framework with Metasploit-inspired concepts #197
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#197
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
Build a native Hackmode module framework that captures the useful operator and architecture concepts people expect from Metasploit-style frameworks while remaining idiomatic to Hackmode's Common Lisp + StarLang + Tek9 + Hackpert architecture.
This is not a port of Metasploit internals and does not make Metasploit the source of truth. The goal is conceptual parity where useful:
Hackmode remains authoritative for operation scope, capabilities/providers, effects, canonical state, evidence, and policy.
Architectural placement
Do not create a second execution engine, second operation database, second capability registry, or second authority plane.
Metasploit-inspired concept mapping
The framework should provide native equivalents for concepts such as:
These are conceptual mappings, not requirements to preserve Ruby APIs, file layout, command syntax, or unrestricted payload semantics.
Required child tracks
Create/maintain separate implementation epics for:
Module families
Initial registry should support extensible categories rather than hard-coded dispatch logic. Families may include:
The family affects metadata, validation and policy expectations but does not itself grant capability authority.
Core invariants
passive|activeauthority;Relationship to existing issues
lost-rob0t/prolog-rlm#389— generic reasoning harness consumed by Hackmode; it does not own this module framework.Acceptance
Non-goals
First slice
Implement the smallest deterministic native module fixture proving: register -> search/info -> instantiate -> validate options -> execute one read-only capability through the canonical provider path -> persist typed evidence -> inspect from LISH/test surface.
Child epic index
The native framework queue is now split so workers can execute in parallel without collapsing the architecture into one issue:
search/use/info/options/run/jobs/sessions)Existing #191 remains the artifact-generation track. It can generate native Hackmode modules that target this framework; #192-#198 own the runtime/operator framework itself.
Related execution/reasoning authorities remain #24/#27/#28/#29 and
lost-rob0t/prolog-rlm#389; none of these child epics should create a parallel authority plane.