Expand description
Package Testing and Security Scanning
Provides automated package validation through test definition, execution framework, and pre-install security scanning. The test runner validates test definitions; actual process spawning is deferred to user-space. The security scanner checks package file paths and requested capabilities against known-suspicious patterns before installation.
NOTE: Many types in this module are forward declarations for user-space APIs. They will be exercised when user-space process execution is functional. See TODO(user-space) markers for specific activation points.
Structs§
- Package
Security Scanner - Pre-install package security scanner.
- Package
Test - Definition of a single package test.
- Scan
Pattern - A pattern used to detect suspicious content in a package.
- Security
Finding - A security finding produced by the package scanner.
- Test
Result - Result of executing a single package test.
- Test
Runner - Test runner that manages and executes package tests.
Enums§
- Scan
Pattern Type - Classification of scan pattern types.
- Scan
Severity - Severity level for package security scan findings.
- Test
Type - Classification of package tests.
Functions§
- run_
package_ tests - Run all tests defined for a package.