// 2025 · Pillar Security
Rules File Backdoor.
Hidden Unicode in Copilot and Cursor rules files made the assistants write backdoored code. The poisoned file kept working after it was merged.
// Verifiable review for repositories AI agents read
Hushmark is a GitHub check. It finds text in a pull request that human reviewers cannot see, sends only those lines to a model running inside a NEAR AI Cloud TEE, and shows a finding only when the TEE's signature and attestation verify.
// The problem
AI coding agents follow text in docs, PR descriptions and rules files. An HTML comment or an invisible character is skipped by a human reviewer and obeyed by the agent. Once merged, it steers every agent session on the team.
// 2025 · Pillar Security
Hidden Unicode in Copilot and Cursor rules files made the assistants write backdoored code. The poisoned file kept working after it was merged.
// 2025 · Invariant Labs
A malicious public issue led an agent to leak data from a private repository through a pull request it opened itself.
// Process
// 01
Deterministic detectors read the whole diff, title and body for HTML comments, invisible and bidi characters, hidden HTML and agent rules files. Nothing is executed.
// 02
Only the flagged lines and ten lines of context leave the service. Most pull requests have nothing hidden and cost nothing.
// 03
A model on NEAR AI Cloud decides whether each region is an instruction aimed at an AI agent. It runs inside Intel TDX and NVIDIA confidential computing.
// 04
The response signature, the Intel quote, NVIDIA's signed verdict and our fresh nonce are all checked. Any failure means no finding is shown.
// 05
A Hushmark check on the pull request, with a note on each line, and a receipt whose hash is anchored on NEAR.
// Evidence
Four real calls to z-ai/glm-5.3-flash on NEAR AI Cloud. Every result below was computed by Hushmark's own verifiers from the saved evidence in the repository; nothing on this page is typed by hand.
Loading evidence…
Reproduce it: git clone https://github.com/Ritapossible/Hushmark && cd Hushmark && make install && make verify
// Honest limits
Full details in THREAT_MODEL.md.
// Built on NEAR
dcap-qvl · MRCONFIGID and RTMR3 replayed// Try it
Every check on this page runs offline in seconds. No account, no API key.