supascan-1.0.0
checks.x86_64-linux.supascan
· build #1042
· raw
unpackPhase
1unpacking source archive /nix/store/8al8rdf29sgvnqdw3i8sxs7jbcvafy80-supascan2source root is supascanbuildPhase
3Building subPackage ./cmd/supascancheckPhase
4=== RUN TestCategorizeFilePath5=== RUN TestCategorizeFilePath//boot/grub/grub.cfg6=== RUN TestCategorizeFilePath//boot/efi/EFI/BOOT/BOOTX64.EFI7=== RUN TestCategorizeFilePath//data/pgdata/base8=== RUN TestCategorizeFilePath//data/50M_PLACEHOLDER9=== RUN TestCategorizeFilePath//etc/postgresql/postgresql.conf10=== RUN TestCategorizeFilePath//etc/postgres/pg_hba.conf11=== RUN TestCategorizeFilePath//etc/ssl/certs/ca-certificates.crt12=== RUN TestCategorizeFilePath//etc/ssl/private/server.key13=== RUN TestCategorizeFilePath//etc/systemd/system/postgresql.service14=== RUN TestCategorizeFilePath//etc/nftables.conf15=== RUN TestCategorizeFilePath//etc/nftables/supabase.conf16=== RUN TestCategorizeFilePath//etc/fail2ban/jail.local17=== RUN TestCategorizeFilePath//etc/passwd18=== RUN TestCategorizeFilePath//etc/hosts19=== RUN TestCategorizeFilePath//home/ubuntu/.bashrc20=== RUN TestCategorizeFilePath//home/postgres/.profile21=== RUN TestCategorizeFilePath//nix/store/abc123-package22=== RUN TestCategorizeFilePath//nix/var/nix/profiles23=== RUN TestCategorizeFilePath//opt/saltstack/salt24=== RUN TestCategorizeFilePath//usr/local/bin/supascan25=== RUN TestCategorizeFilePath//usr/local/share/doc26=== RUN TestCategorizeFilePath//usr/bin/bash27=== RUN TestCategorizeFilePath//usr/lib/systemd28=== RUN TestCategorizeFilePath//var/lib/postgresql/data29=== RUN TestCategorizeFilePath//var/lib/postgresql/15/main30=== RUN TestCategorizeFilePath//var/log/syslog31=== RUN TestCategorizeFilePath//var/run/postgresql32=== RUN TestCategorizeFilePath//tmp/test33=== RUN TestCategorizeFilePath//root/.bashrc34--- PASS: TestCategorizeFilePath (0.00s)35 --- PASS: TestCategorizeFilePath//boot/grub/grub.cfg (0.00s)36 --- PASS: TestCategorizeFilePath//boot/efi/EFI/BOOT/BOOTX64.EFI (0.00s)37 --- PASS: TestCategorizeFilePath//data/pgdata/base (0.00s)38 --- PASS: TestCategorizeFilePath//data/50M_PLACEHOLDER (0.00s)39 --- PASS: TestCategorizeFilePath//etc/postgresql/postgresql.conf (0.00s)40 --- PASS: TestCategorizeFilePath//etc/postgres/pg_hba.conf (0.00s)41 --- PASS: TestCategorizeFilePath//etc/ssl/certs/ca-certificates.crt (0.00s)42 --- PASS: TestCategorizeFilePath//etc/ssl/private/server.key (0.00s)43 --- PASS: TestCategorizeFilePath//etc/systemd/system/postgresql.service (0.00s)44 --- PASS: TestCategorizeFilePath//etc/nftables.conf (0.00s)45 --- PASS: TestCategorizeFilePath//etc/nftables/supabase.conf (0.00s)46 --- PASS: TestCategorizeFilePath//etc/fail2ban/jail.local (0.00s)47 --- PASS: TestCategorizeFilePath//etc/passwd (0.00s)48 --- PASS: TestCategorizeFilePath//etc/hosts (0.00s)49 --- PASS: TestCategorizeFilePath//home/ubuntu/.bashrc (0.00s)50 --- PASS: TestCategorizeFilePath//home/postgres/.profile (0.00s)51 --- PASS: TestCategorizeFilePath//nix/store/abc123-package (0.00s)52 --- PASS: TestCategorizeFilePath//nix/var/nix/profiles (0.00s)53 --- PASS: TestCategorizeFilePath//opt/saltstack/salt (0.00s)54 --- PASS: TestCategorizeFilePath//usr/local/bin/supascan (0.00s)55 --- PASS: TestCategorizeFilePath//usr/local/share/doc (0.00s)56 --- PASS: TestCategorizeFilePath//usr/bin/bash (0.00s)57 --- PASS: TestCategorizeFilePath//usr/lib/systemd (0.00s)58 --- PASS: TestCategorizeFilePath//var/lib/postgresql/data (0.00s)59 --- PASS: TestCategorizeFilePath//var/lib/postgresql/15/main (0.00s)60 --- PASS: TestCategorizeFilePath//var/log/syslog (0.00s)61 --- PASS: TestCategorizeFilePath//var/run/postgresql (0.00s)62 --- PASS: TestCategorizeFilePath//tmp/test (0.00s)63 --- PASS: TestCategorizeFilePath//root/.bashrc (0.00s)64=== RUN TestCategorizeFiles65--- PASS: TestCategorizeFiles (0.00s)66=== RUN TestValidatorSpecLists67--- PASS: TestValidatorSpecLists (0.00s)68=== RUN TestCriticalAndAdvisoryDoNotOverlap69--- PASS: TestCriticalAndAdvisoryDoNotOverlap (0.00s)70PASS71ok github.com/supabase/supascan/cmd/supascan 0.006s72=== RUN TestLoad_Defaults73--- PASS: TestLoad_Defaults (0.00s)74=== RUN TestLoad_ConfigFile75--- PASS: TestLoad_ConfigFile (0.00s)76=== RUN TestLoad_CLIOverrides77--- PASS: TestLoad_CLIOverrides (0.00s)78=== RUN TestLoad_ShallowDepthZero79--- PASS: TestLoad_ShallowDepthZero (0.00s)80=== RUN TestLoad_ShallowDepthDefault81--- PASS: TestLoad_ShallowDepthDefault (0.00s)82=== RUN TestLoad_ShallowDepthFromCLI83--- PASS: TestLoad_ShallowDepthFromCLI (0.00s)84=== RUN TestLoad_ShallowDirs85--- PASS: TestLoad_ShallowDirs (0.00s)86=== RUN TestIsPathExcluded_PycacheAndPyc87--- PASS: TestIsPathExcluded_PycacheAndPyc (0.00s)88=== RUN TestIsPathExcluded_CacheAndHistory89--- PASS: TestIsPathExcluded_CacheAndHistory (0.00s)90PASS91ok github.com/supabase/supascan/internal/config 0.004s92=== RUN TestCheck93=== RUN TestCheck/clean94=== RUN TestCheck/setuid_not_listed95=== RUN TestCheck/setgid_not_listed96=== RUN TestCheck/setuid_listed97=== RUN TestCheck/world-writable98=== RUN TestCheck/sticky_dir99=== RUN TestCheck/group-writable100=== RUN TestCheck/orphan_uid101=== RUN TestCheck/mode_outside_allowlist102=== RUN TestCheck/mode_outside_roots103=== RUN TestCheck/dir_mode104--- PASS: TestCheck (0.00s)105 --- PASS: TestCheck/clean (0.00s)106 --- PASS: TestCheck/setuid_not_listed (0.00s)107 --- PASS: TestCheck/setgid_not_listed (0.00s)108 --- PASS: TestCheck/setuid_listed (0.00s)109 --- PASS: TestCheck/world-writable (0.00s)110 --- PASS: TestCheck/sticky_dir (0.00s)111 --- PASS: TestCheck/group-writable (0.00s)112 --- PASS: TestCheck/orphan_uid (0.00s)113 --- PASS: TestCheck/mode_outside_allowlist (0.00s)114 --- PASS: TestCheck/mode_outside_roots (0.00s)115 --- PASS: TestCheck/dir_mode (0.00s)116=== RUN TestExcepted117--- PASS: TestExcepted (0.00s)118=== RUN TestScan119 discovery_test.go:97: missing "/srv/suid: setuid" in:120 /etc/loose: group-writable 0664121--- FAIL: TestScan (0.00s)122FAIL123FAIL github.com/supabase/supascan/internal/discovery 0.005s124? github.com/supabase/supascan/internal/logger [no test files]125=== RUN TestCommandScanner_BasicScan126--- PASS: TestCommandScanner_BasicScan (0.00s)127=== RUN TestCommandScanner_Properties128--- PASS: TestCommandScanner_Properties (0.00s)129=== RUN TestFileScanner_BasicScan130--- PASS: TestFileScanner_BasicScan (0.00s)131=== RUN TestFileScanner_Exclusions132--- PASS: TestFileScanner_Exclusions (0.00s)133=== RUN TestFileScanner_ShallowDirsDepthZero134--- PASS: TestFileScanner_ShallowDirsDepthZero (0.00s)135=== RUN TestFileScanner_ShallowDirsDepthOne136--- PASS: TestFileScanner_ShallowDirsDepthOne (0.00s)137=== RUN TestGroupScanner_BasicScan138--- PASS: TestGroupScanner_BasicScan (0.00s)139=== RUN TestGroupScanner_Properties140--- PASS: TestGroupScanner_Properties (0.00s)141=== RUN TestGroupScanner_MalformedLines142--- PASS: TestGroupScanner_MalformedLines (0.00s)143=== RUN TestKernelParamScanner_BasicScan144--- PASS: TestKernelParamScanner_BasicScan (0.00s)145=== RUN TestKernelParamScanner_Properties146--- PASS: TestKernelParamScanner_Properties (0.00s)147=== RUN TestKernelParamScanner_MultilineSkip148--- PASS: TestKernelParamScanner_MultilineSkip (0.00s)149=== RUN TestKernelParamScanner_TabsToSpaces150--- PASS: TestKernelParamScanner_TabsToSpaces (0.00s)151=== RUN TestMountScanner_BasicScan152--- PASS: TestMountScanner_BasicScan (0.00s)153=== RUN TestMountScanner_Properties154--- PASS: TestMountScanner_Properties (0.00s)155=== RUN TestMountScanner_FiltersInstanceSpecificOptions156--- PASS: TestMountScanner_FiltersInstanceSpecificOptions (0.00s)157=== RUN TestMountScanner_MalformedLines158--- PASS: TestMountScanner_MalformedLines (0.00s)159=== RUN TestPackageScanner_BasicScan160--- PASS: TestPackageScanner_BasicScan (0.00s)161=== RUN TestPackageScanner_FilterByStatus162--- PASS: TestPackageScanner_FilterByStatus (0.00s)163=== RUN TestPackageScanner_ScannerInterface164--- PASS: TestPackageScanner_ScannerInterface (0.00s)165=== RUN TestPackageScanner_EmptyOutput166--- PASS: TestPackageScanner_EmptyOutput (0.00s)167=== RUN TestPackageScanner_MalformedLine168--- PASS: TestPackageScanner_MalformedLine (0.00s)169=== RUN TestPortScanner_BasicScan170--- PASS: TestPortScanner_BasicScan (0.01s)171=== RUN TestPortScanner_Properties172--- PASS: TestPortScanner_Properties (0.00s)173=== RUN TestProcessScanner_BasicScan174--- PASS: TestProcessScanner_BasicScan (0.00s)175=== RUN TestProcessScanner_Properties176--- PASS: TestProcessScanner_Properties (0.00s)177=== RUN TestRunAll_SkipsDynamic178--- PASS: TestRunAll_SkipsDynamic (0.00s)179=== RUN TestServiceScanner_BasicScan180--- PASS: TestServiceScanner_BasicScan (0.00s)181=== RUN TestServiceScanner_Properties182--- PASS: TestServiceScanner_Properties (0.00s)183=== RUN TestUserScanner_BasicScan184--- PASS: TestUserScanner_BasicScan (0.00s)185=== RUN TestUserScanner_Properties186--- PASS: TestUserScanner_Properties (0.00s)187=== RUN TestUserScanner_MalformedLines188--- PASS: TestUserScanner_MalformedLines (0.00s)189PASS190ok github.com/supabase/supascan/internal/scanners 0.015s191=== RUN TestYAMLWriter_SingleResource192--- PASS: TestYAMLWriter_SingleResource (0.00s)193=== RUN TestYAMLWriter_ChunkedWriting194--- PASS: TestYAMLWriter_ChunkedWriting (0.00s)195=== RUN TestYAMLWriter_WritesZeroUserAndGroupIDs196--- PASS: TestYAMLWriter_WritesZeroUserAndGroupIDs (0.00s)197=== RUN TestYAMLWriter_JSONFormat198--- PASS: TestYAMLWriter_JSONFormat (0.00s)199PASS200ok github.com/supabase/supascan/internal/spec 0.007s201=== RUN TestCriticalSpecsList202--- PASS: TestCriticalSpecsList (0.00s)203=== RUN TestAdvisorySpecsList204--- PASS: TestAdvisorySpecsList (0.00s)205=== RUN TestNewValidator206--- PASS: TestNewValidator (0.00s)207=== RUN TestResultCounts208--- PASS: TestResultCounts (0.00s)209=== RUN TestRunDiscoverySkippedWithoutPolicy210--- PASS: TestRunDiscoverySkippedWithoutPolicy (0.00s)211=== RUN TestResolvePrefersBuildDirOverParent212--- PASS: TestResolvePrefersBuildDirOverParent (0.00s)213PASS214ok github.com/supabase/supascan/internal/validator 0.004s215FAIL