
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
@walkeros/transformer-validate
Advanced tools
JSON Schema contract validation transformer for walkerOS
Enforce JSON Schema contracts on walkerOS events at runtime. Checks each event against its contract and records a verdict, either annotating the event and continuing or dropping it. Runs on both web and server.
Documentation • NPM Package • Source Code
npm install @walkeros/transformer-validate
import { startFlow } from '@walkeros/collector';
import { transformerValidate } from '@walkeros/transformer-validate';
await startFlow({
transformers: {
validate: {
code: transformerValidate,
config: { settings: { contract: [contractWeb], mode: 'strict' } },
},
},
});
The same step in a bundled flow, referencing a named contract from the top-level
contract block:
{
"version": 4,
"contract": {
"web": {
"events": {
"order": {
"complete": {
"properties": { "data": { "required": ["total", "currency"] } }
}
}
}
}
},
"flows": {
"default": {
"transformers": {
"validate": {
"package": "@walkeros/transformer-validate",
"config": {
"settings": { "contract": ["$contract.web"], "mode": "strict" }
},
"next": "ga4"
}
}
}
}
}
mode decides what happens to an invalid event:
pass (default) writes the verdict to the event and continues, so a
downstream step can route on event.source.valid.strict records the errors and stops the chain, so the event never
reaches downstream steps.The boolean verdict goes onto the event as data that travels with it. The issue list goes onto the ingest as diagnostics, so it survives even a strict-mode drop.
Full configuration, contract references, and examples live in the docs: https://www.walkeros.io/docs/transformers/validate
Feel free to contribute by submitting an issue, starting a discussion, or getting in contact.
MIT
FAQs
JSON Schema contract validation transformer for walkerOS
The npm package @walkeros/transformer-validate receives a total of 1,264 weekly downloads. As such, @walkeros/transformer-validate popularity was classified as popular.
We found that @walkeros/transformer-validate 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.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.