剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 安全软件 react2shell-scanner - Securi…
安全软件
作者:admin 发布:2026-10-05

react2shell-scanner - Security scanner for CVE-2025-55182 - Critical RCE

项目说明react2shell-guardSecurity scanner for C - a critical (CVSS 10.0) unauthenticated Remote Code Execution in React Ser.> ⚠️ DISCLAIMER>> Thi…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
515浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-05
人工审核发布
评论区答疑

项目说明

react2shell-guard

Security scanner for C - a critical (CVSS 10.0) unauthenticated Remote Code Execution in React Ser.

> ⚠️ DISCLAIMER
>
> This is a security scanner, NOT an exploit tool. It is designed to help de and security teams identify dependencies in their projects.
>
> This is a community-driven open source project provided "AS IS" without warranty of any kind, express or implied. The authors and contributors are not responsible for any damages or security incidents arising from the use of this tool.
>
> Use at your own risk and responsibility. Always findings manually and follow your organization's security policies. If you discover any issues, bugs, or ha, please contribute back to help improve the project for e.

> 🤝 CONTRIBUTORS WANTED
>
> This project is actively looking for testers and contributors! Whether you want to report bugs, suggest features, impro, or submit code - all contributions are welcome. Check out our Contributing Guide to get started.

Acknowledgments

