chains-project / sbom.exe

calls the police if a prohibited class is loaded by the JVM http://arxiv.org/pdf/2407.00246
https://arxiv.org/abs/2407.00246
MIT License
7 stars 0 forks source link

Trying to dogfood `terminator` #48

Closed algomaster99 closed 1 year ago

algomaster99 commented 1 year ago

I tried dogfooding terminator (or just watchdog-agent).

I added argLine to surefire configuration.

 <argLine>-javaagent:/home/aman/personal/who-are-you/watchdog-agent/target/watchdog-agent-0.7.1-SNAPSHOT.jar=fingerprints=/home/aman/personal/who-are-you/watchdog-agent/target/classfile.sha256.jsonl,skipShutdown=true</argLine>

This resulted in the following not whitelisted class.

[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter
[NOT WHITELISTED]: org/apache/maven/surefire/api/fork/ForkNodeArguments
[NOT WHITELISTED]: org/apache/maven/plugin/surefire/log/api/ConsoleLogger
[NOT WHITELISTED]: org/apache/maven/surefire/api/provider/CommandListener
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/ReporterFactory
[NOT WHITELISTED]: org/apache/maven/surefire/api/provider/CommandChainReader
[NOT WHITELISTED]: org/apache/maven/surefire/booter/BooterDeserializer
[NOT WHITELISTED]: org/apache/maven/surefire/booter/SystemPropertyManager
[NOT WHITELISTED]: org/apache/maven/surefire/booter/PropertiesWrapper
[NOT WHITELISTED]: org/apache/maven/surefire/booter/KeyValueSource
[NOT WHITELISTED]: org/apache/maven/surefire/booter/TypeEncodedValue
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/DirectoryScannerParameters
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/RunOrder
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/RunOrderParameters
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/TestArtifactInfo
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/TestRequest
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/TestListResolver
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/GenericTestPattern
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/TestFilter
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/IncludedExcludedPatterns
[NOT WHITELISTED]: org/apache/maven/surefire/shared/utils/StringUtils
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/ResolvedTest
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/ResolvedTest$Type
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/ResolvedTest$ClassMatcher
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/ResolvedTest$MethodMatcher
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/ReporterConfiguration
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/Shutdown
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ProviderConfiguration
[NOT WHITELISTED]: org/apache/maven/surefire/api/cli/CommandLineOption
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/DumpErrorSingleton
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/DumpFileUtils
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ClassLoaderConfiguration
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ClasspathConfiguration
[NOT WHITELISTED]: org/apache/maven/surefire/booter/AbstractPathConfiguration
[NOT WHITELISTED]: org/apache/maven/surefire/booter/Classpath
[NOT WHITELISTED]: org/apache/maven/surefire/booter/IsolatedClassLoader
[NOT WHITELISTED]: org/apache/maven/surefire/booter/SurefireExecutionException
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ProcessCheckerType
[NOT WHITELISTED]: org/apache/maven/surefire/booter/StartupConfiguration
[NOT WHITELISTED]: org/apache/maven/surefire/spi/MasterProcessChannelProcessorFactory
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/LegacyMasterProcessChannelProcessorFactory
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/AbstractMasterProcessChannelProcessorFactory
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/MasterProcessChannelEncoder
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/MasterProcessChannelDecoder
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/DaemonThreadFactory
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/DaemonThreadFactory$NamedThreadFactory
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/SurefireMasterProcessChannelProcessorFactory
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedNodeArg
[NOT WHITELISTED]: org/apache/maven/plugin/surefire/log/api/NullConsoleLogger
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/Channels
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/Channels$2
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/Channels$1
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/WritableBufferedByteChannel
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/Channels$4
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/AbstractNoninterruptibleWritableChannel
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/AbstractMasterProcessChannelProcessorFactory$1
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/EventChannelEncoder
[NOT WHITELISTED]: org/apache/maven/surefire/booter/stream/EventEncoder
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamEncoder
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/ForkedProcessEventType
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/ReportEntry
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/CommandChannelDecoder
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/MalformedChannelException
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamDecoder
[NOT WHITELISTED]: org/apache/maven/surefire/booter/stream/CommandDecoder
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/Channels$3
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/AbstractNoninterruptibleReadableChannel
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamDecoder$MalformedFrameException
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/SegmentType
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/Constants
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/MasterProcessCommand
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamDecoder$Segment
[NOT WHITELISTED]: org/apache/maven/surefire/shared/utils/cli/ShutdownHookUtils
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$8
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/ForkingReporterFactory
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/TestReportListener
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/RunListener
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/TestOutputReceiver
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/ForkingRunListener
[NOT WHITELISTED]: org/apache/maven/surefire/booter/CommandReader
[NOT WHITELISTED]: org/apache/maven/surefire/api/testset/TestSetFailedException
[NOT WHITELISTED]: org/apache/maven/surefire/booter/CommandReader$CommandRunnable
[NOT WHITELISTED]: org/apache/maven/surefire/booter/PpidChecker
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamDecoder$Memento
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamDecoder$BufferedStream
[NOT WHITELISTED]: org/apache/maven/surefire/booter/PpidChecker$ProcessInfoConsumer
[NOT WHITELISTED]: org/apache/maven/surefire/booter/PpidChecker$1
[NOT WHITELISTED]: org/apache/maven/surefire/api/stream/AbstractStreamDecoder$StreamReadStatus
[NOT WHITELISTED]: org/apache/maven/surefire/booter/PpidChecker$2
[NOT WHITELISTED]: org/apache/maven/surefire/booter/stream/CommandDecoder$1
[NOT WHITELISTED]: org/apache/maven/surefire/shared/lang3/SystemUtils
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/Command
[NOT WHITELISTED]: org/apache/maven/surefire/booter/CommandReader$1
[NOT WHITELISTED]: org/apache/maven/surefire/shared/lang3/JavaVersion
[NOT WHITELISTED]: org/apache/maven/surefire/shared/lang3/math/NumberUtils
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$4
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/BiProperty
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$3
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$PingScheduler
[NOT WHITELISTED]: org/apache/maven/surefire/api/booter/BaseProviderFactory
[NOT WHITELISTED]: org/apache/maven/surefire/api/provider/ProviderParameters
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/DirectoryScanner
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/ScanResult
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/RunOrderCalculator
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/ReflectionUtils
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/SurefireReflectionException
[NOT WHITELISTED]: org/apache/maven/surefire/junitplatform/JUnitPlatformProvider
[NOT WHITELISTED]: org/apache/maven/surefire/api/provider/AbstractProvider
[NOT WHITELISTED]: org/apache/maven/surefire/api/provider/SurefireProvider
[NOT WHITELISTED]: org/junit/platform/launcher/Launcher
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/ScannerFilter
[NOT WHITELISTED]: org/apache/maven/surefire/junitplatform/LazyLauncher
[NOT WHITELISTED]: org/junit/platform/launcher/TagFilter
[NOT WHITELISTED]: org/junit/platform/launcher/PostDiscoveryFilter
[NOT WHITELISTED]: org/junit/platform/engine/Filter
[NOT WHITELISTED]: org/apache/maven/surefire/junitplatform/TestMethodFilter
[NOT WHITELISTED]: org/junit/platform/launcher/EngineFilter
[NOT WHITELISTED]: org/apache/maven/surefire/junitplatform/RunListenerAdapter
[NOT WHITELISTED]: org/junit/platform/launcher/TestExecutionListener
[NOT WHITELISTED]: org/apache/maven/surefire/report/RunModeSetter
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/OutputReportEntry
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/TestSetReportEntry
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/StackTraceWriter
[NOT WHITELISTED]: org/apache/maven/surefire/report/ClassMethodIndexer
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/RunMode
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/ConsoleOutputCapture
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/ConsoleOutputCapture$ForwardingPrintStream
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/ConsoleOutputCapture$NullOutputStream
[NOT WHITELISTED]: org/apache/maven/surefire/junitplatform/TestPlanScannerFilter
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/DefaultScanResult
[NOT WHITELISTED]: OptionsTest
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherDiscoveryRequestBuilder
[NOT WHITELISTED]: org/junit/platform/engine/ConfigurationParameters
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherDiscoveryRequest
[NOT WHITELISTED]: org/junit/platform/engine/EngineDiscoveryRequest
[NOT WHITELISTED]: org/junit/platform/engine/DiscoverySelector
[NOT WHITELISTED]: org/junit/platform/engine/discovery/DiscoverySelectors
[NOT WHITELISTED]: org/junit/platform/engine/discovery/ClassSelector
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfigurationParameters
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfigurationParameters$Builder
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfigurationParameters$ParameterProvider
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfigurationParameters$ParameterProvider$2
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfigurationParameters$ParameterProvider$3
[NOT WHITELISTED]: org/junit/platform/launcher/listeners/discovery/LauncherDiscoveryListeners
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherDiscoveryListener
[NOT WHITELISTED]: org/junit/platform/engine/EngineDiscoveryListener
[NOT WHITELISTED]: org/junit/platform/launcher/listeners/discovery/LauncherDiscoveryListeners$LauncherDiscoveryListenerType
[NOT WHITELISTED]: org/junit/platform/launcher/listeners/discovery/AbortOnFailureLauncherDiscoveryListener
[NOT WHITELISTED]: org/junit/platform/engine/EngineDiscoveryListener$1
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherDiscoveryListener$1
[NOT WHITELISTED]: org/junit/platform/launcher/core/DefaultDiscoveryRequest
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherSession
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherFactory
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfig
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherConfig$Builder
[NOT WHITELISTED]: org/junit/platform/launcher/core/DefaultLauncherConfig
[NOT WHITELISTED]: org/junit/platform/launcher/core/DefaultLauncherSession
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherInterceptor
[NOT WHITELISTED]: org/junit/platform/launcher/core/DefaultLauncherSession$1
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherSessionListener
[NOT WHITELISTED]: org/junit/platform/launcher/core/ListenerRegistry
[NOT WHITELISTED]: org/junit/platform/launcher/listeners/session/LauncherSessionListeners
[NOT WHITELISTED]: org/junit/platform/launcher/core/ServiceLoaderRegistry
[NOT WHITELISTED]: org/junit/platform/launcher/LauncherSessionListener$1
[NOT WHITELISTED]: org/junit/platform/launcher/core/ServiceLoaderTestEngineRegistry
[NOT WHITELISTED]: org/junit/platform/engine/TestEngine
[NOT WHITELISTED]: org/junit/jupiter/engine/JupiterTestEngine
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/HierarchicalTestEngine
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/HierarchicalTestExecutorService
[NOT WHITELISTED]: org/junit/jupiter/engine/config/JupiterConfiguration
[NOT WHITELISTED]: org/junit/platform/engine/TestDescriptor
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/EngineExecutionContext
[NOT WHITELISTED]: org/junit/platform/launcher/core/DefaultLauncher
[NOT WHITELISTED]: org/junit/platform/launcher/TestPlan
[NOT WHITELISTED]: org/junit/platform/launcher/core/InternalTestPlan
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherListenerRegistry
[NOT WHITELISTED]: org/junit/platform/launcher/core/CompositeTestExecutionListener
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineExecutionOrchestrator
[NOT WHITELISTED]: org/junit/platform/engine/EngineExecutionListener
[NOT WHITELISTED]: org/junit/platform/launcher/TestPlan$Visitor
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineDiscoveryOrchestrator
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineDiscoveryResultValidator
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineIdValidator
[NOT WHITELISTED]: org/junit/platform/launcher/listeners/UniqueIdTrackingListener
[NOT WHITELISTED]: org/junit/platform/launcher/core/DelegatingLauncher
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineDiscoveryOrchestrator$Phase
[NOT WHITELISTED]: org/junit/platform/engine/UniqueId
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineFilterer
[NOT WHITELISTED]: org/junit/platform/engine/FilterResult
[NOT WHITELISTED]: org/junit/platform/engine/UniqueIdFormat
[NOT WHITELISTED]: org/junit/platform/engine/UniqueId$Segment
[NOT WHITELISTED]: org/junit/jupiter/engine/config/CachingJupiterConfiguration
[NOT WHITELISTED]: org/junit/jupiter/engine/config/DefaultJupiterConfiguration
[NOT WHITELISTED]: org/junit/jupiter/engine/config/EnumConfigurationParameterConverter
[NOT WHITELISTED]: org/junit/jupiter/engine/config/InstantiatingConfigurationParameterConverter
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/JupiterEngineDescriptor
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/Node
[NOT WHITELISTED]: org/junit/platform/engine/support/descriptor/EngineDescriptor
[NOT WHITELISTED]: org/junit/platform/engine/support/descriptor/AbstractTestDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/DiscoverySelectorResolver
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/SelectorResolver
[NOT WHITELISTED]: org/junit/platform/engine/TestDescriptor$Visitor
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolver
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolver$InitializationContext
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolver$Builder
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsTestClassWithTests
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsTestMethod
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsTestableMethod
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsTestFactoryMethod
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsTestTemplateMethod
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsPotentialTestContainer
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsNestedTestClass
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/predicates/IsInnerClass
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolver$DefaultInitializationContext
[NOT WHITELISTED]: org/junit/platform/engine/discovery/ClassNameFilter
[NOT WHITELISTED]: org/junit/platform/engine/DiscoveryFilter
[NOT WHITELISTED]: org/junit/platform/engine/discovery/PackageNameFilter
[NOT WHITELISTED]: org/junit/platform/engine/CompositeFilter
[NOT WHITELISTED]: org/junit/platform/engine/CompositeFilter$1
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/ClassContainerSelectorResolver
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/ClassSelectorResolver
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodSelectorResolver
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodFinder
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/ClassOrderingVisitor
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/AbstractOrderingVisitor
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodOrderingVisitor
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolution
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/SelectorResolver$Context
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolution$DefaultContext
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/SelectorResolver$Match
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/SelectorResolver$Match$Type
[NOT WHITELISTED]: org/junit/platform/engine/discovery/UniqueIdSelector
[NOT WHITELISTED]: org/junit/platform/engine/support/discovery/SelectorResolver$Resolution
[NOT WHITELISTED]: org/junit/platform/engine/discovery/ClasspathResourceSelector
[NOT WHITELISTED]: org/junit/platform/engine/discovery/ClasspathRootSelector
[NOT WHITELISTED]: OptionsTest$ParseFingerprint
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/ClassTestDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/ClassBasedTestDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/JupiterTestDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/ExtensionRegistry
[NOT WHITELISTED]: org/junit/platform/engine/TestSource
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/ExtensionRegistrar
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/ConditionEvaluator
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/ConditionEvaluationException
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InterceptingExecutableInvoker
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InvocationInterceptorChain
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/DisplayNameUtils
[NOT WHITELISTED]: org/junit/platform/engine/support/descriptor/ClassSource
[NOT WHITELISTED]: org/junit/platform/engine/TestTag
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/TestInstanceLifecycleUtils
[NOT WHITELISTED]: org/junit/platform/engine/SelectorResolutionResult
[NOT WHITELISTED]: org/junit/platform/engine/SelectorResolutionResult$Status
[NOT WHITELISTED]: org/junit/platform/engine/discovery/NestedClassSelector
[NOT WHITELISTED]: org/junit/platform/engine/discovery/IterationSelector
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/NestedClassTestDescriptor
[NOT WHITELISTED]: org/junit/platform/engine/discovery/NestedMethodSelector
[NOT WHITELISTED]: org/junit/platform/engine/discovery/MethodSelector
[NOT WHITELISTED]: org/junit/platform/engine/discovery/DirectorySelector
[NOT WHITELISTED]: org/junit/platform/engine/discovery/FileSelector
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodSelectorResolver$MethodType
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodSelectorResolver$MethodType$1
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodSelectorResolver$MethodType$2
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/MethodSelectorResolver$MethodType$3
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/TestMethodTestDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/MethodBasedTestDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InterceptingExecutableInvoker$ReflectiveInterceptorCall$VoidMethodInterceptorCall
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InterceptingExecutableInvoker$ReflectiveInterceptorCall
[NOT WHITELISTED]: org/junit/platform/engine/support/descriptor/MethodSource
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/Filterable
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/DefaultClassDescriptor
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/AbstractAnnotatedDescriptorWrapper
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/AbstractOrderingVisitor$MessageGenerator
[NOT WHITELISTED]: org/junit/jupiter/engine/discovery/AbstractOrderingVisitor$DescriptorWrapperOrderer
[NOT WHITELISTED]: org/junit/platform/engine/TestDescriptor$Type
[NOT WHITELISTED]: org/junit/platform/launcher/EngineDiscoveryResult
[NOT WHITELISTED]: org/junit/platform/launcher/EngineDiscoveryResult$Status
[NOT WHITELISTED]: org/junit/platform/launcher/core/LauncherDiscoveryResult
[NOT WHITELISTED]: org/junit/platform/launcher/TestIdentifier
[NOT WHITELISTED]: org/junit/platform/launcher/TestIdentifier$SerializedForm
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/TestsToRun
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/DefaultRunOrderCalculator
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/TestsToRun$ClassesIterator
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/CloseableIterator
[NOT WHITELISTED]: org/junit/platform/launcher/core/CompositeTestExecutionListener$EagerTestExecutionListener
[NOT WHITELISTED]: org/junit/platform/engine/reporting/ReportEntry
[NOT WHITELISTED]: org/junit/platform/launcher/core/StreamInterceptingTestExecutionListener
[NOT WHITELISTED]: org/junit/platform/engine/EngineExecutionListener$1
[NOT WHITELISTED]: org/junit/platform/launcher/core/IterationOrder
[NOT WHITELISTED]: org/junit/platform/launcher/core/IterationOrder$1
[NOT WHITELISTED]: org/junit/platform/launcher/core/IterationOrder$2
[NOT WHITELISTED]: org/junit/platform/launcher/core/CompositeEngineExecutionListener
[NOT WHITELISTED]: org/junit/platform/launcher/core/ExecutionListenerAdapter
[NOT WHITELISTED]: org/junit/platform/launcher/core/StackTracePruningEngineExecutionListener
[NOT WHITELISTED]: org/junit/platform/launcher/core/DelegatingEngineExecutionListener
[NOT WHITELISTED]: org/junit/platform/launcher/core/EngineDiscoveryErrorDescriptor
[NOT WHITELISTED]: org/junit/platform/launcher/core/OutcomeDelayingEngineExecutionListener
[NOT WHITELISTED]: org/junit/platform/engine/ExecutionRequest
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/SameThreadHierarchicalTestExecutorService
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/JupiterEngineExecutionContext
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/JupiterEngineExecutionContext$State
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/ThrowableCollector$Factory
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/ThrowableCollector
[NOT WHITELISTED]: org/junit/jupiter/engine/support/JupiterThrowableCollectorFactory
[NOT WHITELISTED]: org/junit/jupiter/engine/support/OpenTest4JAndJUnit4AwareThrowableCollector
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/HierarchicalTestExecutor
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/HierarchicalTestExecutorService$TestTask
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeTreeWalker
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/LockManager
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/ResourceLock
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/ExclusiveResource
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/ExclusiveResource$LockMode
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/SingleLock
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeUtils
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeUtils$1
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeExecutionAdvisor
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeTestTaskContext
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeTestTask
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/Node$DynamicTestExecutor
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/ThrowableCollector$Executable
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/MutableExtensionRegistry
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/DisabledCondition
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TimeoutExtension
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/RepeatedTestExtension
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TestInfoParameterResolver
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TestReporterParameterResolver
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TempDirectory
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TempDirectory$Scope
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/DefaultExecutableInvoker
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/JupiterEngineExtensionContext
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/AbstractExtensionContext
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore$CloseAction
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStoreException
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/JupiterEngineExecutionContext$Builder
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/Node$SkipResult
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/Node$Invocation
[NOT WHITELISTED]: org/junit/platform/engine/support/hierarchical/NodeTestTask$DefaultDynamicTestExecutor
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/ExtensionUtils
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/LifecycleMethodUtils
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/BeforeEachMethodAdapter
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/AfterEachMethodAdapter
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/ClassExtensionContext
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/TestInstancesProvider
[NOT WHITELISTED]: org/apache/maven/surefire/api/report/SimpleReportEntry
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/ClassMethod
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/ImmutableMap
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/EventChannelEncoder$StackTrace
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TimeoutDuration
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/NamespaceAwareStore
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore$CompositeKey
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore$StoredValue
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore$MemoizingSupplier
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore$MemoizingSupplier$Failure
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/MethodExtensionContext
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/DefaultTestInstanceFactoryContext
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/ParameterResolutionUtils
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/ConstructorInvocation
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InvocationInterceptorChain$InterceptorCall
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InvocationInterceptorChain$ValidatingInvocation
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/InvocationInterceptorChain$InterceptedInvocation
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/DefaultTestInstances
[NOT WHITELISTED]: org/apache/maven/surefire/shared/lang3/StringUtils
[NOT WHITELISTED]: org/junit/jupiter/engine/descriptor/TestMethodTestDescriptor$CallbackInvoker
[NOT WHITELISTED]: org/junit/jupiter/engine/execution/MethodInvocation
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TimeoutExtension$TimeoutProvider
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TimeoutConfiguration
[NOT WHITELISTED]: org/junit/jupiter/engine/extension/TimeoutDurationParser
[NOT WHITELISTED]: org/junit/platform/engine/support/store/NamespacedHierarchicalStore$EvaluatedValue
[NOT WHITELISTED]: org/junit/platform/engine/TestExecutionResult
[NOT WHITELISTED]: org/junit/platform/engine/TestExecutionResult$Status
[NOT WHITELISTED]: org/apache/maven/surefire/junitplatform/RunListenerAdapter$1
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/ObjectUtils
[NOT WHITELISTED]: org/apache/maven/surefire/api/util/internal/ImmutableMap$Node
[NOT WHITELISTED]: org/junit/platform/launcher/core/OutcomeDelayingEngineExecutionListener$Outcome
[NOT WHITELISTED]: org/junit/platform/launcher/core/DefaultLauncherSession$ClosedLauncher
[NOT WHITELISTED]: org/apache/maven/surefire/api/suite/RunResult
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$6
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$7
[NOT WHITELISTED]: org/apache/maven/surefire/booter/ForkedBooter$1
[NOT WHITELISTED]: org/apache/maven/surefire/booter/spi/AbstractMasterProcessChannelProcessorFactory$2

To make this work, we would need to fingerprint test dependencies as well. Moreover, we would also have to whitelist surefire plugin classes as they would "internal classes".

algomaster99 commented 1 year ago

We could create an SBOM for our project, but since none of the SBOM producers would include surefire classes, it is not possible to do so.