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

@juangadm/pre-post

Latest version: v1.6.0

Overview

Last scanned
28 Sep 2026
Published
28 Sep 2026
npm package Publisher: juangadm
1 Stars
0 Forks
7 Versions
673 Downloads
TypeScript Repo language

Scan summary

@juangadm/pre-post was last scanned on 28 Sep 2026 at version 1.6.0. Risk score 40 of 100 (medium). High-severity rules fired.

  • Releases: 7 versions; the latest 4 were published within 3 days (26–28 Sep 2026).
  • Findings: 2 rules fired in version 1.6.0 (2 high). The score describes this version only.
  • Downloads: 673 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.6.0 LATEST 28 Sep 2026 2 rules fired
1.5.0 27 Sep 2026 2 rules fired
1.4.0 27 Sep 2026 2 rules fired
1.3.0 26 Sep 2026 Not shown
1.2.0 6 Sep 2026 Not shown

Rules fired in 1.6.0: 2

Findings

2 High

Findings for v1.6.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.

Secret read next to a detached background process

The same file reads a registry, cloud or CI secret from the environment and starts a detached process that keeps running after the parent exits. The scanner does not check that the secret is passed to that process. A background process that outlives the package does not normally need the package's credentials.

HIGH

Several suspicious behaviors form a known attack pattern

HIGH
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 1.6.0; other versions have their own rules, not their own score.

README

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

pre-post

See the change before you read the diff.

pre-post puts before/after screenshots of every page your branch touched at the top of the pull request. One command finds the changed routes, captures Pre and Post, highlights what moved, and updates the PR description. No setup, no pasting images.

$ npx -y @juangadm/pre-post@latest pr

Routes (nextjs-app, 41ms): /, /pricing
Capturing 4 screenshots (2 route(s) × 1 viewport(s)) ...
  changed  /pricing @ desktop (0.64%, 2036ms)
  same     / @ desktop (0.00%, 2211ms)
Updated PR description: https://github.com/acme/web/pull/42

Get started

Pick one. None of them installs anything permanently.

In Claude Code: install the skill once, then say /pre-post after a UI change.

npx skills add juangadm/pre-post -y

In a terminal: run it on a branch with an open PR.

npx -y @juangadm/pre-post@latest pr

On every PR, automatically: add the GitHub Action. No tokens or secrets needed.

You'll need
  • Node 20+
  • A GitHub token with write access: gh auth login, or set GH_TOKEN
  • An open PR: without one, pre-post prints the markdown for you to paste

The first run downloads a small browser (~80 MB). Stuck? Run npx -y @juangadm/pre-post@latest doctor.

Everyday commands

pre-post pr                              # screenshot this branch's PR
pre-post pr --routes /pricing,/docs      # only these pages
pre-post pr --mobile                     # add mobile to desktop
pre-post pr --before https://acme.com    # set the "before" site (remembered)
pre-post pr --dry-run                    # try it without posting
pre-post login https://staging.acme.com  # sign in once for protected sites
pre-post doctor                          # check your setup

If pre-post needs something from you, it stops with one sentence saying exactly what.

How it decides what "before" is

Post (your branch) is the PR's preview deployment, or a local dev server. Pre is the production site your branch forked from. When nothing is deployed, pre-post builds the base commit itself, so it works in CI and in sandboxes too. It never guesses: if it can't find a trustworthy baseline, it tells you which flag to pass.

Screenshots are stored on a pre-post-assets branch in your own repo, so only people who can see the repo can see them. Nothing is committed to your PR branch.

Learn more

How it works How Pre and Post are chosen, capture, diffing, layout shifts
GitHub Action Run on every PR with no per-person setup
Video: Moments Record interactions (menus, hovers, transitions) as synced Pre | Post clips
Reference All commands, exit codes, .pre-post.json, environment variables
Screenshot storage How much space it uses and how to prune it
Contributing Build and test locally

Credits

Forked from before-and-after by James Clements / Vercel Labs. MIT licensed.

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 @juangadm/pre-post

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229