Version 1.3.2 of tg-redbird, a reverse proxy package with support for dynamic tables, was published on September 16, 2025 carrying a credential-stealing worm that fires automatically when developers run npm install. Armando's analysis shows the attack follows the same postinstall hook pattern seen across the broader Shai-Hulud campaign wave: bundle.js executes at install time via a postinstall hook and exfiltrates AWS credentials to an attacker-controlled webhook.site endpoint shared across the entire campaign. The package is published under the teselagen-admin npm account -- the same compromised account responsible for ve-bamreader@0.2.7 and ve-editor@1.0.2 from the same day.
Key Findings
- Malicious version: v1.3.2, published 2025-09-16; v1.3.1 (previously reported) is also malicious
- Entry point: postinstall lifecycle hook fires automatically on npm install
- Targets: Node.js developer environments and CI/CD pipelines -- steals AWS credentials
- Detection: Script-JS.Worm.SupplyChain (bundle.js), Text.Worm.SupplyChain (package.json), Archive-GZIP.Worm.SupplyChain (.tgz), Archive-TAR.Worm.SupplyChain (.tar)
Package Background
tg-redbird is a reverse proxy package with support for dynamic tables, first published on March 25, 2021. With 82,266 total downloads and 3 direct dependents, it is among the higher-traffic packages targeted in this campaign wave. The package is published under the teselagen-admin npm account (email: devops@teselagen.com), which maintains 38 packages -- most of them Teselagen synthetic biology tools, pointing to account compromise rather than a newly created attacker account. Both v1.3.1 and v1.3.2 are malicious; v1.3.1 was published and reported as part of the initial campaign wave.
Attack Analysis
The diff between v1.3.1 and v1.3.2 shows two modified files: bundle.js and package.json. Both versions carry the worm; the v1.3.2 update modified the injected files, consistent with the worm's self-propagation behavior updating its payload in the registry. When npm install runs against v1.3.2, the postinstall hook executes "node bundle.js" automatically.
The bundle.js payload (SHA-256 b74caeaa75e077c99f7d44f46daaf9796a3be43ecf24f2a1fd381844669da777) is the same variant previously identified in ve-bamreader@0.2.7 and ve-editor@1.0.2, all three pushed from the compromised teselagen-admin account on the same date. The payload reads AWS credential environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN), contacts the AWS Instance Metadata Service at 169.254.169.254, the GCP metadata server at metadata.google.internal, and the ECS task metadata endpoint at 169.254.170.2, then exfiltrates the collected data to https://webhook.site/bb8ca5f6-4175-45d2-b042-fc9ebb8170b7 -- the shared attacker endpoint used across the entire campaign. The npm registry also appears in the payload's URL set, consistent with the worm's self-propagation capability.
Malicious Files
bundle.js is the injected worm payload. Armando found it harvests AWS credentials from process.env and cloud metadata endpoints and exfiltrates them to the attacker-controlled endpoint. Detected as Script-JS.Worm.SupplyChain.
package.json was modified to include the postinstall entry ("node bundle.js"). Detected as Text.Worm.SupplyChain.
Recommendations
Developers and security teams should take the following steps:
- Identify exposure: Check whether tg-redbird v1.3.1 or v1.3.2 appears in your dependency tree. Any pipeline that ran npm install while either version was current should be considered potentially affected.
- Update immediately: Downgrade to a version predating v1.3.1 or await a clean release once the teselagen-admin account is recovered.
- Inspect affected systems: Rotate all AWS credentials in the affected environment. Audit outbound connections to webhook.site.
- Scan your software supply chain: Use Spectra Assure Community (https://secure.software/npm/packages/tg-redbird) to check whether packages in your environment have been flagged.
Indicators of Compromise
Malicious Files
| Filename | SHA256 | Detection |
|---|
| bundle.js | b74caeaa75e077c99f7d44f46daaf9796a3be43ecf24f2a1fd381844669da777 | Script-JS.Worm.SupplyChain |
| package.json | a2a8d8826fa489965c8d7682702419a8f3a5f2e8b49b8d84caafb806fdcfea42 | Text.Worm.SupplyChain |
Network IOCs
| URL / IP | Purpose |
|---|
| 169.254.170.2 | AWS ECS Task Metadata endpoint -- cloud credential theft |
| http://169.254.169.254 | AWS Instance Metadata Service -- cloud credential theft |
| http://metadata.google.internal | GCP Metadata Server -- cloud credential theft |
| https://webhook.site/bb8ca5f6-4175-45d2-b042-fc9ebb8170b7 | Attacker-controlled exfiltration endpoint |
| https://registry.npmjs.org | npm registry contact for worm propagation |
| https://a.co/74kJMmI | Suspicious shortened URL in payload |
| http://github.test | GitHub test endpoint in payload |
| https://sts.amazonaws.com | AWS Security Token Service endpoint in payload |
| https://cognito-identity-fips.us-east-1.amazonaws.com | AWS Cognito FIPS endpoint in bundled payload |
| https://cognito-identity-fips.us-east-2.amazonaws.com | AWS Cognito FIPS endpoint in bundled payload |
| https://cognito-identity-fips.us-west-1.amazonaws.com | AWS Cognito FIPS endpoint in bundled payload |
| https://cognito-identity-fips.us-west-2.amazonaws.com | AWS Cognito FIPS endpoint in bundled payload |
| https://portal.sso | AWS SSO portal endpoint in bundled payload |
| https://portal.sso-fips | AWS SSO FIPS portal endpoint in bundled payload |
| https://aws.amazon.com/javascript/ | AWS SDK documentation URL in bundled payload |
| https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html | AWS CLI documentation URL in bundled payload |
| https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html | AWS SDK documentation URL in bundled payload |
| https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html | AWS SDK documentation URL in bundled payload |
| https://grpc.io/ | gRPC documentation URL in bundled payload |
| https://octokit.github.io/rest.js/#throttling | Octokit documentation URL in bundled payload |
| https://react-native.canny.io/feature-requests/p/fetch-streaming-body | React Native feature request URL in bundled payload |
| https://www.githubstatus.com | GitHub status URL in bundled payload |
| https://www.gstatic.com/iap/verify/public_key | Google IAP public key URL in bundled payload |
Archive Hashes
| File | SHA256 |
|---|
| tg-redbird-1.3.2.tgz | 77b2eb1a4fc042e0160d7fca552488aa4b63edcda7b83a740ea84b807de13499 |
| tg-redbird-1.3.2.tar | ddb21a92214a355aad4c3d6489a648432139436986612398cee150513c0fb74d |