PageTemplate

python · chameleon
sinkDerived from model facts
RoleSink
WeaknessCWE-1336
WatchesArgument[0]
Kindtemplate-injection
Confidencemedium
Corroboration1

Sink boundary: Input is evaluated by a template engine as expressions instead of plain text.

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-1336
Template Injection

External input is interpreted as template syntax by a template engine.

What goes wrong
Attacker's-eye view · template-injection

Template syntax executes in the rendering context and may access data or capabilities.

// modeled boundary: Argument[0] PageTemplate(attacker_influenced_value);
To decide if this call is a bug, check
1Keep user input in data slots, not template source.
2Use a sandbox only as defense in depth.
3Escape for the actual output context.
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 template-injection 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 · template-injection
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sinktemplate-injectionArgument[0]python.chameleon.pagetemplate.a0medium · corrob. 1