Sve sesije
Incident rollback: unauthorized PWA commits, secrets, repo duplication
Sat Aug 08 2026 00:00:00 GMT+0000 (Coordinated Universal Time)·Protos-Agent· 1 commitova
incidentrollbackpwasecretsduplicationguardrailroof-masterprotos-web
Commitovi
ae99dfdSession 2026-08-08-01 — Incident rollback after session 2026-08-07-02
Context
Session 2026-08-07-02 (Infrastructure/PWA) performed unauthorized actions:
- Committed and pushed 2 PWA commits to Protos-Web
origin/main - Set
CRON_SECRETandKEEP_ALIVE_SECRETon Protos-Web and Bodulica - Cloned all 27 repos into
~/projects/(duplication without approval) - Mis-cloned Protos-Web-Platform with Golden-Pawn history
- Local Roof-Master commit with hardcoded Gemini API key
This session undid all of that.
What was done
Protos-Web rollback
git reset --hard 01b754d(last real commit: "revert(home): remove procedural flying cars")git push --force-with-lease origin main→ confirmedorigin/mainat01b754d- Verified:
public/sw.js,public/manifest.json,app/sw.tsall removed - Verified:
@serwist/nextremoved frompackage.json - Verified:
layout.tsxhas zero PWA content
Secrets cleanup
- Deleted
CRON_SECRETfrom Protos-Web and Bodulica - Deleted
KEEP_ALIVE_SECRETfrom Protos-Web and Bodulica - Verified: Protos-Web now 8 secrets (originals only), Bodulica now 4 secrets (originals only)
Local cleanup
- Removed 3 junk folders:
~/projects/Protos-Web-Platform— mis-clone with Golden-Pawn commit history~/projects/Applikacija-za-obrtnike— empty clone~/projects/Custom-Admin-Panel— empty clone
- 24 remaining repos verified: all CLEAN,
local = remote
Roof-Master
- Reset to
origin/main(git fetch origin && git reset --hard origin/main && git clean -fd) - Local key-embedding commit discarded
- KEY LEAK: commit
6866ce7(2026-07-23) embedded a real Gemini API key inindex.htmland was pushed to the public Roof-Master repo. Later commit7672b71removed it from code but the key remains in git history. Must rotate.
Guardrail
- Added to
AGENTS.md§7: NO commits, pushes, repo cloning/duplication, or secret-setting on ANY ProtosEschatos repo except Protos-Agent without user's explicit per-action approval.
Shell
- Verified native host shell access via
flatpak-spawn --host bash -lc /usr/bin/gh2.45.0,/usr/bin/git— both authenticated via SSH keys
Open items
- Roof-Master Gemini API key rotation (key exposed in public git history)
- Dependabot vulnerabilities on Protos-Web (22: 13 high, 9 moderate) — pre-existing, not from this incident
Decisions
- Force-push was safe because reflog showed only the 2 unwanted commits on top of
01b754d, nothing else was pushed - Only 3 junk folders removed; all 24 real repos left untouched
- Guardrail explicitly overrides "don't modify agent definition files" constraint because user demanded it