TAM-H-ACT-027 · Human · Act: The harm
Poisoning the Codebase
An insider changes source code, dependencies, or build pipelines to cause harm, open a backdoor, or add something nobody approved.
Engineers are trusted to change the software that runs the business. Poisoning the codebase abuses that trust. The insider ships a hidden backdoor, a logic bomb, a quiet data leak, or a feature nobody asked for. They can also tamper with the pipeline or a package so the damage appears later and somewhere else.
The change often rides inside a normal pull request, or bypasses review through a shared token or an admin merge. Because the commit comes from a real engineer with real rights, it passes most checks.
Spotting it takes more than scanning for known bad code. Reviewers need to compare what a change claims to do with what it actually does, and watch for edits to build, release, and dependency files that seem unrelated to the stated work.
What it looks like
- A developer adds an obfuscated function that sends API keys to an outside server when the app starts.
- An engineer edits the release workflow so a modified build artifact is published after tests pass.
- A maintainer swaps a trusted library for a lookalike package that carries extra code.
- A contractor adds a hidden admin login path and leaves no ticket for the work.
Variants (4)
TAM-H-ACT-027.1Altering the Build Pipeline+
The insider edits CI/CD workflows, runners, or secrets so builds or deployments do something different from the source.
Changing the pipeline lets the insider affect every release without touching the main code. They may add a step that injects code, skip tests, grab deployment secrets, or push artifacts to another location. Review changes to workflow files, runner configs, and service connections. Compare built artifacts with a clean rebuild from source.
TAM-H-ACT-027.2Planting Harmful Code+
The insider commits code meant to damage, spy, steal, or open a hidden way in.
This covers backdoors, logic bombs, data stealers, and sabotage hidden in normal-looking commits. The code may sit dormant until a date or event. Reviewers should look for obfuscation, unexplained network calls, hard-coded credentials, and logic that does not match the ticket. Check who approved the change and whether the author also controlled the review.
TAM-H-ACT-027.3Shipping Unapproved Features+
The insider adds functions or behavior that no one asked for or signed off on.
Not every unauthorized change is hostile at first. An engineer may add a debug endpoint, a telemetry hook, or a shortcut for personal benefit. Over time these open risk or break compliance. Compare the shipped feature list against approved requirements, and flag code paths with no design record or product owner.
TAM-H-ACT-027.4Tampering With Dependencies+
The insider swaps, edits, or adds packages so the build pulls in something harmful or unvetted.
The attack lives in the supply chain. The insider changes a version pin, adds a package with a name close to a trusted one, or points the build at a private registry they control. Check lockfile diffs, registry sources, package publish dates, and checksums. New transitive dependencies with few downloads deserve a closer look.
Detections (9)
- DET-005Audit Logs as Insider EvidenceSystem and app audit logs record who did what and when.Confidence HighAWSAzureGCP
- DET-021Chrome Visit and Download RecordChrome's History database lists visited pages and downloaded files for one profile.Confidence LowWindowsmacOSLinux
- DET-037Edge Visit and Download RecordEdge's History database shows visited URLs and files downloaded.Confidence LowWindowsmacOSLinux
- DET-050Firefox Visit RecordThe Firefox profile database lists pages visited, which shows what an insider researched or reached.Confidence LowWindowsmacOSLinux
- DET-063Installed Program Registry ListsEnumerate installed software from the Windows Uninstall registry keys, including per-user installs.Confidence MediumWindows
- DET-107Program Run History from PrefetchPrefetch files show which programs ran, how often, and when.Confidence MediumWindows
- DET-113Recently Opened File ShortcutsLNK files in the Recent folder show files a user opened, even after the file is gone.Confidence MediumWindows
- DET-157Taskbar and Start Jump ListsJump Lists record recent and frequent files per application.Confidence LowWindows
- DET-170Web Proxy TrafficProxy logs record who requested which URLs, with sizes and response codes.Confidence MediumNetwork