CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

statelyai/stately

Find implicit state machines, review state bugs, and check or visualize statecharts with Stately.

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files
Medium

E004: Prompt injection in skill

What this means

Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.

Why it was flagged

The skill is a legitimate statechart checker, but it tells the agent to retry a forbidden save through a different connected account, which acts beyond the user's expected access without malicious intent.

Where we found it

retry forbidden save via another connected account

command · 1 site

Agent is told to switch accounts after a permission denial.

SKILL.md

313

If saving is forbidden, try another already connected account that can read and edit the model.

Report incorrect finding
Low

W007: Insecure credential handling in skill

What this means

The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.

Why it was flagged

The managed GitHub App pairing branch has the model read a one-time maintenance connection code from supplied setup output and write it into statelyai.json, while the main checking and modeling paths keep credentials out of context.

Where we found it

[REDACTED]

secret · 1 site

Agent reads a one-time code from setup output and writes it into a committed file.

references/app-understanding.md

112

Merge the supplied projectId and [REDACTED] into statelyai.json

Low

W011: Exposure to untrusted third-party content

What this means

The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.

Why it was flagged

The "Review a change for state bugs" workflow runs `state-leads.mjs` over a diff or pull request and has the agent read its code and comments, which outsiders can author in external PRs, so this is medium under the rule that any GitHub PR reading counts.

Where we found it

node SKILL_DIR/scripts/state-leads.mjs --base BASE --head HEAD

command · 3 sites

Agent reads PR diffs, code, descriptions and linked issues that outsiders can author.

SKILL.md

Line 462

references/state-review.md

Line 32

25

For a PR, fetch its base and head commits. Read the PR description and linked issue

Low

W012: Unverifiable external dependency

What this means

The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.

Why it was flagged

The only inbound code path with a locator is the optional everystate binary, which the skill tells the user to install from an individual maintainer's GitHub repository and then executes as the checker, so under the common/reputable unofficial tier it is medium; the other fetches (XState via jsDelivr/npm, Temurin, TLC, the `statelyai/skills` marketplace, and the Stately MCP endpoint) are first-party or digest-pinned and do not raise the tier.

Where we found it

https://github.com/mattzcarey/everystate

dependency · 2 sites

User is told to install an individual maintainer's binary, which the runner then executes as the checker.

references/formal-checking.md:38

references/formal-checking.md:46

Low

W013: System service modification

What this means

The skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.

Why it was flagged

Gate 1 passes on operational changes: README.md directs removing an npm cache directory under ~/.npm/_npx, and app-understanding.md directs merging pairing settings into statelyai.json and committing them to the default branch. Gate 2 fails because no supplied text establishes unrecoverable loss of operational state, so the tier is low.

Where we found it

merge pairing settings into statelyai.json and commit to default branch

command · 1 site

Modifies a config file and commits to the default branch. No README.md or ~/.npm/_npx removal exists in this source.

references/app-understanding.md

112

Merge the supplied projectId and maintenance.connectionCode into statelyai.json, preserving other settings, and commit to the default branch.

Audited
Security analysis
Snyk