rp
Fail
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/task_report.pyreads sensitive authentication data, including a URL and a Bearer token, from the user's home directory (~/.hang/urland~/.hang/token). This credential is used to authenticate requests to the Hang API. - [REMOTE_CODE_EXECUTION]: Automated security scans identified a high-risk pattern in
scripts/task_report.pywhere data fetched from a network API (fetch(a.room)) is subsequently passed to a subprocess execution ofbook.py. This chain could potentially be exploited if the remote data source is compromised to include malicious payloads that target the processing tool. - [COMMAND_EXECUTION]: The skill performs shell command execution in multiple places.
scripts/check_lang.mjsusesexecSyncto runnpm root -gfor environment configuration. Additionally,scripts/task_report.pyusessubprocess.runto invoke thebook.pyscript for converting Markdown to HTML. - [DYNAMIC_EXECUTION]: The
finish()function inscripts/task_report.pydynamically constructs a JavaScript block and injects it into the final HTML output. This script manages client-side logic such as language toggling and interaction with the browser's Translator API. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the Hang API (
GET /work/open). This data is used to generate report content. Although theshort()function attempts to sanitize input by removing specific Markdown characters and delimiters, the ingestion of untrusted remote data that is later displayed or processed creates an attack surface for indirect prompt injection. - Ingestion points:
scripts/task_report.pyvia thefetch()function reading from the Hang API. - Boundary markers: The script uses custom delimiters like
⟦,¦,⟧for bilingual support and⟪,⟫for task names, which are later processed into HTML spans. - Capability inventory: File system writing (
.mdand.htmlfiles), subprocess execution (book.py), and network read access (Hang API). - Sanitization: The
short()function inscripts/task_report.pystrips asterisks and internal delimiters from task names.
Recommendations
- HIGH: Downloads and executes remote code from: unknown (check file) - DO NOT USE without thorough review
Audit Metadata