feishu-calendar-hardened
Pass
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: SAFEPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection through the synchronization logic in
sync.js. External data fetched from the Feishu (Lark) API is written into theHEARTBEAT.mdfile, which may influence the agent's future behavior if it contains malicious instructions.\n - Ingestion points:
sync.jsretrieves event summaries and descriptions from the Feishu API via theCalendarManagerclass.\n - Boundary markers: No delimiters or protective instructions are used when interpolating external event data into
HEARTBEAT.md.\n - Capability inventory: The skill can write to the local file system and manage calendar events (list, create, and delete) using the provided Feishu credentials.\n
- Sanitization: The skill does not sanitize or escape the event summaries before writing them to the project's heartbeat file.\n- [DATA_EXFILTRATION]: The skill performs file system operations on sensitive files and directories located outside of the skill's own folder.
lib/CalendarManager.jsattempts to load environment variables from../../../.env, whilesync.jsmodifies../../HEARTBEAT.mdand../../memory/calendar_events.json.\n- [DATA_EXFILTRATION]: A discrepancy was detected between the security guardrails described inSKILL.mdand the actual capabilities of the included scripts. While the documentation states that the skill only supports listing, searching, checking, syncing, and creating events, the scriptscleanup.jsandsetup_routine.jscontain functional code to delete events from the Feishu calendar.
Audit Metadata