Back to skill

Security audit

QR Code & Barcode Scanner

Security checks for vulnerabilities and agentic risk

Overview

The skill’s local image scanning behavior is clearly disclosed and proportionate, with no hidden credential access or persistence found.

Install the exact documented engine in a project-local directory and treat decoded content as untrusted data. The separate native engine is outside this artifact review. Use a process timeout if you need a hard execution limit.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 12)May include surrounding context.

md
Use the original helper at `scripts/scan.mjs` relative to this skill's directory

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/test.mjs (reported line 23)May include surrounding context.

js
const checks = [];
const run = (image, args = [], engine = runtime, env = {}) => spawnSync(process.execPath,
  [helper, "--engine-root", engine, "--budget-ms", "0", ...args, "--", image],
  { cwd: scratch, env: { ...process.env, ...env }, encoding: "utf8", timeout: 30_000, maxBuffer: 8 * 1024 * 1024 });
const parse = (result, status) => {
  assert.equal(result.error, undefined);
  assert.equal(result.status, status, result.stderr);

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.