openclaw-skill-customs
Analysis
The skill’s behavior matches its customs-document purpose, but it sends sensitive uploaded trade documents to the Leap/DaoFei platform and leaves local task copies.
Findings (5)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
等用户确认文件列表无误后才执行上传 ... python scripts/file_transfer.py --mode upload ... python scripts/submit_and_poll.py --mode customs
The skill instructs the agent to run local helper scripts that upload files and submit remote processing tasks, but it also requires user confirmation and the behavior is central to the stated customs-document workflow.
Step 6(结果修改)需要 openpyxl 用于读写 Excel 文件: # pip install openpyxl
The optional Excel-modification step may require installing an unpinned third-party Python package; it is disclosed and only needed for user-requested edits.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
api_key = os.environ.get("LEAP_API_KEY", "") ... "Authorization": f"Bearer {api_key}"The scripts use a LEAP_API_KEY bearer token to authenticate to the Leap platform, which is expected for this integration but still grants account-level service access according to the key's permissions.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
url = f"{base_url}/api/v1/files/upload" ... with open(file_path, "rb") as f: file_data = f.read()The helper reads uploaded document bytes and sends them to https://platform.daofeiai.com for processing; this is disclosed and purpose-aligned, but it crosses an external provider boundary.
mkdir -p tasks/customs_<YYYYMMDD_HHMMSS>/raw ... 后续所有步骤的中间文件(classify_result.json、customs_payload.json 等)都存放在该任务目录下
The workflow intentionally stores raw documents and intermediate/results files in a local task directory for later steps and modifications.
