Back to skill

Security audit

PKU CWFW

Security checks for vulnerabilities and agentic risk

Overview

This skill is meant for PKU financial portal access, but it tells agents to log in and query sensitive financial records with a persisted session without clear user consent or session guardrails.

Install only if you trust the local `cwfw` and `info-auth` commands and are comfortable letting an agent access your PKU financial portal. Require explicit approval before login and before salary, remuneration, or reimbursement queries, avoid exposing outputs in logs or chat, and run logout or remove the persisted session when finished.

Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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
Findings (1)

Missing User Warnings

Medium
Confidence
91% confidence
Finding
The skill explicitly tells an agent to perform `info-auth check` and `cwfw login -p` against a financial portal, then query account data, but it does not require an explicit user confirmation, warn that financial records will be accessed, or disclose that a session will be persisted under `~/.config/info/cwfw/`. In the context of a university finance system, silent login and session creation materially increase the risk of unauthorized access to sensitive payroll/reimbursement data or unintended long-lived authentication on a shared machine.

Static analysis

No suspicious patterns detected.