LangChain Structured Output & HITL

Warn

Audited by Runlayer on Feb 21, 2026

Risk Level: MEDIUM
Scan Summary
Max Score
78%
Files
1
Flagged
1
Chunks
2
Flagged Files (1)
SKILL.mdHIGH
78.3%

Malicious tool definition detected

Tool: SKILL.md [1/2] Description: --- name: LangChain Structured Output & HITL description: "INVOKE THIS SKILL when you need structured/typed output from LLMs OR human-in-the-loop approval.

Tool: SKILL.md [2/2] Description: middleware=[ human_in_the_loop_middleware( interrupt_on={ "send_email": {"allowed_decisions": ["approve", "edit", "reject"]}, "delete_email": {"allowed_decisions": ["approve", "reject"]}, # No edit "read_email": False, # No HITL for reading } ) ], ) ``` </python> </ex-multiple-tools-different-policies> <boundaries> ### What You CAN Configure **Structured Output:** - Schema structure: Any valid Pydantic/Zod model - Field validation: Types, ranges, regex, etc.

Audit Metadata
Max File Score
78%
Classification
UNKNOWN_SERVER
Files Scanned
1
Files Flagged
1
Chunks Analyzed
2
Analyzed
Feb 21, 2026, 03:49 PM
Security Audit — runlayer — LangChain Structured Output & HITL