feat(ghidra): enable Windows x64 read-only analysis (#699)
* feat(ghidra): enable Windows x64 read-only analysis * test(ghidra): exercise native Windows runtime boundaries * test(ghidra): verify current Windows inventory and isolate ACL observer * fix(ghidra): align Windows admission and address P0 review
This commit is contained in:
@@ -35,7 +35,7 @@ describe("real Windows Ghidra workflow trust boundary", () => {
|
||||
expect.objectContaining({
|
||||
uses: "actions/upload-artifact@v4",
|
||||
with: expect.objectContaining({
|
||||
path: "windows-ghidra-proof.log",
|
||||
path: expect.stringContaining("windows-ghidra-proof.log"),
|
||||
}),
|
||||
}),
|
||||
]),
|
||||
|
||||
@@ -12,6 +12,23 @@ const dependencies = (
|
||||
): WindowsCapabilityDependencies => ({
|
||||
platform: "win32",
|
||||
architecture: "x64",
|
||||
nativeCapabilities: () => ({
|
||||
job_object_process_ownership: {
|
||||
available: false,
|
||||
reason: WINDOWS_NATIVE_AUTHORITY_UNAVAILABLE_REASON,
|
||||
proof: "not-proven",
|
||||
},
|
||||
private_runtime_dacl: {
|
||||
available: false,
|
||||
reason: WINDOWS_NATIVE_AUTHORITY_UNAVAILABLE_REASON,
|
||||
proof: "not-proven",
|
||||
},
|
||||
reparse_safe_path_admission: {
|
||||
available: false,
|
||||
reason: WINDOWS_NATIVE_AUTHORITY_UNAVAILABLE_REASON,
|
||||
proof: "not-proven",
|
||||
},
|
||||
}),
|
||||
probeSymlinkCreation: () =>
|
||||
Promise.resolve({ available: false, reason: "EPERM" }),
|
||||
probeNoFollowOpen: () => ({
|
||||
@@ -39,7 +56,8 @@ describe("Windows host capability report", () => {
|
||||
it("never treats a numeric POSIX flag as Windows reparse authority", () => {
|
||||
expect(systemNoFollowOpenCapability("win32", 0x20_000)).toEqual({
|
||||
available: false,
|
||||
reason: "Windows reparse-safe handle admission is not implemented",
|
||||
reason:
|
||||
"Node pathname O_NOFOLLOW is not Windows handle authority; native admission is reported separately in security.",
|
||||
});
|
||||
expect(systemNoFollowOpenCapability("linux", 0x20_000)).toEqual({
|
||||
available: true,
|
||||
|
||||
Reference in New Issue
Block a user