Skip to content
std-microblockPublic

About

Zero-injection, read-only Android ART heap inspector. Query live objects and from TypeScript without Frida or Xposed.

Topics

Resources

Stars

80 stars

Watchers

1 watching

Forks

Repository files navigation

artseek

artseek

CI License Android arm64-v8a

Zero-injection, read-only Android ART heap inspector. Query live objects from TypeScript without Frida or Xposed.

中文

Install

npm install artseek

Usage

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();

CLI

npx artseek instances '*Session' --pkg com.example.app --pretty
npx artseek query '{"root":{"kind":"scan","type":"*Session"},"steps":[{"op":"ref"}],"collection":true}' --pkg com.example.app

see docs/cli.md.

About

Zero-injection, read-only Android ART heap inspector. Query live objects and from TypeScript without Frida or Xposed.

Topics

Resources

Stars

80 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages