Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[potential Security Alert] New `test-react-app` script added in `@api-platform/[email protected]`

オープン
#394 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
playwright, react, typescript
領域
security

調査の方向性

@api-platform/[email protected] の package scripts から始め、報告された test-react-app コマンドを npm scripts のドキュメントおよびリンク先の detector と比較します。そのファイル操作、依存関係のインストール、ローカルサーバー、Playwright のテスト手順を確認し、アラートがセキュリティリスクを示しているかどうかを判断します。調査結果が文書化された結論に達すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

A new test-react-app script was detected in version 0.8.0 of the package @api-platform/client-generator.

Suspicion Score: 11/100

Script content:

rm -rf ./tmp/app && mkdir -p ./tmp/app && yarn create react-app --template typescript ./tmp/app/reactapp && yarn --cwd ./tmp/app/reactapp add react-router-dom react-hook-form && cp -R ./tmp/react/* ./tmp/app/reactapp/src && cp ./templates/react/index.tsx ./tmp/app/reactapp/src && start-server-and-test 'BROWSER=none yarn --cwd ./tmp/app/reactapp start' http://127.0.0.1:3000/books/ 'yarn playwright test'

see npm documentation on package scripts for more details.
and the detector. to understand why this script might be dangerous.
to get the alert only for dangerous scripts, please visitthe telegram if you want to improve the algorythm open a pull request
This could be a security risk. Please investigate.

主要言語
TypeScript
スター
376
フォーク
132
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

api-platform/create-client のほかの issue

api-platform/create-client の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。