Skip to content

armgit / bla

Public Imported from GitHub
0

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.

docs(shields): document SPIR-V/CUDA fatbinary/AMD GPU object skip

qybaihe474fcbf2a509
diff --git a/src/shields/formats/gpu-ptx.ts b/src/shields/formats/gpu-ptx.ts
index 158707b..366ed4a 100644
--- a/src/shields/formats/gpu-ptx.ts
+++ b/src/shields/formats/gpu-ptx.ts
@@ -89,3 +89,12 @@ export function protectGpuPtxText(
*/
export const FIRMWARE_HARDENING_SKIP_REASON =
"Firmware images are skipped: safe generic mutation would break boot signatures, CRCs, or vendor headers. No BLA firmware shield is offered.";
+
+/**
+ * SPIR-V modules, CUDA fatbinaries, and AMD GPU code objects are skipped:
+ * their containers carry structural hashes / embedded ELF slices where a
+ * generic trailer would break loader validation. PTX text remains the only
+ * safely append-only GPU surface BLA hardens.
+ */
+export const GPU_OBJECT_HARDENING_SKIP_REASON =
+ "SPIR-V / CUDA fatbinary / AMD GPU objects are skipped: brittle structural hashes and embedded ELF slices make generic mutation unsafe. Only PTX text is hardened.";