Retourner au contenu associé (lien : Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies)
Posté par Glandos le 14 février 2021 à 10:41. En réponse au lien Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies. Évalué à 2.
https://github.blog/2021-02-12-avoiding-npm-substitution-attacks/
Pour résumer (traduction libre): - Utiliser les scopes - Utiliser un fichier .npmrc à la racine du projet pour paramétrer les dépôts. - Faites attention lors de l'utilisation d'un proxy. - Soyez attentifs aux échecs de construction de projet.
.npmrc
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Petit guide pour NPM avec GitHub
Posté par Glandos . En réponse au lien Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies. Évalué à 2.
https://github.blog/2021-02-12-avoiding-npm-substitution-attacks/
Pour résumer (traduction libre):
- Utiliser les scopes
- Utiliser un fichier
.npmrcà la racine du projet pour paramétrer les dépôts.- Faites attention lors de l'utilisation d'un proxy.
- Soyez attentifs aux échecs de construction de projet.