labarchive-integration
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill implements strong security controls for handling LabArchives API credentials.
- Scripts read credentials from specific environment variables (
LABARCHIVES_ACCESS_KEY_ID,LABARCHIVES_ACCESS_PASSWORD, etc.) rather than files or command-line arguments. scripts/setup_config.pyusesgetpassfor sensitive input to ensure passwords are only held in memory.- The implementation of HMAC-SHA-512 request signing in
scripts/entry_operations.pyfollows official security protocols and includes a self-test against official test vectors. - [SAFE]: The local file inspection tool (
scripts/notebook_operations.py) is designed with defensive programming against common archive-related attacks. - It includes explicit limits for member count, total size, and compression ratios to prevent ZIP bomb attacks.
- Path validation (
_member_path_error) effectively blocks path traversal by rejecting absolute paths, backslashes, and directory traversal segments (..). - It refuses to process encrypted members, symbolic links, or XML files containing DTD/entity declarations (mitigating XXE vulnerabilities).
- The output function (
_write_json_safely) usesO_NOFOLLOWand strict file permissions (0o600) to prevent symlink attacks and unauthorized access to generated reports. - [SAFE]: The skill emphasizes operational safety by providing network-free tools for request planning and dry runs, ensuring that authentication material and sensitive research data are not accidentally logged or transmitted during the configuration phase.
Audit Metadata