Back to skill

Security audit

Sentio Processor

Security checks for vulnerabilities and agentic risk

Overview

This Sentio helper appears benign, but users should be cautious with floating npm CLI versions and with API keys or deployments.

Installers should treat this as a Sentio-specific documentation skill. Use it when you intend to build or deploy Sentio processors, pin `@sentio/cli` and dependencies where possible, review commands before login/upload, and avoid exposing unnecessary API keys or broad GlobalProcessor monitoring in projects that do not need it.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:45
Finding

Unpinned Package Retrieval and Execution via npx

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 45
Vulnerability Type: Unpinned third-party package execution
Risk Level: Medium

Vulnerable Code

bash
npx @sentio/cli create <project-name> --chain-type <type> --chain-id <id>

Technical Analysis

The documented initialization workflow uses npx to resolve, retrieve, and immediately execute @sentio/cli without specifying an exact reviewed version or package integrity value. Consequently, the code executed by users or agents can change after this Skill has been audited.

Although @sentio/cli appears consistent with the Skill's declared Sentio development functionality, executing an unpinned package introduces a supply-chain trust boundary. A compromised package publisher, registry account, package release, or transitive dependency could cause arbitrary package or lifecycle code to run locally.

This is classified as insecure dependency handling rather than confirmed malicious remote payload behavior because the audited Skill contains no evidence that the referenced package is malicious.

Attack Path

  1. An attacker compromises the @sentio/cli publishing account, a relevant registry path, or one of the package's resolved dependencies.
  2. The attacker publishes a malicious release that remains compatible with the unversioned package request.
  3. A user or agent follows the documented npx @sentio/cli create ... command.
  4. npx resolves and downloads the compromised release.
  5. The compromised CLI or package lifecycle code executes with the permissions of the invoking user.
  6. That code could access files, credentials, network resources, or project data available to that user.

Impact Assessment

Successful exploitation could provide arbitrary code execution under the invoking user's account. The practical scope would include local project files, environment variables, Sentio or registry credentials availabl ...[truncated 552 chars]

Remediation
View remediation

Remediation Suggestions

  1. Pin the CLI to an exact reviewed version:
    bash
    npx --yes @sentio/cli@3.4.0 create <project-name> --chain-type <type> --chain-id <id>
    
  2. Prefer installing dependencies through a committed lockfile and invoking the project-local binary.
  3. Avoid caret or other floating version ranges for security-sensitive build and deployment tooling where reproducibility is required.
  4. Use a trusted registry configuration and verify package provenance, signatures, or integrity metadata where supported.
  5. Review dependency changes before upgrading and run installation or initialization in a restricted environment without unnecessary credentials.
  6. Disable or tightly control package lifecycle scripts where compatible with the package's documented installation requirements.
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger description is broad enough to match many generic blockchain-development requests, not just Sentio-specific tasks. Over-broad activation can cause the wrong skill to engage, leading users to receive inappropriate commands, workflows, or deployment guidance in contexts where another toolchain is intended, which is a form of unsafe prompt-routing and can amplify risky instructions elsewhere in the skill.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The skill instructs users to run npx @sentio/cli without pinning an exact version, which makes execution dependent on whatever package version is current at invocation time. If the upstream package is compromised, unexpectedly changed, or a malicious typosquatted resolution is introduced in the user's environment, the user may execute unreviewed code during project initialization.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

This markdown section describes using GlobalProcessor to monitor all transactions, blocks, and traces on a network, which materially increases the scope of observed user and system data. The documentation presents this capability without any user-facing caution about privacy, scale, or the breadth of collection.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This markdown file includes a delete example that removes stored entities, but the surrounding documentation provides no warning that the operation is destructive or irreversible. Under the markdown-specific warning rule, documentation should disclose behaviors that could affect user data or system integrity.

Content

No source excerpt is available for this finding.