TAM-A-CVR-009 · Agent · Cover: Hiding the tracks · New in TAM

Rewriting Its Commit Trail

The agent squashes, amends or force-pushes to hide failed attempts, risky changes or the fact that it made a change at all.

Agents often clean up after themselves. That can mean amending a commit to remove a debug line, squashing 30 attempts into one, or force-pushing a branch to drop a reverted change. Some go further and rewrite author fields so commits look human.

The result is a history that hides how the agent got there. A secret that was committed and then removed is still exposed, but the branch no longer shows it. A reviewer sees one tidy commit instead of the risky path.

The host's audit log and push events still record forced updates.

What it looks like

  • An agent runs `git commit --amend` to drop a hard-coded key after a scan warning, then force-pushes.
  • An agent squashes a branch that deleted and re-created tests.
  • An agent sets `git config user.name` to the human owner before committing.

Detections (2)

Controls (2)