This project exists to help the community respond to C. We acknowledge and thank:

  • Lachlan Da (react2shell.com) - For disco and responsibly disclosing the React Ser (C) on No 29th, 2025. The security community owes him gratitude for his diligence in identifying this critical flaw and working with the React and Next.js teams to ensure patches were a. His efforts ha protect countless applications and users worldwide. See his original PoC for technical details.
  • Quick Start

    1. Instant Scan (No Installation)

    The fastest way to check if your project is :

    That's it! This will scan your current directory and show results immediately.

    2. Scan a Specific Project

    3. Auto-Fix

    Found ? Fix them automatically:

    4. Scan Live URLs

    Check if a deployed application is :

    5. Patch Was Applied

    Confirm your deployed fix is working:

    6. Scan Container Images

    Check if your Docker images contain packages:

    7. Create Fix PR (GitHub)

    Automatically create a GitHub PR to fix :

    ---

    What is C?

    On No 29th, 2025, security researcher Lachlan Da discovered and responsibly disclosed a critical in React Ser. The flaw exists in how React decodes payloads sent to React Ser endpoints, allowing unauthenticated attackers to achie code execution on affected servers without any user interaction.

    C is rated CVSS 10.0 (Critical) and affects React Ser (RSC) and frameworks using the RSC "Flight" protocol.

    Affected Packages:

  • react-ser 19.0.0, 19.1.0-19.1.1, 19.2.0

  • react-ser (same )

  • react-ser (same )

  • next 15.0.0-15.0.4, 15.1.0-15.1.8, 15.2.0-15.2.5, 15.3.0-15.3.5, 15.4.0-15.4.7, 15.5.0-15.5.6, 16.0.0-16.0.6
  • More Information:

  • React Security Ad

  • Wiz Research
  • ---

    Installation (Optional)

    For frequent use, install globally:

    Then use without npx:

    ---

    Usage Guide

    Basic Scanning

    Output Formats

    CLI Options

    | Option | Description |
    |--------|-------------|
    | --json | Output results as JSON |
    | --sarif | Output results as SARIF 2.1.0 |
    | --html <file> | Generate standalone HTML report |
    | --no-exit-on-vuln | Don't exit with code 1 when found |
    | --ignore-path <patterns> | Paths to ignore (e.g., examples/**) |
    | --debug | Enable debug output |

    Exit Codes

    | Code | Meaning |
    |------|---------|
    | 0 | No found |
    | 1 | detected |
    | 2+ | Fatal error |

    Live URL Scanning

    Scan li to detect if they are :

    How Live URL Scanning Works

    The scanner uses passi to detect React Ser endpoints without exploiting the :

    1. Probe Request: Sends a crafted POST request simulating an RSC Ser call with a minimal payload:
    - Uses multipart/form-data content type with RSC-like data structure
    - Includes Next-Action header to trigger Ser processing

    2. Response Analysis: Analyzes the HTTP response for signatures:
    - Checks for HTTP 500 status code (error response)
    - Matches response body against RSC Flight protocol error patterns:
    - ^[0-9]+:E{ - RSC Flight protocol error format
    - "digest":"...RSC - RSC digest in error responses
    - ReactSer - React error class names
    - text/x-component.*error - Component error content type

    3. Non-Destructive: This is purely a detection mechanism - it does not execute any malicious payload or exploit the . The probe uses benign data that triggers error responses on servers but causes no harm.

    > Note: A positi means the server is running a and returned an RSC-specific error signature. It does NOT mean the server was exploited.

    URL Scanner Options

    | Option | Description |
    |--------|-------------|
    | --list | Treat target as a file containing URLs |
    | --threads <n> | Number of concurrent threads (default: 10) |
    | --timeout <ms> | Request timeout in milliseconds (default: 10000) |
    | --json | Output results as JSON |
    | --skip-ssl- | Skip SSL certificate |
    | -- | Show all results including non- hosts |

    Patch

    if a target has been patched against the :

    How Patch Works

    Patch performs multiple consecuti (default: 3) with brief delays between them to ensure accurate detection:

    1. Multiple Probes: Runs the same passi check 3 times with 500ms delays
    2. Confidence Scoring:
    - High confidence: 2+ successful scans with consistent results
    - Medium confidence: 1 successful scan with conclusi
    - Low confidence: All scans failed or inconclusi
    3. Result Classification:
    - PATCHED: No signatures detected across all successful scans
    - : signature detected in one or more scans
    - Inconclusive: Mixed results or all scans failed

    This multi-scan approach reduces false positives from transient network issues and provides higher confidence in the patch status.

    Options

    | Option | Description |
    |--------|-------------|
    | --timeout <ms> | Request timeout in milliseconds (default: 10000) |
    | --json | Output results as JSON |
    | --skip-ssl- | Skip SSL certificate |

    Container Image Scanning

    Scan Docker/OCI container images for packages:

    Container Scanner Options

    | Option | Description |
    |--------|-------------|
    | --timeout <ms> | Operation timeout in milliseconds (default: 120000) |
    | --skip-pull | Skip pulling image from registry (use local only) |
    | --json | Output results as JSON |
    | --sarif | Output results as SARIF 2.1.0 |
    | --no-exit-on-vuln | Don't exit with code 1 when found |
    | --debug | Enable debug output |

    Requirements:

  • Docker must be installed and running

  • Sufficient disk space for image extraction
  • Deployment Integration

    Block deployments before they reach production:

    Check Options

    | Option | Description |
    |--------|-------------|
    | --no-fail | Warn but do not fail the build on |
    | --ignore-path <patterns> | Paths to ignore (glob patterns) |
    | --debug | Enable debug output |

    GitHub PR Automation

    Automatically create a pull request to fix :

    Create PR Options

    | Option | Description |
    |--------|-------------|
    | --branch <name> | Branch name for the fix (default: fix/c) |
    | --dry-run | Show what would be done without making changes |
    | --no-push | Create branch and commits but do not push or create PR |

    Requirements:

  • GitHub CLI (gh) must be installed and authenticated

  • Must be in a git repository with a remote
  • Example Output

    GitHub Actions Integration

    > Note: We actively release new with impro patterns and fixes. Use @v1 for stable releases or for the newest .

    GitHub Marketplace Action

    The easiest way to integrate is using our official GitHub Action:

    Full-Featured Setup (SARIF + PR Comments)

    Action Inputs

    | Input | Description | Default |
    |-------|-------------|---------|
    | path | Path to scan | . |
    | scan-type | Type of scan: repo, sbom, container | repo |
    | format | Output format: text, json, sarif | text |
    | fail-on-vuln | Fail if found | true |
    | upload-sarif | Upload SARIF to GitHub Security | false |
    | add-pr-comment | Add PR comment with results | false |
    | ignore-paths | Comma-separated paths to ignore | '' |
    | sbom-file | SBOM file path (when scan-type is sbom) | '' |
    | container-image | Docker image (when scan-type is container) | '' |

    Action Outputs

    | Output | Description |
    |--------|-------------|
    | | Whether were found (true/false) |
    | findings-count | Number of packages |
    | scan-result | Full scan result (JSON format) |
    | sarif-file | Path to SARIF output file |

    Scan Container Images

    Scan SBOM Files

    Manual CLI Usage

    If you prefer to use the CLI directly:

    Supported Package Managers

    react2shell-guard automatically detects and parses lockfiles from:

  • npm - package-lock.json (v2 and v3 formats)

  • pnpm - pnpm-lock.yaml

  • yarn - yarn.lock (Classic and Berry formats)
  • Features

  • Fast scanning - Analyzes lockfiles directly, no need to install dependencies

  • Monorepo support - Automatically discovers and scans all projects

  • Framework detection - Identifies Next.js and App Router usage

  • Multiple output formats - Text, JSON, SARIF, and HTML reports

  • CI/CD ready - Exit codes and GitHub Actions integration

  • Zero network calls - Works completely offline

  • Auto-fix - Automatically update dependencies

  • Pre-commit hooks - Block commits with dependencies

  • SBOM scanning - Scan CycloneDX SBOM files

  • MCP integration - AI assistant support Context Protocol

  • Runtime protection - Express.js/Next.js middleware for defense-in-depth

  • Live URL scanning - Scan deployed applications for

  • Container scanning - Scan Docker/OCI images for packages

  • integration - Block deployments before production

  • GitHub PR automation - Auto-create fix PRs with one command
  • Auto-Fix

    Automatically update your package.json to use patched :

    Pre-Commit Hooks

    Install git hooks to prevent committing dependencies:

    Supported hook frameworks:

  • Husky - Appends to .husky/pre-commit

  • Lefthook - Creates/updates lefthook.yml

  • Standalone - Creates .git/hooks/pre-commit
  • The hook will block commits when package.json contains dependencies and suggest running react2shell-guard fix to remediate.

    SBOM Scanning

    Scan CycloneDX SBOM files for :

    MCP Server (AI Assistant Integration)

    Start the Model Context Protocol server for AI assistant integration:

    A MCP tools:

  • scan_repo - Scan a repository for

  • scan_sbom - Scan a CycloneDX SBOM file
  • Configure with MCP-compatible clients (example configuration):

    Runtime Protection Middleware

    Defense-in-depth middleware that detects and blocks C exploit attempts at runtime.

    Express.js

    Next.js

    Detected patterns:

  • Serialized function injection

  • Prototype pollution attempts

  • Malformed module references

  • Ser tampering

  • Encoded malicious payloads

  • RSC streaming format abuse
  • API Usage

    JSON Output Schema

    Remediation

    Automatic fix (recommended):

    Manual upgrade - React packages:

    Manual upgrade - Next.js:

    Fixed Next.js by release line:

  • 15.0.x → 15.0.5

  • 15.1.x → 15.1.9

  • 15.2.x → 15.2.6

  • 15.3.x → 15.3.6

  • 15.4.x → 15.4.8

  • 15.5.x → 15.5.7

  • 16.0.x → 16.0.7
  • De

    License

    MIT

    项目信息

    开发语言:TypeScript

    Star 数:58

    技术要点

    该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Security scanner for CVE-2025-55182 - Critical RCE vulnerability in React Server Components. Scan npm/pnpm/yarn lockfiles, Docker images, SBOMs, and live URLs. Auto-fix, SARIF output, GitHub Actions, Vercel integration, and runtime protection middleware.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题react2shell-scanner - Security scanner for CVE-2025-55182 - Critical RCE
    所属分类安全软件
    发布作者admin
    发布时间2026-10-05 22:44:58
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数515
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册