skills/datadrivenconstruction/ddc_skills_for_ai_agents_in_construction/contract-clause-extractor/Gen Agent Trust Hub
contract-clause-extractor
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted text from construction contracts, creating a surface where malicious instructions could be embedded in documents to influence agent behavior.
- Ingestion points: The
ContractClauseExtractor.extract_clausesandgenerate_summarymethods inSKILL.mdprocess user-providedcontract_textstrings. - Boundary markers: The implementation lacks explicit delimiters or instructions to ignore embedded commands within the processed text.
- Capability inventory: The skill requests
filesystempermissions inclaw.json, which allows the agent to perform file operations that could be targeted by an injection attack. - Sanitization: The code uses regex for data extraction and truncates text to 2000 characters, but does not sanitize the content against instructions directed at the LLM.
- [SAFE]: The skill implementation uses standard Python libraries (re, dataclasses, enum) to perform local text analysis. No network requests, external downloads, or obfuscation techniques were detected. The homepage and author identifiers are consistent with the vendor's own domain.
Audit Metadata