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

@nathapp/nestjs-iam-oauth

Latest version: v1.6.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: skywills87
10 Versions
991 Downloads

Scan summary

@nathapp/nestjs-iam-oauth was last scanned on 28 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 2 were published within 7 days (22–28 Nov 2026).
  • Findings: No rules fired in version 1.6.0.
  • Downloads: 991 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.6.0 LATEST 28 Nov 2026 No rules fired
1.5.0 22 Nov 2026 No rules fired
1.4.0 19 Nov 2026 No rules fired
1.3.3 18 Nov 2026 Not shown
1.3.2 16 Nov 2026 Not shown

No rules fired in 1.6.0

Findings

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.

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.

@nathapp/nestjs-iam-oauth

Bridges @nathapp/nestjs-iam users and sessions into @nathapp/nestjs-oauth.

IamOAuthModule.register(); // global by default

It provides:

Token Default Purpose
RESOURCE_OWNER_SERVICE DefaultIamResourceOwnerService Claims and isActive for the OAuth grants and UserInfo.
SESSION_TERMINATOR DefaultIamSessionTerminator Ends IAM sessions on OIDC logout.
CURRENT_USER_RESOLVER DefaultIamCurrentUserResolver Resolves the signed-in user at /oauth/authorize.
USER_DEACTIVATION_HOOK DefaultIamOAuthUserDeactivationHook Revokes OAuth tokens when IAM suspends or deletes a user.

registerAsync({ services: { ... } }) replaces any of them.

Tenant isolation

DefaultIamCurrentUserResolver returns no user when the session's tenant differs from the request tenant, so a session signed in at tenant A cannot authorize at tenant B's issuer. When no request tenant is resolved (no tenant context wired, or no tenant on the request), the session resolves as before.

Deactivated users

  • DefaultIamResourceOwnerService.isActive returns true only for an IAM user with status ACTIVE. An unknown user, any other status, or a bridge without USER_SERVICE fails closed. The authorization-code, refresh-token and device-code grants and UserInfo refuse an inactive user.
  • DefaultIamOAuthUserDeactivationHook calls OAuthUserTokenRevoker.revokeAllForUser(userId) inside the IAM suspend/delete transaction. With the Prisma repositories the revocation commits or rolls back with the status change; a revoker error fails the suspend/delete.
Wiring notes
  • With IamOAuthModule.register({ global: false }), IamModule cannot see the hook and suspend/delete skip OAuth revocation. Provide USER_DEACTIVATION_HOOK in a module IamModule resolves it from. The isActive check on the grants and UserInfo still applies.
  • OAuthUserTokenRevoker (from @nathapp/nestjs-oauth) must be resolvable. The hook requires it on purpose, so a missing revoker fails at boot instead of silently skipping revocation.
  • A token repository without the optional revokeByUser method is skipped with a warning. @nathapp/nestjs-oauth-prisma implements it.

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 @nathapp/nestjs-iam-oauth

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229