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

[potential Security Alert] New `test-vue-app` script added in `@api-platform/client-generator@0.8.0`

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

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

評価

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

調査の方向性

まず、@api-platform/client-generator@0.8.0 にある新しい test-vue-app パッケージスクリプトを確認します。templates/vue/main.js、tmp/vue/*、yarn playwright test の使用方法も含めて確認してください。リポジトリに既存するテストスクリプトおよび npm-check 検出器のガイダンスと比較します。スクリプトが実際のセキュリティリスクであるかを判断し、再現可能な証拠とともにその調査結果を文書化または対処できれば完了です。

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

説明

A new test-vue-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 && cd ./tmp/app && npm init -y vue@2 -- --router vue && cd ../.. && yarn --cwd ./tmp/app/vue add vuex@3 vuex-map-fields lodash && cp -R ./tmp/vue/* ./tmp/app/vue/src && cp ./templates/vue/main.js ./tmp/app/vue/src && yarn --cwd ./tmp/app/vue build && start-server-and-test 'yarn --cwd ./tmp/app/vue vite preview --host 127.0.0.1 --port 3000' 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 を短くまとめたダイジェスト。