# AsyncAPI: AsyncAPI: an AI PR spam storm masked a pwn request and shipped import-time malware through OIDC

> **Safety notice:** Read-only lockfile inspection.

- **Incident date:** Jul 14, 2026
- **Disclosed:** Jul 21, 2026
- **Source disclosure:** https://www.asyncapi.com/blog/miasma-supply-chain-attck

## Reproduction lab
Verify your workspace lockfiles are free of the five July 14 @asyncapi versions and confirm a minimum release-age cooldown protects against import-time malware.

```bash
bash check-asyncapi-compromised.sh
```

## Policies and detection rules

### `check-asyncapi-compromised.sh`
Scan JS lockfiles for the 5 compromised AsyncAPI npm versions published July 14, 2026.

```sh
#!/usr/bin/env bash
set -euo pipefail
grep -rnE "@asyncapi/(generator\"?:.*3\.3\.1|generator-helpers\"?:.*1\.1\.1|generator-components\"?:.*0\.7\.1|specs\"?:.*6\.11\.2)" \
  package-lock.json pnpm-lock.yaml yarn.lock 2>/dev/null \
  && echo "ALERT: Compromised July 14 AsyncAPI npm version detected" \
  || echo "Clean: no compromised AsyncAPI versions found"
```

## Indicators of compromise
- **Package:** `@asyncapi/generator@3.3.1, generator-helpers@1.1.1, generator-components@0.7.1` (undefined)
- **Package:** `@asyncapi/specs@6.11.2-alpha.1, @asyncapi/specs@6.11.2` (undefined)
- **Commit:** `3eab3ec (validator.js) & 689f5b9669 (index.js)` (undefined)
