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

@itrocks/reflect-path

Latest version: v0.3.3

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: baptistepillot
0 Stars
0 Forks
6 Versions
625 Downloads
TypeScript Repo language

Scan summary

@itrocks/reflect-path was last scanned on 29 Nov 2026 at version 0.3.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 0.3.3.
  • Downloads: 625 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.3 LATEST 29 Nov 2026 No rules fired
0.3.2 16 Oct 2026 No rules fired
0.2.6 14 Oct 2026 No rules fired
0.2.5 14 Oct 2026 Not shown
0.2.4 19 Aug 2026 Not shown

No rules fired in 0.3.3

Findings

Findings for v0.3.3. 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 0.3.3; other versions have their own rules, not their own score.

README

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

npm version npm downloads GitHub issues discord

reflect-path

Reflect typed property paths from class metadata.

Requires Node.js 24 or later and the readable declaration/source files used by @itrocks/reflect. Complete reflection composition before resolving paths.

Installation

npm i @itrocks/reflect-path

Resolve metadata

import { resolvePropertyPath } from '@itrocks/reflect-path'
import { Invoice }             from './invoice'

const resolved = resolvePropertyPath(Invoice, 'customer.address.city.name')
// Equivalent input: ['customer', 'address', 'city', 'name']
console.log(resolved.path)                     // customer.address.city.name
console.log(resolved.property.class.type.name) // City
console.log(resolved.property.name)            // name
console.log(resolved.targetMultiplicity)       // one, many or unknown

resolvePropertyPath(rootType, path) accepts a class or existing ReflectClass and a nonempty string/segment path. It validates every segment using property metadata, without constructing records or reading domain values/getters. The descriptor contains the canonical path, ordered reflected segments, final property, rootClass, optional ancestor paths, relational target when known and accumulated targetMultiplicity. Descriptor containers are frozen. Native Date values are terminal scalars, including optional/nullable dates; their final multiplicity is one. Date collections retain many multiplicity without a domain target. Native Date methods are excluded from typed paths, and runtime traversal rejects with PropertyPathError. Collections traverse their logical element type; inverse and N-N declarations remain available on each segment. A finite path can revisit a class. Path resolution does not choose automatic search-cycle rules.

PropertyPathError provides code, canonical path and failing prefix at. Codes are invalid-path, terminal-traversal, unknown-target and ambiguous-type. Empty root paths are invalid; providers handle root context. Unresolved final metadata retains an unknown target; traversal through it rejects. Multi-target or mixed object unions reject even as a final segment. (Customer | null)[] currently has an unknown element target in property-type, so complex.name rejects explicitly while complex retains known many multiplicity.

Reflect a final property

new ReflectPropertyPath(root, path) accepts a class, object or ReflectClass and remains a ReflectProperty. Its class, name, type, defaultValue and collectionType describe the final metadata owner. rootClass keeps the root context; path is a copied, frozen segment array.

Construction and metadata access read no domain values. Explicit object, class.object or value access resolves and remembers the final singular owner on first access. Missing parents return undefined; collection traversal has no singular value owner and never chooses an element. Declared metadata determines the property class independently of the concrete record. Use the descriptor's multiplicity before consuming a path as a scalar value.

Path types and checks

The public types PropertyPath, PropertyPathArray, PropertyPathString, LastKey, LastValue, SecondToLastKey and SecondToLastObject describe string/readonly tuple paths and their final owner/value. Array and record paths address element properties. Recursive type expansion widens the suffix when a context type repeats, leaving complete validation to resolvePropertyPath; arbitrary runtime strings are accepted by that function. Numeric/symbol keys, array indices, expression syntax and property names containing dots are unsupported.

Read the public contract and runtime examples. Build and run the owner checks from its repository, using the already installed tools:

npm run build
npm run build:test
node --test --test-isolation=none "$PWD/test/property-select.test.mjs"

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 @itrocks/reflect-path

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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?

Frame 2085668439 (1)
Group 1261154229