Incomplete referenced artifact analysis
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md [Android on GitHub Actions](references/android-github-actions.md),
Security audit
Security checks for vulnerabilities and agentic risk
ClawScan marked this mobile CI/CD skill benign because the reported findings appear consistent with its purpose, while scanner coverage was partial and some installation and persistence checks remain notes.
The verdict is benign, not risk-free. Consider that Skillspector inspected 4 of 5 components fully, with one Android reference only partially inspected and a degraded tool-misuse analyzer. If you install it, review the unpinned Firebase CLI examples and the CI commands that use elevated privileges.
Referenced artifact was not completely inspected
[Android on GitHub Actions](references/android-github-actions.md),
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
## Anti-patterns
- `pull_request_target` or `workflow_run` that checks out and builds PR code with secrets available.
- Third-party actions referenced by tag or branch, or `curl ... | bash` installers in release jobs.
- Workflow-level `permissions: write-all` or no `permissions:` block at all.
- Keystores, `.p12`, `.p8`, `google-services.json` with production keys, or passwords committed "temporarily".
- Signing release builds on every PR "to make sure signing works".
Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
- uses: gradle/actions/setup-gradle@<sha> # v6
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- uses: reactivecircus/android-emulator-runner@<sha> # v2
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
platform :ios do
lane :beta do
setup_ci # temporary keychain on CI, no changes to the login keychain
api_key = app_store_connect_api_key(
key_id: ENV.fetch("ASC_KEY_ID"),
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
platform :ios do
lane :beta do
setup_ci # temporary keychain on CI, no changes to the login keychain
api_key = app_store_connect_api_key(
key_id: ENV.fetch("ASC_KEY_ID"),
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
7. Validate locally where possible: `actionlint` for syntax and expression errors, `zizmor` for
workflow security findings, and a dry run on a branch with the release job disabled.
8. Deliver the files plus the list of required secrets and the manual setup steps (see Output format).
Never ask the user to paste secret values into the conversation.
## Pipeline shape
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
- uses: gradle/actions/setup-gradle@<sha> # v6
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- uses: reactivecircus/android-emulator-runner@<sha> # v2
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- uses: reactivecircus/android-emulator-runner@<sha> # v2
with:
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- uses: reactivecircus/android-emulator-runner@<sha> # v2
with:
api-level: ${{ matrix.api-level }}
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
persist-credentials: false
- name: Select Xcode
run: sudo xcode-select -s "/Applications/Xcode_${XCODE_VERSION}.app"
- uses: actions/cache@<sha> # v6
with:
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
persist-credentials: false
- name: Select Xcode
run: sudo xcode-select -s "/Applications/Xcode_${XCODE_VERSION}.app"
- uses: actions/cache/restore@<sha> # v6
with:
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
"--obfuscate",
"--split-debug-info=build/symbols/ios-prod",
"--build-number=#{ENV.fetch('BUILD_NUMBER')}",
"--export-options-plist=ios/ExportOptions.plist"
)
end
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
"--obfuscate",
"--split-debug-info=build/symbols/ios-prod",
"--build-number=#{ENV.fetch('BUILD_NUMBER')}",
"--export-options-plist=ios/ExportOptions.plist"
)
end
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
- Plain Ruby in a Fastfile runs with `ios/fastlane` as the working directory, while actions resolve
paths from `ios/`. Absolute paths (as above) avoid mixing the two up.
- `ios/ExportOptions.plist` sets `method` to App Store distribution, manual signing, and maps the bundle
id to the `match AppStore <bundle id>` profile.
- The Xcode project's Release configuration for the `prod` scheme uses manual signing with that profile.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
runner label and Xcode version from that, not from what is cheapest.
- Release signing uses manual signing in the Release configuration with the `match` profile names, or
`match` updates the project with `update_code_signing_settings`. Decide which before writing lanes.
- Any `Info.plist`, entitlement or capability change needed for CI (for example a new app group) is
called out to the owner, because the provisioning profiles must be regenerated.
## Workflow: `.github/workflows/ios.yml`
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
certificates repository. A deploy key or a cloud storage backend for `match` is equally fine.
- `MATCH_PASSWORD` decrypts the repository. Losing it means regenerating certificates; store it in a
password manager as well as in CI.
- `CURRENT_PROJECT_VERSION` and `MARKETING_VERSION` overrides work when `Info.plist` uses
`$(CURRENT_PROJECT_VERSION)` and `$(MARKETING_VERSION)`, which is the default for current Xcode templates.
Older projects with hardcoded values need that change first.
- Build numbers must increase for each upload of the same marketing version. Set `BUILD_NUMBER_OFFSET`