Tool secret locations
tool_secret_locations
ToolSecretLocation
dataclass
A literal that exposes a third-party tool's secret location.
Source code in packages/axm-audit/src/axm_audit/core/rules/practices/tool_secret_locations.py
ToolSecretLocationRule
Bases: ProjectRule
Detect third-party secret locations embedded in auth detectors.
Source code in packages/axm-audit/src/axm_audit/core/rules/practices/tool_secret_locations.py
rule_id
property
Unique identifier for this rule.
check(project_path)
Report third-party session paths and keyring service literals.
Source code in packages/axm-audit/src/axm_audit/core/rules/practices/tool_secret_locations.py
find_tool_keyring_service_literals(tree, first_party)
Find third-party service literals used by keyring APIs or security.
Source code in packages/axm-audit/src/axm_audit/core/rules/practices/tool_secret_locations.py
find_tool_session_path_literals(tree, first_party)
Find third-party tool session-path literals in a parsed module.
Source code in packages/axm-audit/src/axm_audit/core/rules/practices/tool_secret_locations.py
first_party_namespaces(project)
Derive namespace tokens owned by the audited project.
Source code in packages/axm-audit/src/axm_audit/core/rules/practices/tool_secret_locations.py
is_auth_detection_module(module_path)
Return whether a path contains an auth-detection namespace token.