computed-property-write

javascript · standard library
sinkDerived from model facts
RoleSink
WeaknessCWE-1321
WatchesArgument[0]
Kindprototype-pollution
Confidencelow
Corroboration1

Sink boundary: Input controls object keys that can modify shared prototype state.

Argument map · what each slot does

The pack does not provide a callable signature for this record; the watched access path is shown directly.

ArgAccess pathPurposeWatched
Argument[0]Argument[0]The access path Atropos marks for this model.▲ sink
The weakness
CWE-1321
Prototype Pollution

Input modifies object prototype attributes without sufficient control.

What goes wrong
Attacker's-eye view · prototype-pollution

A crafted key such as a prototype path changes defaults or behavior for unrelated objects.

// modeled boundary: Argument[0] computed-property-write(attacker_influenced_value);
To decide if this call is a bug, check
1Reject prototype keys.
2Use own-property checks and safe merge APIs.
3Keep parsed data in null-prototype objects where appropriate.
These checks require the surrounding codebase. The model names the boundary; it does not decide reachability or prove that a guard dominates every path.
Is this a bug in your code?Atropos stops here — by design

Atropos identifies Argument[0] as a prototype-pollution sink. It cannot see whether untrusted data reaches this call in your repository.

Lachesis is the codebase-level step: it traces reachability and guards for this symbol.

Check this symbol in Lachesis
The family · prototype-pollution
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sinkprototype-pollutionArgument[0]javascript.proto.computed-write.a0low · corrob. 1