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

arangoql

v1.0.3

Published

⚠️ PROOF-OF-CONCEPT: A simple ArangoDB client demonstrating 'slopsquatting' risks from LLM hallucinations

Readme

ArangoQL - Proof-of-Concept

⚠️ SECURITY RESEARCH PROJECT ⚠️

GitHub: github.com/groovecoder/arangoql NPM: npmjs.com/package/arangoql

What is this?

This is a proof-of-concept demonstrating "slopsquatting" - a supply chain attack vector where:

  1. An LLM (like ChatGPT, Claude, etc.) hallucinates a package name
  2. A developer trusts the LLM and runs npm install <hallucinated-name>
  3. An attacker has registered that hallucinated name with malicious code
  4. The malicious code runs on the developer's machine

This package is harmless - it only displays a warning message. But it proves that if you installed this by mistake, malicious code could have:

  • Stolen your environment variables (API keys, secrets)
  • Exfiltrated source code
  • Modified your files
  • Installed backdoors

Did you mean arangojs?

If an LLM suggested you install "arangoql" for ArangoDB support, it likely meant the official package: arangojs

To fix this:

npm uninstall arangoql
npm install arangojs

Using this package (for research)

If you intentionally want to use this proof-of-concept:

const ArangoQL = require('arangoql');

const db = new ArangoQL({
  url: 'http://localhost:8529',
  database: '_system',
  username: 'root',
  password: ''
});

// Execute AQL queries
const result = await db.query('FOR doc IN myCollection RETURN doc');

// Work with collections
const users = db.collection('users');
await users.save({ name: 'Alice', age: 30 });
await users.find({ name: 'Alice' });
await users.remove('user-key');

Note: This is a minimal implementation. For production use, use the official arangojs package.

Why does this matter?

The Problem

  • LLMs are increasingly used for coding assistance
  • They sometimes "hallucinate" package names that don't exist
  • Developers often trust and execute LLM suggestions without verification
  • Attackers can register these hallucinated names preemptively

Real-world examples

  • Typosquatting: crossenv instead of cross-env (malicious version downloaded 700k+ times)
  • Dependency confusion attacks on major companies
  • Supply chain compromises through package registries

How to protect yourself

  1. Verify package names - Check npm before installing
  2. Review install scripts - Check package.json for postinstall hooks
  3. Check package stats - Look at download counts, age, and maintainers
  4. Use lock files - Prevent unexpected package resolution
  5. Audit dependencies - Use tools like npm audit and Snyk
  6. Don't blindly trust LLMs - Verify all suggestions

Educational Resources

License

MIT License - This is an educational/research project.

Contributing

Found a way to improve this proof-of-concept? Pull requests welcome!

Visit the repository: github.com/groovecoder/arangoql

Disclaimer

This package is for educational and research purposes only. It contains no malicious code and only displays warning messages. The author is not responsible for misuse of this concept.