T06 · System Persistence
- Location
hook/setup.ts:33- Finding
Automatic Persistent Modification of Workspace Instructions
- Content
View full analysis
{ try { setupWorkspaceResources(pluginDir); } catch (err) { log.error?.(`[reflexio-embedded] workspace setup failed: ${err}`); } try { await ttlSweepProfiles(resolveWorkspaceDir()); } catch (err) { log.error?.(`[reflexio-embedded] ttl sweep failed: ${err}`); } return { prependSystemContext: injectBootstrapReminder(), }; }); ``` ### Technical Analysis The plugin rewrites the persistent workspace `HEARTBEAT.md` file automatically whenever the `before_prompt_build` event runs. The appended content configures a recurring call to `reflexio_consolidation_check`. The same hook also injects Reflexio instructions into every system prompt. This behavior is not protected by an explicit user-consent check, an installation marker, or a configuration option. Although plugin act ...[truncated 1479 chars]- Remediation
View remediation
