npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

meshcore-hashtag-cracker

v1.6.0

Published

MeshCore hashtag GroupText packet brute-forcer with WebGPU acceleration and dictionary attacks

Readme

NPM Version

MeshCore GroupText Hashtag Room Cracker

Standalone library for cracking MeshCore GroupText packets from hashtag rooms using WebGPU-accelerated brute force (with fallbacks for our non-GPU brethren and dictionary attack support).

Note: This tool is designed exclusively for cracking public hashtag rooms (e.g., #general, #test). It does not support private rooms or other MeshCore encryption schemes (or, rather, it will attempt to crack them, but nearly certainly fail)

This is an LLM-developed library and has borne out its correctness in various application uses, but caution should still be applied in any mission-critical contexts.

Features

  • WebGPU-accelerated brute force (100M+ keys/second on modern GPUs)
  • Dictionary attack support with built-in English wordlist (370k words)
  • Configurable filters (sender, UTF-8, timestamp) to handle MAC collisions with sanity checks
  • Progress callbacks with ETA
  • Resume support for interrupted searches

Installation

npm

npm install meshcore-hashtag-cracker

Browser (Direct Include)

For direct browser usage without a bundler, download browser/meshcore_cracker.min.js and include it:

<script src="meshcore_cracker.min.js"></script>
<script>
  const cracker = new MeshCoreCracker.GroupTextCracker();

  // Optional: load a wordlist for dictionary attack (tried before GPU brute force)
  // await cracker.loadWordlist('https://example.com/words.txt');

  cracker.crack('150013752F15A1BF3C018EB1FC4F26B5FAEB417BB0F1AE8FF07655484EBAA05CB9A927D689', {
    maxLength: 4
  }).then(result => {
    if (result.found) {
      console.log('Room:', result.roomName);
      console.log('Message:', result.decryptedMessage);
    }
    cracker.destroy();
  });
</script>

Usage

import { GroupTextCracker } from 'meshcore-hashtag-cracker';
// Built-in 370k word English dictionary (tree-shakeable, ~4MB)
// Dictionary is checked BEFORE GPU brute force - a room like #football
// takes hours to brute force but milliseconds via dictionary lookup
import { ENGLISH_WORDLIST } from 'meshcore-hashtag-cracker/wordlist';

const cracker = new GroupTextCracker();
cracker.setWordlist(ENGLISH_WORDLIST);

// Example GroupText packet (hex string, no spaces or 0x prefix)
const packetHex = '150013752F15A1BF3C018EB1FC4F26B5FAEB417BB0F1AE8FF07655484EBAA05CB9A927D689';

const result = await cracker.crack(packetHex, {
  maxLength: 6,
});

if (result.found) {
  console.log(`Room: #${result.roomName}`);
  console.log(`Key: ${result.key}`);
  console.log(`Message: ${result.decryptedMessage}`);
}

cracker.destroy();

Output:

Room: #aa
Key: e147f36926b7b509af9b41b65304dc30
Message: SenderName: Hello world!

Note: When a sender is detected in the message, decryptedMessage includes the full "sender: message" format.

Options

const result = await cracker.crack(packetHex, {
  maxLength: 8,           // Max room name length to try (default: 8)
  startingLength: 1,      // Min room name length to try (default: 1)
  useDictionary: true,    // Try dictionary words first (default: true); needs cracker.setWordlist() called first
  useSenderFilter: true,  // Reject messages without sender (default: true)
  useUtf8Filter: true,    // Reject invalid UTF-8 (default: true)
  useTimestampFilter: true, // Reject old timestamps (default: true)
  validSeconds: 2592000,  // Timestamp window in seconds (default: 30 days)
  forceCpu: false,        // Force CPU mode, skip GPU (default: false)
  startFrom: 'abc',       // Resume after this position (optional)
  startFromType: 'bruteforce', // 'dictionary' or 'bruteforce' (default: 'bruteforce')
});

For detailed API documentation, see API.md.

Browser Requirements

  • WebGPU support (Chrome 113+, Edge 113+, or other Chromium-based browsers)
  • HTTPS connection for non-localhost hostnames (falls back gracefully with an error if WebGPU is not available)

Performance

Typical performance on modern hardware:

  • GPU (RTX 3080): ~500M keys/second
  • GPU (integrated): ~50M keys/second

Search space by room name length: | Length | Candidates | Time @ 100M/s | |--------|------------|---------------| | 1 | 36 | instant | | 2 | 1,296 | instant | | 3 | 47,952 | instant | | 4 | 1,774,224 | <1s | | 5 | 65,646,288 | <1s | | 6 | 2,428,912,656 | ~24s | | 7 | 89,869,768,272 | ~15min | | 8 | 3,325,181,426,064 | ~9h |

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Run tests in watch mode
npm run test:watch

License

MIT

This library uses town and placenames in the word list sourced from https://simplemaps.com/data/us-cities, used under CC BY 4.0.

This library also uses airport codes sourced from https://en.wikipedia.org/wiki/List_of_airports_in_the_United_States.