Zero-injection, read-only Android ART heap inspector. Query live objects from TypeScript without Frida or Xposed: no agent is loaded into the target process, nothing is patched, and the only thing the device sees is a short-lived NDJSON request.
- Node.js >= 18
- A rooted
arm64-v8aAndroid device withsu -cavailable adbonPATH(the CLI pushes the bundled native binary to/data/local/tmp/.artseek/)
npm install artseek
import { createArtseekClient } from 'artseek'; const heap = createArtseekClient({ pkg: 'com.example.app' }); // View layer const [title, meta] = await Promise.all([ heap.currentActivity.mTitle, heap.view({ text: 'Submit' }).$viewMeta(), ]); // Heap layer: every live instance of a class (dot name, JNI descriptor, or `*` glob) const sessions = await heap.scan({ type: '*Session', limit: 32 }); const drafts = await heap.scan({ type: '*OrderModel', includeSubclasses: true }) .$where({ status: 'draft' }) .$select({ id: 'orderId', total: 'priceInfo.total' }); // String layer: the flag a UI only validates after the fact, and who holds it const { hits } = await heap.strsearch({ needle: 'flag{' }); const owners = await heap.object(hits[0].addr).$whoRefs(); await heap.close();
npx artseek ping --pkg com.example.app npx artseek roots --serial <serial> npx artseek instances '*Session' --pkg com.example.app --pretty npx artseek strsearch 'sessionToken' --pkg com.example.app --preview npx artseek query '{"root":{"kind":"scan","type":"*Session"},"steps":[{"op":"ref"}],"collection":true}' \ --pkg com.example.app
Full CLI reference: docs/cli.md. Query grammar: protocol.md.
- No code injection, no hooking, no
ptraceattach to the target process - No writes to app memory or files; memory is read via
process_vm_readv(with lazy/proc/<pid>/memfallback) - No cloud service, no telemetry: the SDK talks to your device and nothing else
MIT