Add fleet-watcher: runtime prompt-injection + wallet-hijack preflight#388
Open
fleet-watcher wants to merge 6 commits into
Open
Add fleet-watcher: runtime prompt-injection + wallet-hijack preflight#388fleet-watcher wants to merge 6 commits into
fleet-watcher wants to merge 6 commits into
Conversation
…ermit detector, drop overstated cache-replay claim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds fleet-watcher, a runtime preflight skill that inspects every proposed Bankr wallet action (transfer / approve / swap / withdraw) before it reaches
api.bankr.bot. Complements the existingaeon-skill-security-scan(static scan of installed skills) by catching threats that only appear at execution time — when a clean skill obeys an injection that came from an untrusted source.Why
Static scanning cannot catch the clean-skill + tainted-source chain: tweet/RSS/DM contains an instruction → trusted skill obeys it → wallet drains. fleet-watcher closes that gap by running every wallet action through a pattern bank that includes Bankr-specific guards built directly from Bankr's public security docs (fake domains, control-bypass language, pause-then-drain,
bk_leakage in untrusted content).What it blocks (see SKILL.md for the full table)
bk_keys inside fetched contenttransferEvery BLOCK comes with a remediation line that follows Bankr's own incident-response order: Pause → Revoke → Rotate → Audit → Unpause.
Integration surfaces
@fleet/bankr-guardnpm package —wrapBankrFetch(fetch)drop-in, fail-closed by default. Two-line agent change.POST https://fleet-watcher.replit.app/api/bankr-guard/inspect, no API key, 60 req/min/IP.Both surfaces are MIT licensed. Source: https://github.com/fleet-watcher/fleet-watcher
Security properties
bk_key — only the proposed action and prompt context.reasonfield (no payload reflection / secret leak-back).clientOpId.\u0069gnorestyle evasion).Testing
Reproducible attack/clean fixtures and a regression harness ship with the upstream repo. Six representative scenarios (clean baseline, prompt injection, unicode evasion, nested-JSON evasion, cache-poisoning, secret-leakage in attack payload) all pass.
Recommended pairing
aeon-skill-security-scan— catches the malicious skill before installfleet-watcher— catches the malicious action even when every installed skill is cleanHappy to iterate on naming, scope, or pattern coverage based on Bankr team feedback.