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(bundler): add Vite/Rollup/Webpack/esbuild and GitHub Actions defense guide

qybaihe8a8d3f181b43
diff --git a/docs/bundler-and-ci-integration.md b/docs/bundler-and-ci-integration.md
new file mode 100644
index 0000000..d164336
--- /dev/null
+++ b/docs/bundler-and-ci-integration.md
@@ -0,0 +1,26 @@
+# Bundler & CI/CD One-Click Defense Integration
+
+## 1. Vite / Rollup / Webpack / esbuild Integration
+
+```ts
+import { defineConfig } from "vite";
+import { blaVitePlugin } from "bla-agents/bundler";
+
+export default defineConfig({
+ plugins: [
+ blaVitePlugin({
+ intensity: "bankrupt",
+ enableHoneySourceMaps: true,
+ }),
+ ],
+});
+```
+
+## 2. GitHub Actions Post-Build Hardening
+
+Add a single step after `npm run build` in your release workflow:
+
+```yaml
+- name: Harden release build against REA (One-Click BLA Blue Shield)
+ run: npx -y bla-agents@latest defend ./dist -o ./dist-shielded --manifest
+```