Back to skill

Security audit

Nft

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a static NFT reference, but it needs Review because its cheatsheet gives unsafe wallet-key and mutable package commands that users may copy.

Use this as static NFT reference material only. Do not paste real wallet private keys into command-line arguments, avoid reusing one KEY variable for different credentials, pin and review npm/Hardhat dependencies, and prefer a keystore, hardware wallet, or dedicated signer for deployments.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T08 · Insecure Dependencies

Warning
Location
scripts/script.sh:168
Finding

Unpinned Third-Party Package Installation and Execution Guidance

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/script.sh:318
Finding

Wallet Private Key Passed Through Command-Line Arguments

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill is presented as an NFT blockchain reference tool, but its commands and described outputs are broad, generic finance/compliance content rather than clearly NFT-specific functionality. This mismatch can mislead users or downstream agents into invoking the skill for domain-specific guidance it may not actually provide, increasing the risk of inaccurate advice, unsafe automation decisions, or misuse in financial/blockchain workflows.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/script.sh (reported line 40)May include surrounding context.

sh
On-chain:  Metadata + image stored in contract (expensive, permanent)
  IPFS:      Content-addressed, immutable once pinned (ipfs://Qm...)
  Arweave:   Permanent storage, pay once (ar://...)
  Centralized: Regular URL (https://api.example.com/meta/1) — risky

## Minting Flow
  1. Deploy ERC-721 contract with mint function

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
70% confidence
Finding

npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This shell script is a code file that includes user-facing command examples using $KEY for a private key and an Etherscan API key. Although the script itself does not execute these commands, it presents sensitive credential usage without any accompanying warning, comment, or disclosure about protecting secrets or avoiding shell history leakage.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.