Skip to content

[BUG] #1326 dependency-confusion check is skipped for marketplace entries in apm.yml and transitive marketplace dependencies #3913

Closed

Description

Problem

The cross-repo dependency-confusion refusal added for #1326 runs only on the CLI-add path (commands/install.py:300). Object-form marketplace entries already in apm.yml and transitive marketplace dependencies bypass it. #1326 is closed but the vector remains on these paths.

Expected

One resolver admission function applies the #1326 check on every path that resolves a marketplace entry (CLI add, apm.yml object form, transitive, update), with a lifecycle test per path.

Split from #2903 (decision 2026-11-19). Refs #1326.

Activity

  1. added
    type/bug
    on Nov 19, 2026
  2. danielmeppiel commented on Nov 19, 2026

    @danielmeppiel
    CollaboratorAuthor

    Decision: approve
    Area: project
    Scope: Apply the #1326 cross-repo dependency-confusion check through one resolver admission function on every path that resolves a marketplace entry: CLI add, apm.yml object form, transitive marketplace dependencies and apm update.
    Done when: A lifecycle test per path shows the confusion case refused before any write, and the static guard prevents a second admission path; one CHANGELOG line.
    Out of scope: Changes to marketplace registration or policy semantics.
    Review contact: Daniel Meppiel (@danielmeppiel)

  3. added
    status/accepted
    on Nov 19, 2026
  4. added a commit that references this issue on Nov 19, 2026
  5. added a commit that references this issue on Nov 19, 2026
    bcd020f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/securitystatus/acceptedtype/bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions