aboutcode-org / aboutcode-org/fetchcode

Report if a package is malicious or its version has been yanked

未关闭
#123 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
HTML
星标
13
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

### PyPI

- PyPI removes all traces of the `malicious` package.
- If a package version is deleted, it is properly marked as `yanked`. See the example https://pypi.org/pypi/apache-superset/json where version `2.1.1rc1` is marked as yanked.
- Discussion on an index for packages that have been entirely removed from PyPI: https://discuss.python.org/t/an-index-for-deleted-pypi-packages-versions/50515

### NPM

- Npm removes all versions of a `malicious` package from the index and provides a placeholder package version `0.0.1-security`. See the example https://registry.npmjs.org/gxm-reference-web-auth-server.
- Npm also allows unpublishing (yanking) a package version within 72 hours see https://docs.npmjs.com/unpublishing-packages-from-the-registry.

Related: https://github.com/aboutcode-org/vulnerablecode/pull/1533#discussion_r1716728423, https://github.com/aboutcode-org/vulnerablecode/pull/1533#discussion_r1724863110

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。