k-dart
Fail
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill directs the agent to execute
npx -y @nomadamas/k-skill@0 instruct k-dart. This command downloads and runs code from a remote, third-party npm package at runtime to fetch primary instructions, allowing the skill's logic to be updated dynamically without changes to the local skill files. - [COMMAND_EXECUTION]: The skill uses shell commands including
curl,grep,awk, andunzipon Linux/macOS, andInvoke-WebRequestandExpand-Archiveon Windows to interact with the DART API and process downloaded files. - [EXTERNAL_DOWNLOADS]: The skill fetches a corporate code database (CORPCODE.xml) from the official DART API (
https://opendart.fss.or.kr/api/corpCode.xml) and extracts it to the local temporary file system. - [CREDENTIALS_UNSAFE]: The
API_K_DARTauthentication key is passed as a plaintext query parameter incurlandInvoke-WebRequestcommands. This practice can lead to the key being exposed in command history, system logs, or network proxy logs. - [INDIRECT_PROMPT_INJECTION]: The skill ingests external data from the DART API and corporate registry files, creating a vulnerability surface for indirect instructions.
- Ingestion points: Data is fetched from
corpCode.xmland various JSON endpoints onopendart.fss.or.kr(e.g.,list.json,company.json). - Boundary markers: The instructions do not define any delimiters to separate external data from agent instructions.
- Capability inventory: The skill has capabilities for file system access (writing to
/tmpor$env:TEMP) and shell command execution. - Sanitization: There is no evidence of sanitization or filtering of the external API content before it is processed by the agent.
Recommendations
- AI detected serious security threats
Audit Metadata