
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@yummacss/canon
Advanced tools
Class validator for Yumma CSS. Scans your source files & reports every class that is not part of the Yumma CSS canon - Tailwind habits, typos, & AI hallucinations like gap-4 instead of g-4.
If it's not canon, it doesn't ship.
Validity is checked against the Yumma CSS generator itself, so a class is canon exactly when it produces CSS. Variants (@sm:, h:), opacity (/50), negative values (m--4), custom theme colors, prefixes, & safelist entries are all understood.
npm install -D @yummacss/canon
Run it in any project with a yumma.config.mjs:
npx @yummacss/canon
Scanned 42 files and found 128 unique classes.
Found 2 classes Yumma CSS does not recognize:
"gap-4"
- src/components/hero.tsx
"items-center"
- src/components/hero.tsx
Exits with code 1 when unknown classes are found - wire it into CI or let your AI agent run it as a feedback loop.
Classes you define in your own CSS are not known to Yumma CSS. Skip them with --allow:
npx @yummacss/canon --allow "docs-container,brand-logo"
| Flag | Description |
|---|---|
--allow, -a | Comma-separated class names to skip. |
--config, -c | Path to the config file. |
import { validate } from "@yummacss/canon";
const result = await validate({ allowlist: ["docs-container"] });
for (const { className, files } of result.invalid) {
console.log(className, files);
}
FAQs
Class validator for Yumma CSS
The npm package @yummacss/canon receives a total of 34 weekly downloads. As such, @yummacss/canon popularity was classified as not popular.
We found that @yummacss/canon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.