skills/ndpvt-web/arxiv-claude-skills/detecting-correcting-hallucinations-llm-generated/Gen Agent Trust Hub
detecting-correcting-hallucinations-llm-generated
Pass
Audited by Gen Agent Trust Hub on Jun 20, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements a static analysis pipeline that parses code into an Abstract Syntax Tree (AST) using the standard library
astmodule. This allows for structural validation of code without execution, mitigating risks associated with running untrusted content. - [SAFE]: The methodology explicitly instructs the agent to avoid executing the generated code to test parameters, citing security risks as the primary reason for this constraint.
- [SAFE]: Introspection techniques (
inspect,dir,getattr) are used strictly for metadata extraction (signatures, parameter names) from libraries already present in the environment to build a reference Knowledge Base. - [SAFE]: The skill mentions external package installation (e.g.,
pip install) only as a remediation step for missing libraries, which is a standard developer workflow targeting official registries.
Audit Metadata