Incomplete referenced artifact analysis
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md - `scripts/bid_decision_analyzer.py` — 投标决策分析器
Security audit
Security checks for vulnerabilities and agentic risk
ClawScan marked this procurement-analysis skill suspicious because scanners found broad, undeclared access and several policy and reliability weaknesses; analysis was incomplete for some components.
Treat this as a review warning, not a claim that the author is malicious. Consider avoiding installation until the tool permissions, remote update process, OCR data handling, and crawling behavior are clarified; also treat bid and compliance outputs cautiously. Scanner coverage was partial (78.6%), including a script that could not be parsed, so the evidence is incomplete.
Referenced artifact was not completely inspected
- `scripts/bid_decision_analyzer.py` — 投标决策分析器
The skill directs local file access, persistent writes, network collection, and shell-based operations without declaring a least-privilege tool scope. These capabilities support legitimate procurement workflows, but unrestricted execution could amplify the consequences of malicious tender documents or compromised remote content; actual exposure depends on host-enforced permissions.
When local OCR is unavailable, the skill automatically falls back to multimodal recognition without establishing whether that recognition is local or externally hosted. Certificate images may contain personal or commercially sensitive information, so external processing without disclosure or consent would violate the skill's local-only assurances; the separate prohibition on uploading sensitive certificates is not an operational enforcement mechanism.
The update workflow directs the agent to run tongyifabu.ps1 and replace SKILL.md with remotely retrieved instructions, without specifying publisher authentication, integrity verification, or review of changed capabilities. User confirmation reduces silent-update risk, but a compromised update source or updater could still introduce instructions that gain access to sensitive bidding records.
RobotFileParser.read() handles some HTTP errors internally rather than raising an exception; for example, a 404 can set its allow-all state. Consequently, the exception handler does not enforce the stated policy of denying crawling whenever robots.txt cannot be retrieved, and agents copying this example could violate that policy.
After receiving HTTP 429, the example sleeps and continues its retry loop instead of marking the domain unavailable for the session. Retrying after Retry-After is not inherently unsafe, but here it contradicts the explicitly stronger session-stop policy and can cause unwanted requests, further throttling, or account/IP blocking.
The reference accepts price_score_formula but never uses it, and its suggested range also ignores the budget argument. In a procurement decision-support skill, presenting these heuristic results as formula-based optimization is a business-logic integrity defect that can produce financially poor or over-budget recommendations; the simplification comment does not make the output reliable.
The no-history branch returns 85–90% of budget without checking cost and reports a fixed 10% profit margin, so it can recommend a loss-making bid while suggesting profitability. This is a procurement-specific financial integrity defect, although the file's separate malformed method declaration currently prevents execution as supplied; the defect remains if that syntax error is repaired or the function is reused.
The fetcher checks robots.txt only for the original URL, then lets requests automatically follow redirects to different paths or hosts without checking their policies. A redirect can therefore bypass the crawler's compliance gate, and destination requests are also absent from its per-domain throttling and failed-domain checks.
T004 requires at least one working day, but delegates to a helper that counts elapsed calendar days, so a period spanning only non-working days can incorrectly pass. In a procurement compliance auditing tool, this creates a false-negative compliance result that could conceal an insufficient announcement period and mislead procurement decisions; there is no evidence of malicious intent.
The trigger table includes standalone phrases such as “分工” (task allocation), “体检” (health check), and “周报” (weekly report), which commonly occur outside government procurement. Line 71 states that using trigger words in conversation activates the skill, but the README provides no explicit procurement-context requirement or exclusions for these generic phrases.
The instruction explicitly requires the agent to provide the installation notice in Chinese (「并中文提示」), regardless of the user's preferred language. Although the skill concerns Chinese procurement rules, this language restriction is not justified as a compliance necessity, and the manifest also advertises English support.