Skip to content

Z203: PATH_TRAVERSAL_FATAL

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Rationale

This critical security incident rule (Exit 3) is emitted when a path specifier attempts to escape the repository workspace to access sensitive OS system directories (such as /etc/passwd or /proc/).


How to Fix

Inspect the flagged location in the Markdown file and update the content or configuration:

  • Failing Pattern (Triggers Z203)


    docs/example.md
    <!-- BAD: Attempting to access OS system file -->
    Read [System Passwd](../../../../../../etc/passwd).
    
  • Passing Pattern (Resolves Z203)


    docs/example.md
    <!-- GOOD: Reference files inside the repository workspace -->
    Read [Local Configuration](../config/settings.json).
    

Configuration

.zenzic.toml
# Non-suppressible security incident code; triggers Exit 3 immediate abort.

Reference

See the Finding Codes Index for finding code details.