@dailephd/my-dev-kit-lab 0.4.5 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -1
- package/README.md +43 -3
- package/dist/scripts/cli.js +9 -0
- package/dist/src/audits/core/typescriptJavaScriptAnalyzer.js +30 -12
- package/dist/src/browser/index.js +2 -0
- package/dist/src/browser/playwrightRuntime.js +74 -0
- package/dist/src/browser/types.js +10 -0
- package/dist/src/cli/help.js +376 -0
- package/dist/src/cli/index.js +2 -0
- package/dist/src/cli/runLabCli.js +257 -0
- package/dist/src/commands/runAuditCommand.js +132 -0
- package/dist/src/commands/runControlledExperimentCommand.js +7 -3
- package/dist/{scripts/experiments/describeExperiment.js → src/commands/runExperimentDescribeCommand.js} +14 -10
- package/dist/{scripts/experiments/listExperiments.js → src/commands/runExperimentListCommand.js} +3 -6
- package/dist/{scripts/experiments/runExperiment.js → src/commands/runExperimentRunCommand.js} +80 -22
- package/dist/src/commands/runFinalDemoCommand.js +2 -3
- package/dist/src/commands/runSecurityValidationCommand.js +271 -0
- package/dist/src/commands/runTutorialRunCommand.js +170 -0
- package/dist/src/commands/runTutorialValidateCommand.js +138 -0
- package/dist/src/core/processTree.js +52 -0
- package/dist/src/core/resolveCommand.js +34 -0
- package/dist/src/core/runMeasuredCommand.js +39 -31
- package/dist/src/runtime/index.js +4 -0
- package/dist/src/runtime/labExecutionContext.js +22 -0
- package/dist/src/runtime/managedProcess.js +380 -0
- package/dist/src/runtime/packageResource.js +22 -0
- package/dist/src/runtime/packageRoot.js +37 -0
- package/dist/src/screenshot/captureReportScreenshot.js +30 -27
- package/dist/src/securityValidation/packageChecks/requiredPackageContents.js +14 -1
- package/dist/src/tutorial/index.js +16 -0
- package/dist/src/tutorial/loadTutorialContracts.js +60 -0
- package/dist/src/tutorial/markdownTutorialWriter.js +53 -0
- package/dist/src/tutorial/runTutorial.js +465 -0
- package/dist/src/tutorial/scenarioValidation.js +383 -0
- package/dist/src/tutorial/subtitleWriter.js +88 -0
- package/dist/src/tutorial/targetContractValidation.js +212 -0
- package/dist/src/tutorial/tutorialActions.js +110 -0
- package/dist/src/tutorial/tutorialArtifacts.js +176 -0
- package/dist/src/tutorial/tutorialAssertions.js +249 -0
- package/dist/src/tutorial/tutorialCursor.js +149 -0
- package/dist/src/tutorial/tutorialLocators.js +37 -0
- package/dist/src/tutorial/tutorialManifest.js +74 -0
- package/dist/src/tutorial/tutorialOverlay.js +180 -0
- package/dist/src/tutorial/tutorialPaths.js +86 -0
- package/dist/src/tutorial/tutorialSession.js +398 -0
- package/dist/src/tutorial/types.js +48 -0
- package/dist/src/tutorial/validationPrimitives.js +141 -0
- package/examples/tutorial-browser/index.html +47 -0
- package/examples/tutorial-browser/prepare.mjs +14 -0
- package/examples/tutorial-browser/scenario.json +17 -0
- package/examples/tutorial-browser/server.mjs +14 -0
- package/package.json +13 -9
- package/dist/scripts/audits/runAudit.js +0 -135
- package/dist/scripts/build-gallery.js +0 -3
- package/dist/scripts/capture-demo-report.js +0 -3
- package/dist/scripts/evaluate-token-savings.js +0 -2
- package/dist/scripts/generate-experiment-plots.js +0 -3
- package/dist/scripts/generate-prompt-variants.js +0 -2
- package/dist/scripts/render-experiment-report.js +0 -2
- package/dist/scripts/report-context-integrity-smoke.js +0 -70
- package/dist/scripts/run-agent-prompt.js +0 -2
- package/dist/scripts/run-controlled-experiment.js +0 -2
- package/dist/scripts/run-lab-demo.js +0 -5
- package/dist/scripts/run-visualization-demos.js +0 -3
- package/dist/scripts/security/resolveToolRoot.js +0 -16
- package/dist/scripts/security/runCodeql.js +0 -58
- package/dist/scripts/security/runDependencyChecks.js +0 -58
- package/dist/scripts/security/runFuzzSmoke.js +0 -29
- package/dist/scripts/security/runPackageChecks.js +0 -57
- package/dist/scripts/security/runSemgrep.js +0 -64
- package/dist/scripts/security/validate.js +0 -266
- package/dist/scripts/verify-benchmarks.js +0 -202
- package/examples/demo-report-input.json +0 -78
- package/examples/lab-demo-cases.json +0 -35
- package/examples/real-agent-campaign-cases.json +0 -118
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/debug/res/xml/ambiguous_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/ambiguous_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/backup_rules.xml +0 -5
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/broad_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/data_extraction_rules.xml +0 -10
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-a/src/main/res/xml/unsupported_domain_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-b/src/main/res/xml/malformed_backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/backup-configuration/module-b/src/main/res/xml/unsupported_root.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/debug/res/xml/ambiguous_config.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/ambiguous_config.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/base_cleartext_false.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/broad_and_duplicate_domains.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/empty_domain.xml +0 -6
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/malformed_pin.xml +0 -11
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-a/src/main/res/xml/network_security_config.xml +0 -26
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-b/src/main/res/xml/malformed_network_security_config.xml +0 -6
- package/tests/fixtures/android/advanced-security-fixtures/network-security/module-b/src/main/res/xml/unsupported_root.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/groovy-release-debuggable-dynamic.gradle +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/groovy-release-debuggable-false.gradle +0 -9
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/groovy-release-debuggable-true.gradle +0 -13
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/kotlin-release-debuggable-false.gradle.kts +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/kotlin-release-debuggable-true.gradle.kts +0 -10
- package/tests/fixtures/android/advanced-security-fixtures/release-configuration/missing-release-build-type.gradle.kts +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-a/src/debug/res/xml/network_security_config.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-a/src/main/res/xml/backup_rules.xml +0 -4
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-a/src/main/res/xml/network_security_config.xml +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/resource-resolution/module-b/src/main/res/xml/malformed_network_security_config.xml +0 -7
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/SampleActivity.java +0 -8
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/SampleActivity.kt +0 -9
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/build.gradle +0 -11
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/build.gradle.kts +0 -11
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/google-services.json +0 -16
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates/local.properties +0 -3
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates-bounds/module/binary.properties +0 -0
- package/tests/fixtures/android/advanced-security-fixtures/secret-candidates-bounds/module/oversized.json +0 -1
- package/tests/fixtures/android/advanced-security-fixtures/signing-configuration/app/fake-release-keystore.jks +0 -1
- package/tests/fixtures/android/advanced-security-fixtures/signing-configuration/build/generated-fake.keystore +0 -1
- package/tests/fixtures/android/compose-app/app/build.gradle.kts +0 -21
- package/tests/fixtures/android/compose-app/app/src/main/AndroidManifest.xml +0 -22
- package/tests/fixtures/android/compose-app/app/src/main/java/com/example/composeapp/MainActivity.kt +0 -11
- package/tests/fixtures/android/compose-app/build.gradle.kts +0 -4
- package/tests/fixtures/android/compose-app/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/compose-app/settings.gradle.kts +0 -2
- package/tests/fixtures/android/gradle-metadata-fixtures/catalog-only-plugin/build.gradle.kts +0 -3
- package/tests/fixtures/android/gradle-metadata-fixtures/catalog-only-plugin/gradle/libs.versions.toml +0 -5
- package/tests/fixtures/android/gradle-metadata-fixtures/comment-safety.gradle.kts +0 -21
- package/tests/fixtures/android/gradle-metadata-fixtures/dynamic-values.gradle.kts +0 -17
- package/tests/fixtures/android/gradle-metadata-fixtures/groovy-literal.gradle +0 -23
- package/tests/fixtures/android/gradle-metadata-fixtures/wrapper-malformed.properties +0 -4
- package/tests/fixtures/android/gradle-metadata-fixtures/wrapper-missing-url.properties +0 -3
- package/tests/fixtures/android/gradle-metadata-fixtures/wrapper-with-checksum.properties +0 -5
- package/tests/fixtures/android/java-app/app/build.gradle +0 -16
- package/tests/fixtures/android/java-app/app/src/main/AndroidManifest.xml +0 -19
- package/tests/fixtures/android/java-app/app/src/main/java/com/example/javaapp/MainActivity.java +0 -4
- package/tests/fixtures/android/java-app/build.gradle +0 -3
- package/tests/fixtures/android/java-app/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/java-app/settings.gradle +0 -2
- package/tests/fixtures/android/library/build.gradle.kts +0 -3
- package/tests/fixtures/android/library/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/library/mylibrary/build.gradle.kts +0 -13
- package/tests/fixtures/android/library/mylibrary/src/main/AndroidManifest.xml +0 -2
- package/tests/fixtures/android/library/settings.gradle.kts +0 -2
- package/tests/fixtures/android/manifest-audit-fixtures/incomplete-intent-filter.xml +0 -14
- package/tests/fixtures/android/manifest-audit-fixtures/malformed-exported.xml +0 -10
- package/tests/fixtures/android/manifest-audit-fixtures/malformed.xml +0 -5
- package/tests/fixtures/android/manifest-audit-fixtures/missing-application.xml +0 -7
- package/tests/fixtures/android/manifest-audit-fixtures/missing-component-name.xml +0 -11
- package/tests/fixtures/android/manifest-audit-fixtures/permission-coverage.xml +0 -29
- package/tests/fixtures/android/manifest-audit-fixtures/risky-components.xml +0 -62
- package/tests/fixtures/android/manifest-audit-fixtures/risky-deep-links.xml +0 -45
- package/tests/fixtures/android/manifest-audit-fixtures/unresolved-placeholder.xml +0 -14
- package/tests/fixtures/android/manifest-audit-fixtures/unusual-namespace-prefix.xml +0 -11
- package/tests/fixtures/android/multi-module/app/build.gradle.kts +0 -22
- package/tests/fixtures/android/multi-module/app/src/androidTest/java/com/example/multimodule/app/ExampleInstrumentedTest.kt +0 -3
- package/tests/fixtures/android/multi-module/app/src/main/AndroidManifest.xml +0 -11
- package/tests/fixtures/android/multi-module/app/src/test/java/com/example/multimodule/app/ExampleUnitTest.kt +0 -3
- package/tests/fixtures/android/multi-module/build.gradle.kts +0 -5
- package/tests/fixtures/android/multi-module/core/build.gradle.kts +0 -14
- package/tests/fixtures/android/multi-module/core/src/main/AndroidManifest.xml +0 -2
- package/tests/fixtures/android/multi-module/feature-login/build.gradle.kts +0 -18
- package/tests/fixtures/android/multi-module/feature-login/src/main/AndroidManifest.xml +0 -2
- package/tests/fixtures/android/multi-module/gradle/libs.versions.toml +0 -8
- package/tests/fixtures/android/multi-module/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/multi-module/settings.gradle.kts +0 -4
- package/tests/fixtures/android/non-android-gradle/build.gradle.kts +0 -3
- package/tests/fixtures/android/non-android-gradle/core/build.gradle.kts +0 -3
- package/tests/fixtures/android/non-android-gradle/core/src/main/java/com/example/core/Core.java +0 -4
- package/tests/fixtures/android/non-android-gradle/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/non-android-gradle/settings.gradle.kts +0 -2
- package/tests/fixtures/android/partial/app/build.gradle.kts +0 -7
- package/tests/fixtures/android/partial/settings.gradle.kts +0 -2
- package/tests/fixtures/android/xml-view-app/app/build.gradle.kts +0 -17
- package/tests/fixtures/android/xml-view-app/app/src/main/AndroidManifest.xml +0 -31
- package/tests/fixtures/android/xml-view-app/app/src/main/kotlin/com/example/xmlviewapp/MainActivity.kt +0 -7
- package/tests/fixtures/android/xml-view-app/app/src/main/res/layout/activity_main.xml +0 -4
- package/tests/fixtures/android/xml-view-app/build.gradle.kts +0 -4
- package/tests/fixtures/android/xml-view-app/gradle/wrapper/gradle-wrapper.properties +0 -4
- package/tests/fixtures/android/xml-view-app/settings.gradle.kts +0 -2
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/README.md +0 -16
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/build.gradle.kts +0 -4
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/src/main/java/com/example/Widget.java +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-docs-claims/src/main/kotlin/com/example/Gadget.kt +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/README.md +0 -10
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/build/Main.class +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/dist/index.js +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/generated/schema.ts +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-generated-vendor/vendor/lib.py +0 -2
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/README.md +0 -10
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/build.gradle.kts +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/settings.gradle.kts +0 -1
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/main/java/com/example/FooService.java +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/main/kotlin/com/example/BarService.kt +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/test/java/com/example/FooServiceTest.java +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-java-kotlin/src/test/kotlin/com/example/BarServiceTest.kt +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/README.md +0 -8
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/src/app.py +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-python-ts/tests/test_app.py +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/README.md +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/src/helper.js +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-ts-js/tests/index.sample.ts +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/README.md +0 -10
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/build.gradle.kts +0 -4
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/pytests/test_app.py +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/app.py +0 -2
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/helper.js +0 -5
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/index.ts +0 -3
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/main/java/com/example/Multiplier.java +0 -7
- package/tests/fixtures/audits/mixed-language/mixed-ts-python-jvm/src/main/kotlin/com/example/Divider.kt +0 -7
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/corrected-replay/derived/run-integrity-evidence.json +0 -99
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/corrected-replay/producer/implementation-audit.json +0 -1585
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/corrected-replay/producer/implementation-capsule.json +0 -11455
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/00-request.txt +0 -1
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/architecture-context-packet.txt +0 -82
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/behavior-model.txt +0 -104
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/final-report.txt +0 -41
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/implementation-context-packet.txt +0 -114
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/implementation-report.txt +0 -92
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/judge-report.txt +0 -34
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/pseudocode-packet.txt +0 -244
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/request-brief.txt +0 -40
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/test-context-packet.txt +0 -93
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/test-implementation-report.txt +0 -69
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/test-strategy-packet.txt +0 -354
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/artifacts/verification-report.txt +0 -85
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/derived/run-integrity-evidence.json +0 -98
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/architecture-audit.json +0 -1169
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/architecture-request.json +0 -29
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/implementation-audit.json +0 -1494
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/implementation-capsule.json +0 -11364
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/implementation-request.json +0 -33
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/producer/test-request.json +0 -74
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/reports/architecture-context-retrieval-report.txt +0 -58
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/reports/implementation-context-retrieval-report.txt +0 -75
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/reports/test-context-retrieval-report.txt +0 -84
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/run.json +0 -62
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/tool-versions/my-dev-kit-version.txt +0 -1
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/failed-run/tool-versions/orchestrator-version.txt +0 -1
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/manifests/corrected-replay-manifest.json +0 -19
- package/tests/fixtures/ecosystem/context-integrity/v0.4.5/manifests/failed-run-manifest.json +0 -56
- package/tests/fixtures/fake-adversarial-cli.js +0 -152
- package/tests/fixtures/fake-my-dev-kit-cli.js +0 -83
- package/tests/fixtures/full-workflow-library/complete-v1.0.0.json +0 -24
- package/tests/fixtures/full-workflow-library/future-minor-v1.1.0-additive.json +0 -25
- package/tests/fixtures/stage-context-expectations/complete-v1.0.0.json +0 -230
- package/tests/fixtures/stage-context-expectations/future-minor-v1.1.0-additive.json +0 -232
- package/tests/fixtures/stage-context-expectations/invalid/malformed-json.txt +0 -1
- package/tests/fixtures/stage-context-expectations/invalid/non-object-root.json +0 -1
- package/tests/fixtures/stage-context-expectations/minimal-v1.0.0.json +0 -18
- package/tests/fixtures/upstream-artifacts/invalid/malformed-json.txt +0 -1
- package/tests/fixtures/upstream-artifacts/invalid/non-object-root.json +0 -1
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/context-capsule/complete-v1.0.0.json +0 -504
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/context-capsule/future-minor-v1.1.0-additive.json +0 -955
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/retrieval-audit-record/complete-v1.0.0.json +0 -190
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.2/retrieval-audit-record/future-minor-v1.1.0-additive.json +0 -327
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.4/PROVENANCE.txt +0 -18
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.4/context-capsule/complete-v1.0.0.json +0 -556
- package/tests/fixtures/upstream-artifacts/my-dev-kit/1.10.4/retrieval-audit-record/complete-v1.0.0.json +0 -238
- package/tests/fixtures/upstream-artifacts/my-dev-kit-1.10.2-identity/PROVENANCE.txt +0 -13
- package/tests/fixtures/upstream-artifacts/my-dev-kit-1.10.2-identity/context-capsule.json +0 -7874
- package/tests/fixtures/upstream-artifacts/my-dev-kit-1.10.2-identity/retrieval-audit-record.json +0 -1076
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.1/workflow-instruction-packet/complete-v1.0.0.json +0 -160
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.1/workflow-instruction-packet/future-minor-v1.1.0-additive.json +0 -186
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.3/run-integrity/PROVENANCE.txt +0 -31
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.3/run-integrity/ready-pass-final-pass.json +0 -132
- package/tests/fixtures/upstream-artifacts/my-dev-kit-orchestrator/1.2.3/run-integrity/refresh-required-need-context.json +0 -146
|
@@ -1 +0,0 @@
|
|
|
1
|
-
FAKE_KEYSTORE_DUMMY_BYTES_NOT_A_REAL_KEYSTORE
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
FAKE_KEYSTORE_DUMMY_BYTES_IN_BUILD_DIR
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
plugins {
|
|
2
|
-
id("com.android.application")
|
|
3
|
-
id("org.jetbrains.kotlin.android")
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
android {
|
|
7
|
-
namespace = "com.example.composeapp"
|
|
8
|
-
compileSdk = 34
|
|
9
|
-
|
|
10
|
-
defaultConfig {
|
|
11
|
-
applicationId = "com.example.composeapp"
|
|
12
|
-
minSdk = 24
|
|
13
|
-
targetSdk = 34
|
|
14
|
-
versionCode = 1
|
|
15
|
-
versionName = "1.0"
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
buildFeatures {
|
|
19
|
-
compose = true
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
|
|
4
|
-
<uses-permission android:name="android.permission.INTERNET" />
|
|
5
|
-
|
|
6
|
-
<application
|
|
7
|
-
android:label="Compose App"
|
|
8
|
-
android:icon="@mipmap/ic_launcher"
|
|
9
|
-
android:allowBackup="true">
|
|
10
|
-
|
|
11
|
-
<activity
|
|
12
|
-
android:name=".MainActivity"
|
|
13
|
-
android:exported="true">
|
|
14
|
-
<intent-filter>
|
|
15
|
-
<action android:name="android.intent.action.MAIN" />
|
|
16
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
17
|
-
</intent-filter>
|
|
18
|
-
</activity>
|
|
19
|
-
|
|
20
|
-
</application>
|
|
21
|
-
|
|
22
|
-
</manifest>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
plugins {
|
|
2
|
-
id("com.android.application")
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
// applicationId = "com.example.commented-out-should-not-be-used"
|
|
6
|
-
/*
|
|
7
|
-
namespace = "com.example.also-commented-out"
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
android {
|
|
11
|
-
namespace = "com.example.commentsafety"
|
|
12
|
-
// A string that merely mentions "applicationId" in prose should not match.
|
|
13
|
-
val note = "the applicationId field below is the real one"
|
|
14
|
-
|
|
15
|
-
defaultConfig {
|
|
16
|
-
applicationId = "com.example.commentsafety"
|
|
17
|
-
minSdk = 24
|
|
18
|
-
targetSdk = 34
|
|
19
|
-
compileSdk = 34
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
plugins {
|
|
2
|
-
id("com.android.application")
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
val gitVersionName = providers.exec { commandLine("git", "describe") }.standardOutput.asText.get()
|
|
6
|
-
|
|
7
|
-
android {
|
|
8
|
-
namespace = "com.example.dynamic"
|
|
9
|
-
compileSdk = libs.versions.compileSdk.get().toInt()
|
|
10
|
-
|
|
11
|
-
defaultConfig {
|
|
12
|
-
applicationId = appIdFromProperties()
|
|
13
|
-
versionName = gitVersionName
|
|
14
|
-
targetSdk = project.property("targetSdkFromProperties") as Int
|
|
15
|
-
minSdk = 24
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
apply plugin: 'com.android.application'
|
|
2
|
-
|
|
3
|
-
android {
|
|
4
|
-
namespace "com.example.groovyliteral"
|
|
5
|
-
compileSdkVersion 33
|
|
6
|
-
|
|
7
|
-
defaultConfig {
|
|
8
|
-
applicationId "com.example.groovyliteral"
|
|
9
|
-
minSdkVersion 21
|
|
10
|
-
targetSdkVersion 33
|
|
11
|
-
versionCode 2
|
|
12
|
-
versionName "2.0"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
buildTypes {
|
|
16
|
-
debug {
|
|
17
|
-
}
|
|
18
|
-
release {
|
|
19
|
-
}
|
|
20
|
-
staging {
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
|
|
4
|
-
<application
|
|
5
|
-
android:label="Java App"
|
|
6
|
-
android:icon="@mipmap/ic_launcher">
|
|
7
|
-
|
|
8
|
-
<activity
|
|
9
|
-
android:name=".MainActivity"
|
|
10
|
-
android:exported="true">
|
|
11
|
-
<intent-filter>
|
|
12
|
-
<action android:name="android.intent.action.MAIN" />
|
|
13
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
14
|
-
</intent-filter>
|
|
15
|
-
</activity>
|
|
16
|
-
|
|
17
|
-
</application>
|
|
18
|
-
|
|
19
|
-
</manifest>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<application>
|
|
4
|
-
<activity android:name=".EmptyFilterActivity" android:exported="true">
|
|
5
|
-
<intent-filter>
|
|
6
|
-
</intent-filter>
|
|
7
|
-
</activity>
|
|
8
|
-
<activity android:name=".BrowsableOnlyActivity" android:exported="true">
|
|
9
|
-
<intent-filter>
|
|
10
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
11
|
-
</intent-filter>
|
|
12
|
-
</activity>
|
|
13
|
-
</application>
|
|
14
|
-
</manifest>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<application>
|
|
4
|
-
<activity android:name=".WeirdActivity" android:exported="maybe">
|
|
5
|
-
<intent-filter>
|
|
6
|
-
<action android:name="android.intent.action.VIEW" />
|
|
7
|
-
</intent-filter>
|
|
8
|
-
</activity>
|
|
9
|
-
</application>
|
|
10
|
-
</manifest>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<application>
|
|
4
|
-
<activity android:exported="true">
|
|
5
|
-
<intent-filter>
|
|
6
|
-
<action android:name="android.intent.action.MAIN" />
|
|
7
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
8
|
-
</intent-filter>
|
|
9
|
-
</activity>
|
|
10
|
-
</application>
|
|
11
|
-
</manifest>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="com.example.permissions">
|
|
4
|
-
|
|
5
|
-
<uses-permission android:name="android.permission.INTERNET" />
|
|
6
|
-
<uses-permission android:name="android.permission.CAMERA" />
|
|
7
|
-
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
8
|
-
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
9
|
-
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
|
10
|
-
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
11
|
-
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
|
12
|
-
<uses-permission android:name="android.permission.SEND_SMS" />
|
|
13
|
-
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
|
14
|
-
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
15
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
16
|
-
<uses-permission android:name="com.example.permissions.CUSTOM_PERMISSION" />
|
|
17
|
-
<uses-permission android:name="android.permission.CAMERA" />
|
|
18
|
-
<uses-permission-sdk-23 android:name="android.permission.BLUETOOTH_CONNECT" />
|
|
19
|
-
|
|
20
|
-
<application>
|
|
21
|
-
<activity android:name=".MainActivity" android:exported="true">
|
|
22
|
-
<intent-filter>
|
|
23
|
-
<action android:name="android.intent.action.MAIN" />
|
|
24
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
25
|
-
</intent-filter>
|
|
26
|
-
</activity>
|
|
27
|
-
</application>
|
|
28
|
-
|
|
29
|
-
</manifest>
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="com.example.risky">
|
|
4
|
-
|
|
5
|
-
<application>
|
|
6
|
-
|
|
7
|
-
<activity android:name=".MainActivity" android:exported="true">
|
|
8
|
-
<intent-filter>
|
|
9
|
-
<action android:name="android.intent.action.MAIN" />
|
|
10
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
11
|
-
</intent-filter>
|
|
12
|
-
</activity>
|
|
13
|
-
|
|
14
|
-
<activity android:name=".UnprotectedExportedActivity" android:exported="true">
|
|
15
|
-
<intent-filter>
|
|
16
|
-
<action android:name="com.example.risky.CUSTOM_ACTION" />
|
|
17
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
18
|
-
</intent-filter>
|
|
19
|
-
</activity>
|
|
20
|
-
|
|
21
|
-
<activity android:name=".ProtectedExportedActivity"
|
|
22
|
-
android:exported="true"
|
|
23
|
-
android:permission="com.example.risky.permission.ADMIN" />
|
|
24
|
-
|
|
25
|
-
<activity android:name=".UnspecifiedExportedActivity">
|
|
26
|
-
<intent-filter>
|
|
27
|
-
<action android:name="com.example.risky.ANOTHER_ACTION" />
|
|
28
|
-
</intent-filter>
|
|
29
|
-
</activity>
|
|
30
|
-
|
|
31
|
-
<activity android:name=".NotExportedActivity" android:exported="false" />
|
|
32
|
-
|
|
33
|
-
<service android:name=".UnprotectedExportedService" android:exported="true">
|
|
34
|
-
<intent-filter>
|
|
35
|
-
<action android:name="com.example.risky.SERVICE_ACTION" />
|
|
36
|
-
</intent-filter>
|
|
37
|
-
</service>
|
|
38
|
-
|
|
39
|
-
<receiver android:name=".UnprotectedExportedReceiver" android:exported="true">
|
|
40
|
-
<intent-filter>
|
|
41
|
-
<action android:name="com.example.risky.RECEIVER_ACTION" />
|
|
42
|
-
</intent-filter>
|
|
43
|
-
</receiver>
|
|
44
|
-
|
|
45
|
-
<provider android:name=".UnprotectedExportedProvider"
|
|
46
|
-
android:authorities="com.example.risky.provider"
|
|
47
|
-
android:exported="true" />
|
|
48
|
-
|
|
49
|
-
<provider android:name=".PartiallyProtectedProvider"
|
|
50
|
-
android:authorities="com.example.risky.provider2"
|
|
51
|
-
android:exported="true"
|
|
52
|
-
android:readPermission="com.example.risky.permission.READ" />
|
|
53
|
-
|
|
54
|
-
<provider android:name=".FullyProtectedProvider"
|
|
55
|
-
android:authorities="com.example.risky.provider3"
|
|
56
|
-
android:exported="true"
|
|
57
|
-
android:readPermission="com.example.risky.permission.READ"
|
|
58
|
-
android:writePermission="com.example.risky.permission.WRITE" />
|
|
59
|
-
|
|
60
|
-
</application>
|
|
61
|
-
|
|
62
|
-
</manifest>
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="com.example.deeplinks">
|
|
4
|
-
|
|
5
|
-
<application>
|
|
6
|
-
|
|
7
|
-
<activity android:name=".CustomSchemeNoHostActivity" android:exported="true">
|
|
8
|
-
<intent-filter>
|
|
9
|
-
<action android:name="android.intent.action.VIEW" />
|
|
10
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
11
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
12
|
-
<data android:scheme="myapp" />
|
|
13
|
-
</intent-filter>
|
|
14
|
-
</activity>
|
|
15
|
-
|
|
16
|
-
<activity android:name=".HttpNoHostActivity" android:exported="true">
|
|
17
|
-
<intent-filter>
|
|
18
|
-
<action android:name="android.intent.action.VIEW" />
|
|
19
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
20
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
21
|
-
<data android:scheme="https" />
|
|
22
|
-
</intent-filter>
|
|
23
|
-
</activity>
|
|
24
|
-
|
|
25
|
-
<activity android:name=".BroadPathPatternActivity" android:exported="true">
|
|
26
|
-
<intent-filter>
|
|
27
|
-
<action android:name="android.intent.action.VIEW" />
|
|
28
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
29
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
30
|
-
<data android:scheme="https" android:host="example.com" android:pathPattern=".*" />
|
|
31
|
-
</intent-filter>
|
|
32
|
-
</activity>
|
|
33
|
-
|
|
34
|
-
<activity android:name=".BoundedSafeDeepLinkActivity" android:exported="true">
|
|
35
|
-
<intent-filter android:autoVerify="true">
|
|
36
|
-
<action android:name="android.intent.action.VIEW" />
|
|
37
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
38
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
39
|
-
<data android:scheme="https" android:host="example.com" android:pathPrefix="/product" />
|
|
40
|
-
</intent-filter>
|
|
41
|
-
</activity>
|
|
42
|
-
|
|
43
|
-
</application>
|
|
44
|
-
|
|
45
|
-
</manifest>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="${applicationId}">
|
|
4
|
-
<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher">
|
|
5
|
-
<activity android:name=".ShareActivity" android:exported="true">
|
|
6
|
-
<intent-filter android:autoVerify="true">
|
|
7
|
-
<action android:name="android.intent.action.VIEW" />
|
|
8
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
9
|
-
<category android:name="android.intent.category.BROWSABLE" />
|
|
10
|
-
<data android:scheme="${deepLinkScheme}" android:host="@string/deep_link_host" />
|
|
11
|
-
</intent-filter>
|
|
12
|
-
</activity>
|
|
13
|
-
</application>
|
|
14
|
-
</manifest>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:x="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<application>
|
|
4
|
-
<activity x:name=".MainActivity" x:exported="true">
|
|
5
|
-
<intent-filter>
|
|
6
|
-
<action x:name="android.intent.action.MAIN" />
|
|
7
|
-
<category x:name="android.intent.category.LAUNCHER" />
|
|
8
|
-
</intent-filter>
|
|
9
|
-
</activity>
|
|
10
|
-
</application>
|
|
11
|
-
</manifest>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
plugins {
|
|
2
|
-
id("com.android.application")
|
|
3
|
-
id("org.jetbrains.kotlin.android")
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
android {
|
|
7
|
-
namespace = "com.example.multimodule.app"
|
|
8
|
-
compileSdk = 34
|
|
9
|
-
|
|
10
|
-
defaultConfig {
|
|
11
|
-
applicationId = "com.example.multimodule.app"
|
|
12
|
-
minSdk = 24
|
|
13
|
-
targetSdk = 34
|
|
14
|
-
versionCode = 1
|
|
15
|
-
versionName = "1.0"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
dependencies {
|
|
20
|
-
implementation(project(":core"))
|
|
21
|
-
implementation(project(":feature-login"))
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<application android:label="Multi Module App">
|
|
4
|
-
<activity android:name=".MainActivity" android:exported="true">
|
|
5
|
-
<intent-filter>
|
|
6
|
-
<action android:name="android.intent.action.MAIN" />
|
|
7
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
8
|
-
</intent-filter>
|
|
9
|
-
</activity>
|
|
10
|
-
</application>
|
|
11
|
-
</manifest>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
plugins {
|
|
2
|
-
id("com.android.library")
|
|
3
|
-
id("org.jetbrains.kotlin.android")
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
android {
|
|
7
|
-
namespace = "com.example.multimodule.featurelogin"
|
|
8
|
-
compileSdk = 34
|
|
9
|
-
|
|
10
|
-
defaultConfig {
|
|
11
|
-
minSdk = 24
|
|
12
|
-
targetSdk = 34
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
dependencies {
|
|
17
|
-
implementation(project(":core"))
|
|
18
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
[versions]
|
|
2
|
-
agp = "8.2.0"
|
|
3
|
-
kotlin = "1.9.22"
|
|
4
|
-
|
|
5
|
-
[plugins]
|
|
6
|
-
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
7
|
-
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
8
|
-
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|