An attacker-controlled repository administrator identity committed malicious code directly to the Tensorlake main branch and manually dispatched the legitimate publish_npm.yaml workflow. The resulting tensorlake@0.5.144 npm package carried valid Sigstore provenance because its source and official build both passed through real project infrastructure.…
Inspect the ClaimsCase · DiggingBeagle record
A compromised Tensorlake release used valid npm provenance to deliver a credential-stealing worm
StepSecurity traced malicious tensorlake@0.5.144 to commits placed directly on the legitimate repository branch, allowing the normal npm release workflow to attest to compromised code.
npm tensorlake 0.5.144 and affected working copies of tensorlakeai/tensorlake main; malicious logic targeted developer workstations and accessible repositories.
Assessment profile
Assessment method- Setting
- production
- Exploitation
- observed live
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
Independent supply-chain investigation, a first-party merged cleanup PR and GitHub malware advisory establish the malicious npm publication and project response. Actual installation victim count and completion of pending human cleanup steps are unknown. A merged rollback and signed-build controls do not prove infected workstations were cleaned.
Assessed Oct 11, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-TL-MAIN-ATTEST · CLM-TL-AGENT-CONFIG · CLM-TL-HOSTAGE · CLM-TL-MAINTAINER-RESPONSE · CLM-TL-MALWARE-VERSION · StepSecurity: Tensorlake npm compromise and provenance failure · Tensorlake maintainer: revert malicious 0.5.144 and harden npm release path · GitHub Advisory GHSA-rqxj-g25x-4v9v: malware in tensorlake 0.5.144
At a glance
Removing the infected npm version and restoring source controls stops new builds from distributing the same payload. CI --ignore-scripts, package-manifest tripwires and mandatory publishing review address distinct release-chain execution and approval routes. They do not remove malware already installed on developer machines: responders must neutralize the…
Read the implicationsInitial compromise path into the repository admin account and whether it was recovered. How many developers installed tensorlake@0.5.144 or executed seeded agent configuration. Final verified registry state of six tensorlake-native packages, completion of all maintainer-listed credential rotations, and independent availability of a clean replacement release.
Limits and uncertaintyFull account
An attacker-controlled repository administrator identity committed malicious code directly to the Tensorlake main branch and manually dispatched the legitimate publish_npm.yaml workflow. The resulting tensorlake@0.5.144 npm package carried valid Sigstore provenance because its source and official build both passed through real project infrastructure. StepSecurity documented install-time credential collection, poisoning of Claude Code and VS Code configuration in reachable projects, and a background GitHub token monitor designed to delete local files when a compromised token was revoked. The maintainer’s October 8 merged PR #1016 rolled back to a clean commit, added CI lifecycle-script protections and release-review gates, and bumped source versions for a clean 0.5.145 release. At the time of the PR, npm had removed the malicious tensorlake 0.5.144 package, but six similarly numbered native packages still needed takedown review, and account locking and secret rotations remained tasks. The GitHub malware advisory independently identifies 0.5.144 as malicious. A signed build proved how the package was built, not that its committed source was safe; published cleanup steps do not establish that developer machines or leaked credentials were recovered.
Mechanism and trust boundary
- 01
Repository compromise
Malicious files were pushed directly to the project main branch under a maintainer identity.
Boundary: Maintainer write permission to trusted source branch
- 02
Attested release
The normal release automation packaged and attested to code already containing the attacker payload.
Boundary: Build-origin proof mistaken for code-integrity proof
- 03
Developer and agent persistence
Install scripts gathered secrets and altered Claude Code and VS Code configuration in accessible repositories.
Boundary: Package install rights to developer credentials and agent settings
Timeline
- Oct 7, 2026Event type unspecified
Malicious source commits entered main
StepSecurity and the maintainer identified unauthorized code committed under an administrator identity to the real source branch.
- Oct 8, 2026Event type unspecified
Malicious signed npm 0.5.144 released
An authorized workflow was manually dispatched against compromised source and produced a provenance-signed malicious package.
- Oct 8, 2026mitigation
Rollback and release hardening merged
PR #1016 reverted the malicious source and introduced CI and npm publication review safeguards, while documenting cleanup tasks not yet closed.
Claims & evidence
CLM-TL-HOSTAGEStepSecurity found a background GitHub-token monitor designed to remove user files after token revocation, making remediation order a material risk for affected installations.supported
Basis: reported finding
- supportsStepSecurity: Tensorlake npm compromise and provenance failureprimary disclosure
The Hostage Token; Remediation
CLM-TL-MAIN-ATTESTStepSecurity linked tensorlake@0.5.144 to malicious October 7 commits placed on the real main branch and published October 8 by the legitimate release workflow with valid npm provenance.supported
Basis: reported finding
- supportsStepSecurity: Tensorlake npm compromise and provenance failureprimary disclosure
Executive summary; What happened; Impacted versions
CLM-TL-AGENT-CONFIGThe analyzed package targeted developer credentials and planted .claude/settings.json and .vscode/tasks.json in reachable repositories to trigger execution through AI coding or editor workflows.supported
Basis: reported finding
- supportsStepSecurity: Tensorlake npm compromise and provenance failureprimary disclosure
Executive summary; What it steals; How it spreads
CLM-TL-MALWARE-VERSIONThe GitHub Advisory Database marked exactly npm tensorlake 0.5.144 as malware and advised treating systems that installed it as fully compromised; the advisory lists no patched version for that malware entry.supported
Basis: reported finding
- supportsGitHub Advisory GHSA-rqxj-g25x-4v9v: malware in tensorlake 0.5.144secondary reporting
Affected versions; Patched versions; Description
CLM-TL-MAINTAINER-RESPONSETensorlake maintainer PR #1016 was merged October 8 and reverted malicious main-branch changes, disabled npm lifecycle scripts in CI installs, added a package-manifest tripwire and strengthened publishing review; at the time of the PR, account locking, credential rotation and six native-package takedowns were still listed as human tasks.supported
Basis: reported finding
- supportsTensorlake maintainer: revert malicious 0.5.144 and harden npm release pathpatch commit artifact
Incident; This PR; Repo settings already changed; Still to do by a human
Implications
Removing the infected npm version and restoring source controls stops new builds from distributing the same payload. CI --ignore-scripts, package-manifest tripwires and mandatory publishing review address distinct release-chain execution and approval routes. They do not remove malware already installed on developer machines: responders must neutralize the destructive token monitor before rotating affected GitHub credentials, rebuild compromised hosts where needed and revoke exposed secrets with their issuers.
Unknowns and contradictions
- Initial compromise path into the repository admin account and whether it was recovered.
- How many developers installed tensorlake@0.5.144 or executed seeded agent configuration.
- Final verified registry state of six tensorlake-native packages, completion of all maintainer-listed credential rotations, and independent availability of a clean replacement release.
Sources and citation
Material revision history
- Oct 11, 2026 · Published version · first publication · revision 123