Back to skill

Security audit

Analytics Platform Base

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward React UI setup guide; its main caution is that it installs an unpinned npm package.

Before installing, pin `orbcafe-ui` to a specific reviewed version, use a lockfile or frozen install, and install in a least-privileged project environment. Review the package provenance and lifecycle scripts as you would for any third-party npm dependency.

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:20
Finding
Unpinned Third-Party Package Installation Creates Supply-Chain Risk## Vulnerability Details **File Location**: `SKILL.md`, lines 20-24 **Vulnerability Type**: Unpinned third-party dependency installation **Risk Level**: Medium **Vulnerable Code**: ```bash npm install orbcafe-ui # or pnpm add orbcafe-ui ``` ### Technical Analysis The installation instructions do not specify an exact reviewed version or package integrity value. Consequently, the package manager resolves the dependency to the registry version that satisfies its default resolution behavior at installation time. This makes the installed code mutable after the Skill has been reviewed. If the package publisher account, registry entry, or a future package release is compromised, users following these instructions could receive malicious code. npm and pnpm packages can define lifecycle scripts that execute during installation. Malicious package code could also execute later when the documented component is imported or used. ### Attack Path 1. An attacker compromises the `orbcafe-ui` package, its publisher account, or its release process. 2. The attacker publishes a malicious package version containing an installation lifecycle script or malicious runtime code. 3. A user follows the documented `npm install orbcafe-ui` or `pnpm add orbcafe-ui` instruction. 4. The package manager resolves and downloads the malicious mutable release. 5. Malicious lifecycle code executes during installation, or malicious runtime code executes when the package is imported by the application. ### Impact Assessment Exploitation could execute code with the privileges of the user or automation account running the package manager. Depending on the installation environment, this may expose source code, environment variables, package-registry credentials, deployment tokens, SSH material, or other files accessible to that account. In a CI/CD environment, compromise could affect build artifacts, downstream deployments, and other projects accessible w ...[truncated 205 chars]
Remediation
## Remediation Suggestions - Pin `orbcafe-ui` to an exact version that has been reviewed instead of relying on mutable default resolution. - Commit the generated lockfile and require deterministic installation through `npm ci` or the pnpm equivalent with a frozen lockfile. - Verify package provenance, publisher identity, release history, integrity metadata, and lifecycle scripts before adoption. - Use dependency scanning and automated monitoring for package compromise and known vulnerabilities. - Consider initially installing with lifecycle scripts disabled, such as `npm install --ignore-scripts`, and explicitly review any scripts before allowing them. - Run dependency installation in an isolated, least-privileged build environment without unnecessary credentials or access to sensitive host files. - Document the reviewed package version and upgrade process so dependency changes receive a new security review.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep

Static analysis

No suspicious patterns detected.