
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@peacockproject/statemachine-parser
Advanced tools
Check what an IOI state machine would return given an input.
An IOI state machine is what we call a part of the JSON scripting system used within the Glacier engine.
For example:
{
"$eq": ["$Value.MyParameter", "Hello"]
}
That is a state machine condition that checks if $Value.MyParameter is "Hello".
Normally, only the actual Glacier engine could check the output of this condition, but this parser can also do it.
You can run:
yarn add @peacockproject/statemachine-parser
Or, if you use npm:
npm i @peacockproject/statemachine-parser
git clone https://github.com/thepeacockproject/StateMachineParser
cd StateMachineParser
# installs dependencies and builds
yarn && yarn build
const { test } = require("@peacockproject/statemachine-parser")
const condition = {
$eq: ["$Value.Greeting", "Hi!"],
}
const result = test(
condition, // the state machine condition
{
Value: {
Greeting: "Hi!",
},
}, // the variables object, which is essentially the input values.
)
FAQs
IOI state machine conditional parser.
We found that @peacockproject/statemachine-parser demonstrated a not healthy version release cadence and project activity because the last version was released 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.