← Back to scan
File as GitHub Issue repo: facebookincubator/antlir

Push this scan report to facebookincubator/antlir

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Weak Crypto

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… antlir/antlir2/os/package.bzl:6
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… antlir/antlir2/test_images/package/btrf…:47
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). antlir/antlir2/package_managers/snapsho…:173
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). antlir/antlir2/package_managers/snapsho…:17
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). antlir/antlir2/package_managers/dnf/sna…:37
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … antlir/antlir2/package_managers/dnf/sna…:79
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… antlir/antlir2/package_managers/dnf/sna…:79
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… antlir/antlir2/sendstream_parser/src/wi…:126
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… antlir/antlir2/features/symlink/symlink…:69
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … antlir/antlir2/package_managers/snapsho…:53
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … antlir/antlir2/package_managers/dnf/rul…:81
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … antlir/antlir2/features/apt/resolve.py:124
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… antlir/antlir2/features/rpm/antlir2_fea…:23
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… antlir/antlir2/features/apt/resolve.py:190
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… antlir/antlir2/features/apt/driver.py:79
HIGH MINED110 Blocking call `time.sleep` inside async function `async_retry_fn` antlir/common.py:190
HIGH MINED108 `self._style` used but never assigned in __init__ antlir/common.py:53
HIGH MINED108 `self._style` used but never assigned in __init__ antlir/common.py:50
HIGH MINED108 `self.items` used but never assigned in __init__ antlir/freeze.py:78
HIGH MINED108 `self.decode` used but never assigned in __init__ antlir/fs_utils.py:265
HIGH MINED108 `self.decode` used but never assigned in __init__ antlir/fs_utils.py:261
HIGH MINED108 `self.open` used but never assigned in __init__ antlir/fs_utils.py:252
HIGH MINED108 `self.open` used but never assigned in __init__ antlir/fs_utils.py:182
HIGH MINED108 `self.decode` used but never assigned in __init__ antlir/fs_utils.py:148
HIGH MINED108 `self.value` used but never assigned in __init__ antlir/shape.py:124
HIGH MINED108 `self.name` used but never assigned in __init__ antlir/shape.py:116
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 76 (SonarSo… antlir/antlir2/features/apt/resolve.py:25
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 133 (SonarS… antlir/antlir2/features/apt/driver.py:26
HIGH MINED115 Action `actions/deploy-pages` pinned to mutable ref `@v4` .github/workflows/docs.yml:67
HIGH MINED115 Action `actions/upload-pages-artifact` pinned to mutable ref `@v3` .github/workflows/docs.yml:45
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v4` .github/workflows/docs.yml:24
HIGH MINED115 Action `facebook/install-dotslash` pinned to mutable ref `@latest` .github/workflows/docs.yml:23
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/docs.yml:20
HIGH MINED115 Action `dtolnay/rust-toolchain` pinned to mutable ref `@master` .github/workflows/ci.yml:17
HIGH MINED115 Action `facebook/install-dotslash` pinned to mutable ref `@latest` .github/workflows/ci.yml:16
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:13
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… antlir/antlir2/package_managers/snapsho…:33
MED SEC119 [SEC119] World-writable / world-readable file permissions: World-writable files let any l… antlir/fs_utils.py:248
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… antlir/antlir2/features/apt/resolve.py:190
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … antlir/antlir2/container_subtarget/src/…:147
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … antlir/antlir2/antlir2_isolate/isolate_…:93
MED MINED111 Bare except continues silently antlir/antlir2/features/rpm/resolve.py:193
LOW SEC124 [SEC124] TOCTOU file access (os.access then open): Check-then-use file pattern (access/ex… antlir/antlir2/features/apt/resolve.py:82
LOW SEC124 [SEC124] TOCTOU file access (os.access then open): Check-then-use file pattern (access/ex… antlir/antlir2/features/apt/driver.py:44
LOW COMP001 [COMP001] High cognitive complexity: Function `compute_explicitly_installed_package_names… antlir/antlir2/features/rpm/antlir2_fea…:50
LOW DEPCUR-NPM npm package `docusaurus-plugin-internaldocs-fb` is minor version(s) behind (1.19.3 -> 1.2… antlir/antlir2/docs/package.json
LOW AIC003 Duplicated implementation block across source files antlir/bzl/starlark_unittest/src/starla…:191
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/testing/image_test/src/s…:1
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/testing/image_rpms_test/…:12
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/testing/image_diff_test/…:198
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/test_images/package/oci/…:13
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/test_images/package/ext4…:8
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/package_managers/snapsho…:33
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/hoist/hoist.rs:24
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/features/rpm/rpm.rs:33
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/features/rpm/resolve.py:14
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_users/src/shadow…:5
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_users/src/shadow…:1
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_users/src/passwd…:69
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_receive/src/main…:202
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_packager/src/vfa…:1
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_packager/src/tar…:1
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_packager/src/sen…:1
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_packager/src/sen…:4
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_packager/src/ext…:1
LOW AIC003 Duplicated implementation block across source files antlir/antlir2/antlir2_isolate/main.rs:23
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… antlir/antlir2/package_managers/dnf/sna…:79
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… antlir/antlir2/package_managers/dnf/rul…:136
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. antlir/freeze.py:30
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. antlir/antlir2/package_managers/dnf/bui…:26
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. antlir/antlir2/features/rpm/antlir2_fea…:23
INFO MINED063 [MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de… antlir/antlir2/features/apt/driver.py:70
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… antlir/antlir2/features/rpm/antlir2_fea…:24
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… antlir/antlir2/features/apt/resolve.py:86
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… antlir/antlir2/features/apt/driver.py:46
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… antlir/antlir2/docs/src/components/Home…:69
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… antlir/antlir2/test_images/cfg/os/test.…:61
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… antlir/antlir2/antlir2_rootless/unshare…:46
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… antlir/antlir2/antlir2_isolate/isolate_…:47
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… antlir/antlir2/antlir2_isolate/isolate_…:31
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… antlir/antlir2/antlir2_features/src/plu…:36
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. antlir/antlir2/antlir2_depgraph/src/res…:124
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. antlir/antlir2/antlir2_compile/src/lib.…:204
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. antlir/antlir2/antlir2_change_stream/sr…:51
INFO DEPCUR-NPM npm package `@mdx-js/react` is patch version(s) behind (^3.1.0 -> 3.1.1) antlir/antlir2/docs/package.json
Reset to top 5 85 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `facebookincubator/antlir`

**Score: 70/100 (C)**  ·  113 findings  ·  scanned 2026-06-05 16:59 UTC  ·  57,972 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 36 |
| MEDIUM | 5 |
| LOW | 24 |

📊 [Full filterable report](https://repobility.com/scan/3ba7ebbc-352d-47e4-9ea4-c734475e78bb/)  ·  ![scorecard](https://repobility.com/scan/3ba7ebbc-352d-47e4-9ea4-c734475e78bb/report.png?v=1780678779-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `antlir/antlir2/os/package.bzl:6`
2. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `antlir/antlir2/test_images/package/btrfs/test.py:47` · A03:2021 Injection
3. **HIGH** `MINED004` — Weak Crypto
   `antlir/antlir2/package_managers/snapshot/metadata/src/generate/deb/inrelease.rs:173` · CWE-327 · ✓ Repobility
4. **HIGH** `MINED004` — Weak Crypto
   `antlir/antlir2/package_managers/snapshot/common/src/checksums.rs:17` · CWE-327 · ✓ Repobility
5. **HIGH** `MINED004` — Weak Crypto
   `antlir/antlir2/package_managers/dnf/snapshot/targets_from_upstream/targets_from_upstream.py:37` · CWE-327 · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/3ba7ebbc-352d-47e4-9ea4-c734475e78bb/_
Megaproject â high spam risk
Could not determine 'facebookincubator/antlir' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
39/119 findings (33%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.