Back to skill

Security audit

bid-objection-reply-advisor

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent procurement-objection reply advisor with disclosed legal-review limits, though users should independently verify deadline calculations and local rules before relying on it.

Install only as drafting support for招投标异议答复, not as a substitute for counsel or the responsible authority's current rules. Before acting on any deadline or sending any reply, confirm the governing law, local trading-platform rules, received date, suspension obligation, and cited statutes with legal/procurement staff.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
回归测试用例_v1.md:65
Finding

Regression Test Incorrectly Accepts a Missed Statutory Response Deadline

Content
View full analysis

Vulnerability Details

File Location: 回归测试用例_v1.md, line 65
Vulnerability Type: Incorrect deadline-validation oracle
Risk Level: Medium

Vulnerable Snippet

text
- Procuring entity received the objection: 2026-04-15; response date: 2026-04-24
  (calendar days, within the three-day limit ✓; this example spans multiple
  non-working days, and the Skill must explicitly state that the three-day
  period consists of calendar days and must not be exceeded).

The excerpt above is an English rendering of the affected test specification. It identifies April 24 as compliant with a three-calendar-day deadline beginning on April 15.

Technical Analysis

The regression oracle is mathematically inconsistent with the Skill's mandatory deadline rule. April 24 is nine calendar days after April 15, while a three-calendar-day deadline would expire on April 18 at the latest.

This conflicts with:

  • SKILL.md, which repeatedly requires a response within three calendar days.
  • 回归实测_5例.md, which correctly calculates April 18 as the deadline and identifies April 24 as the actual late response.

In this documentation-only project, regression expectations directly influence how the agent's behavior is evaluated. The incorrect check mark creates a false-positive test oracle: an implementation or generated response that accepts a nine-day interval could pass review despite violating the declared rule. Contradictory instructions may also produce nondeterministic behavior when both the primary Skill and regression fixture are supplied as context.

Attack Path

  1. A developer, evaluator, or AI agent uses the regression specification as the expected behavioral reference.
  2. The April 15 to April 24 interval is interpreted as compliant because the fixture explicitly labels it as within three days and marks it as passing.
  3. Similar deadline-calculation defects are accepted during testing or review.
  4. The Skill generates or approves a response after the a ...[truncated 925 chars]
Remediation
View remediation

Remediation Suggestions

  1. Replace the response date with 2026-04-18 or an earlier date if the scenario is intended to represent a compliant response.
  2. If April 24 reflects the underlying case, explicitly mark the response as overdue and make deadline rejection the expected result.
  3. Add deterministic validation requiring:
text
response_date <= received_date + 3 calendar days
  1. Add boundary tests covering:
    • A response issued on the date of receipt.
    • A response issued exactly on the third calendar day.
    • A response issued on the fourth calendar day.
    • Deadlines spanning weekends and public holidays.
    • Invalid or missing dates.
  2. Ensure executable assertions or independently calculated dates determine pass or fail status rather than narrative check marks.
  3. Re-run the regression suite after correction and reconcile the expected-results document with SKILL.md and 回归实测_5例.md.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The report hard-codes a legal-compliance rule that '3日' should be treated as calendar days, while only later adding a caveat for local variation. In a procurement-objection reply skill, this can cause users to miss or miscalculate statutory deadlines, creating procedural noncompliance, waived rights, or invalid responses if the applicable local rule or platform practice differs.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.