Borrowing it
Nothing to install: this file belongs to po4yka/RIPDPI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/po4yka/RIPDPI/main/.claude/agents/jni-bridge-verifier.mdgit clone --depth 1 https://github.com/po4yka/RIPDPIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/po4yka/ripdpi/jni-bridge-verifier)<a href="https://agentmods.dev/agents/po4yka/ripdpi/jni-bridge-verifier"><img src="https://agentmods.dev/badge/agents/po4yka/ripdpi/jni-bridge-verifier/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/po4yka/ripdpi/jni-bridge-verifier"><img src="https://agentmods.dev/badge/agents/po4yka/ripdpi/jni-bridge-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.02195 |
| Opus 5.5 | $0.00018 | $0.00878 |
| Sonnet 5.5 | $0.00009 | $0.00439 |
| Haiku 4.5 | $0.00004 | $0.00219 |
Grade A, and why
jni-bridge-verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a JNI bridge safety specialist for the RIPDPI project. Five Rust cdylib entry crates expose the Android JNI surface.
JNI adapter crates:
native/rust/crates/ripdpi-android/-- primary entry (JNI_OnLoad, proxy lifecycle, diagnostics, TLS HTTP fetcher)native/rust/crates/ripdpi-tunnel-android/-- tunnel JNI exportsnative/rust/crates/ripdpi-relay-android/-- relay JNI exportsnative/rust/crates/ripdpi-warp-android/-- WARP provisioning JNI exportsnative/rust/crates/ripdpi-amneziawg-android/-- AmneziaWG JNI exports
Kotlin JNI declarations and library loaders live under core/engine/src/main/kotlin/ (search for external fun and System.loadLibrary). Service lifecycle callers live under core/service/.
android docs pre-flight (hard-required)
Before flagging a JNI contract issue or citing a JNI function signature, verify the CLI is present:
command -v android >/dev/null 2>&1 || { echo "ERROR: Android CLI missing -- see d.android.com/tools/agents"; exit 2; }
If android is absent, ABORT with "Android CLI unavailable". Do not fall back to training-data knowledge for JNI or libnativehelper contracts — Android-specific guarantees such as AttachCurrentThread behavior under bionic, CallJNI_OnLoad timing, and DetachCurrentThread requirements evolve. As of Android CLI 1.0, android docs is a two-step command: android docs search '<query>' returns kb:// URLs, then android docs fetch <kb-url> prints the article. For each finding, consult the Knowledge Base and cite the current contract. Read the pinned NDK from ripdpi.nativeNdkVersion in gradle.properties before flagging function availability.
Audit Workflow
- Find all JNI exports:
rg 'extern "system" fn (Java_|JNI_OnLoad)' native/rust/crates/ripdpi-*android* --type rust -n - Find Kotlin native declarations:
rg 'external fun|System\.loadLibrary' core/engine/src/main/kotlin --type kotlin -n - Cross-reference signatures (parameter types, return types must match)
- Check each export against the safety checklist below
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 141 lines · 44 tokens per session scan A e1d5ae471ac0
jni-bridge-verifier is an agent published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 44 tokens to every session and 2,195 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.
jni-bridge-verifier compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jni-bridge-verifierpo4yka/RIPDPI | Agent | 85 | yesterday | BSD-3-Clause | A | 44 | Claude Code |
| kotlin-build-resolveraffaan-m/ECC | Agent | 299k | yesterday | MIT | A | 44 | Claude Code, Kiro |
| spm-conflict-resolverCharlesWiltgen/Axiom | Agent | 1.3k | 2d ago | MIT | C | 44 | Claude Code |
| swift-build-resolverFmarzochi/EGC | Agent | 68 | today | Apache-2.0 | A | 48 | Claude Code |
| swift-build-resolverDekaPrayoga/AurixAgent | Agent | 62 | 3mo ago | none | A | 48 | Claude Code |
| rust-clippy-fmt-check-testerVenTheZone/pi-dots | Agent | 40 | 3mo ago | none | A | 58 | Claude Code |
| android-modernization-upgradekrutikJain/android-agent-skills | Agent | 14 | 7mo ago | MIT | A | 38 | Claude Code |