EX-062: A link in this project points outside it

A link in this project points outside it

Infection level: HIGHEX-062 · A link in this repository points outside the scanned folder

What the attacker is trying to do

A symbolic link makes a file in the project show the content of a file somewhere else. What your agent reads may not be what you reviewed in the project. The content of the target was scanned when it could be read.

Defanged example

No example file exists for this rule yet.

How to fix it

A symbolic link in the repository points to a file or folder outside it, so the text your agent reads may not be part of what you reviewed. Replace the link with a real file in the repository, or remove it. The target's content was scanned when it could be read.

Technical details

Detected by
a text pattern
Checks files of type
instruction, docs, memory, hook, config, mcp-config, code, power
OWASP
LLM01:2025 Prompt Injection; ASI03 Prompt Injection via External Content