Zip Slip is a path-traversal flaw that can occur when an application extracts an archive without checking the paths stored inside it. A malicious ZIP or TAR entry may contain a path that escapes the intended extraction folder. If the application writes that entry directly, it can overwrite files elsewhere on the system. Defensive controls should include validating every archive entry against the canonical destination directory before writing it, rejecting entries that escape that directory, and rejecting symbolic or hard links unless they are explicitly required and safely handled. Prefer maintained archive libraries and safe-extraction modes, and test extraction code in CI. Do not assume that a trusted file extension or a normal-looking archive name makes its contents safe. Source: OWASP Foundation.