NewsCrawler.org

Inserting Forbidden Strings Into a Website to Stop DeepSeek From Hacking It

Inserting Forbidden Strings Into a Website to Stop DeepSeek From Hacking It
Inserting Forbidden Strings Into a Website to Stop DeepSeek From Hacking It
Inserting Forbidden Strings Into a Website to Stop DeepSeek From Hacking It
Inserting Forbidden Strings Into a Website to Stop DeepSeek From Hacking It
Image: Reddit

The author, who had earlier used penetration testing[1] tools such as ARTEX and Strix with the DeepSeek model against their own vulnerable application, tested a new idea. A blog post described preventing LLM[2] analysis by inserting forbidden words and sentences into content, such as references to preparing drugs or bombs and the phrase "Tank Man". The author added a file called html_comments.go, which put such strings into the HTML of every page of the vulnerable application, and a few dummy JavaScript functions whose names were meant to trigger LLMs.

The Pi harness[3] visited the website and ended the session immediately. The author notes that Pi is not designed to pentest websites. ARTEX was also run, and all of its agents failed and refused to work on the application.

The author suggests that these strings could be used on a website as a kind of firewall.

Read the original utkusen.substack.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page