jonny@neuromatch.social ("jonny (nonvenomous)") wrote:
another thing that's fun:
CLAUDE.mdand a number of other special files get dumped directly into the system prompt. It's possible to@includeother files fromCLAUDE.md. included files can be any text file, with a hardcoded list of extensions including.envfiles.There are some protections against
@includes for files outside the project directory, but there are also a number of easily visible bypasses that i won't describe because that crosses into irresponsible disclosure territory.So it certainly seems like you can use
CLAUDE.mdto load say idk an.envfile with keys into it into the context, bypassing all the safety checks, and then treat some exfil path as just being project-specific tool calling instructions. neat huh?