Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@aphexcms/plugin-redirects

Latest version: v1.0.0-next.20261128083747

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: rainbowasian96
277 Stars
12 Forks
3 Versions
TypeScript Repo language

Scan summary

@aphexcms/plugin-redirects was last scanned on 28 Nov 2026 at version 1.0.0-next.20261128083747. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 28 Nov 2026.
  • Findings: No rules fired in version 1.0.0-next.20261128083747.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.0-next.20261128083747 LATEST 28 Nov 2026 No rules fired
0.1.0 28 Nov 2026 No rules fired
0.0.0-stage 28 Nov 2026 Not shown

No rules fired in 1.0.0-next.20261128083747

Findings

Findings for v1.0.0-next.20261128083747. 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.

The score describes 1.0.0-next.20261128083747; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@aphexcms/plugin-redirects

Old addresses keep working. When a published page or post changes its address, the old one redirects to the new one by itself, and so does everything under a section (a blog) that moves. A Redirects screen lists them all, with how often each is used, and takes your own for a site you're moving from. The site's AI can list, add and remove them too.

Everything is kept in Aphex's plugin storage: no tables, no migration, and each organization's redirects are its own.

Use

import { redirectsPlugin } from '@aphexcms/plugin-redirects';

redirectsPlugin({
    // Where each type's published documents are served. Types not listed get no
    // automatic redirects.
    addresses: {
        page: (doc) => (doc.slug === 'home' ? '/' : `/${doc.slug}`),
        post: (doc, { sections }) => `${sections.blog}/${doc.slug}`
    },
    // An address prefix a document owns: here a blog whose address is a setting.
    sections: {
        blog: { type: 'siteSettings', path: (doc) => `/${doc.blogPath || 'blog'}`, initial: '/blog' }
    }
});

Following a redirect is the site's: when a path finds nothing, ask for one and send the visitor on with a 301.

import { findRedirect, normalizePath } from '@aphexcms/plugin-redirects';

const path = normalizePath(url.pathname);
const target = path && (await findRedirect(cms.databaseAdapter, organizationId, path));
if (target) redirect(301, target);

Ask only for a 404, so a live page always wins and normal pages cost nothing. A lookup is a handful of index reads however many redirects there are.

What it adds

  • a consumer of document.published that records address changes
  • the Redirects admin screen (placement: 'sidebar'; pass group to place it)
  • GET, POST and DELETE /api/redirects (read: document.read, change: document.update)
  • the agent tools list_redirects, add_redirect and remove_redirect

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @aphexcms/plugin-redirects

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229