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.

fix(examples): pin the GitHub Actions example to SHAs and a BLA version

DeryFerdabc9010a3970
diff --git a/examples/github-actions-defend.yml b/examples/github-actions-defend.yml
index 13aa4e5..1a13dd5 100644
--- a/examples/github-actions-defend.yml
+++ b/examples/github-actions-defend.yml
@@ -3,12 +3,17 @@ name: Harden Build with BLA Blue Shield
on:
workflow_dispatch:
+env:
+ # Pinned to the BLA release you audited. Bump together with package.json.
+ # Never use the mutable `latest` tag in a release pipeline.
+ BLA_VERSION: "2.1.0"
+
jobs:
harden:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
- - run: npx -y bla-agents@latest defend ./dist -o ./dist-shielded --manifest
+ - run: npx -y "bla-agents@${BLA_VERSION}" defend ./dist -o ./dist-shielded --manifest
\ No newline at end of file