Scan your whole stack
From OX Research Newsroom
Latest version: v1.0.0
iShortn was last scanned on 27 Nov 2026 at version 1.0.0. Risk score 1 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 27 Nov 2026 | 1 rule fired |
Findings for v1.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
A file matches the output style of a JavaScript obfuscator, such as many identifiers named _0x followed by hex digits or an indexed string-array lookup. Some commercial packages obfuscate their code legitimately; obfuscation also hides what code does. On its own this is not evidence of malicious behavior.
LOWThe score describes 1.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Self-hosting at a glance
- Runs as one Cloudflare Worker and needs the Workers Paid plan (KV, Hyperdrive, Queues and a raised CPU limit).
- Needs a MySQL 8 database Cloudflare can reach, and a Clerk application for sign-in.
- There is no Docker image (
compose.yamlis only for local development); you deploy from a clone withbun run deploy.Full steps: self-hosting guide.
iShortn is an open-source URL shortener and link intelligence platform. It turns long URLs into short, branded links and gives you deep insight into every click — country, city, device, referrer, and hour-by-hour trends — without shipping third-party cookies or chasing visitors across the web.
Use it for marketing campaigns, product onboarding, event tracking, newsletter links, QR codes on printed material, or as a self-hosted alternative to proprietary shorteners.
Manage all your links, filter by status and tags, and see click counts at a glance.
Per-link analytics with click volume over time, unique visitor counts, and geography and device breakdowns.
mise install picks both up from mise.toml)git clone https://github.com/AmoabaKelvin/ishortn.ink.git
cd ishortn.ink
bun install
bun run setup # .env + secrets, MySQL via compose, schema, sample data
bun dev
bun run setup is idempotent: it creates .env from .env.example, generates the secrets the app
needs (IP_HASH_SECRET, VERIFIED_CLICKS_SECRET, CRON_SECRET, a local WEBHOOK_SECRET), asks
for your Clerk keys if they are still placeholders, starts compose.yaml, pushes the Drizzle schema
and seeds a dev user with links, folders, tags and two weeks of click analytics. bun run d runs
setup and the dev server in one go.
Then open http://localhost:3000 and sign in. Clerk development instances
have test mode on: any name+clerk_test@example.com address works with the verification code
424242, so no email is sent (if your instance verifies by link instead, switch it to Email
verification code under User & Authentication → Email). The first authenticated request
creates your user row; run bun run seed --email you+clerk_test@example.com afterwards to attach
the sample data to that account. Short links resolve straight away, for example
http://localhost:3000/seed-docs.
Everything else is optional and documented per feature in .env.example:
billing (Lemon Squeezy), email (Resend), custom domains (Cloudflare for SaaS), AI, analytics.
Both inbound webhooks can be replayed against the running dev server with a signed fixture:
bun run webhook clerk user.created # svix-signed with WEBHOOK_SECRET
bun run webhook lemonsqueezy subscription_created # HMAC-signed with LEMONSQUEEZY_WEBHOOK_SECRET
bun run webhook lemonsqueezy subscription_cancelled --user user_xxx
Fixtures live in scripts/dev/fixtures/. For real deliveries from a provider dashboard, expose the
dev server with bun run tunnel (needs cloudflared,
no account required) and paste the printed URL plus /api/webhooks/clerk or
/api/webhooks/lemonsqueezy into the provider, using the provider's signing secret in .env.
In production a Worker (custom-worker.ts) calls the /api/cron/* routes on a schedule and feeds
click batches to /api/queue/clicks. Locally, trigger a cron the same way the Worker does:
bun run cron cleanup-expired # or any route in CRON_ROUTES, such as entitlements
Under bun dev clicks are written inline instead of queued, so analytics update immediately.
bun run preview builds the OpenNext bundle and runs it in workerd with the queue and KV
emulated, for checking Worker-specific behaviour before deploying.
Uploads go to Cloudflare R2. Locally you can run MinIO as a stand-in:
docker compose --profile storage up -d
then uncomment the R2_* block in .env.example into your .env. bun run setup starts MinIO
automatically once R2_ENDPOINT is set.
bun run email:dev opens the React Email preview for src/emails on port 3001. Sending needs
RESEND_API_KEY; without it sends are skipped and logged.
To run your own instance on Cloudflare Workers with MySQL and Clerk, follow the
self-hosting guide. It starts from
wrangler.example.jsonc; the committed wrangler.jsonc holds the
hosted service's resource IDs.
| Command | Purpose |
|---|---|
bun run setup |
Bootstrap: .env, secrets, compose stack, schema, seed (idempotent) |
bun dev |
Start the Next.js dev server with Turbopack |
bun run d |
setup then dev |
bun run seed [--email x \| --user id] |
Seed sample links and analytics for a user |
bun run webhook <provider> <event> |
Replay a signed webhook fixture against the dev server |
bun run cron <name> |
Trigger a cron route with the CRON_SECRET bearer |
bun run tunnel |
Expose port 3000 through a Cloudflare quick tunnel |
bun run email:dev |
Preview email templates |
bun run preview |
Build with OpenNext and run under workerd (queues, KV, crons) |
bun run stack:down / stack:reset |
Stop the compose stack / stop and delete its volumes |
bun run db:push |
Push schema.ts to the database (what setup uses locally) |
bun run db:generate |
Generate a SQL migration for production |
bun run db:migrate |
Apply migrations to a deployed database |
bun run db:baseline |
Record drizzle/ as applied on a new self-hosted database |
bun run db:studio |
Open Drizzle Studio |
bun test |
Run the unit tests |
bun run typecheck |
tsc --noEmit |
bun run lint |
oxlint (with the anti-slop rules) |
bun run format / format:check |
oxfmt |
bun run build / deploy |
Production build / OpenNext deploy to Cloudflare |
See CONTRIBUTING.md for the development workflow, conventions and how to submit a pull request.
Released under the MIT License.
What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe saw no tools; the server requires authentication.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.