Tighten _threats.toml: feature-flags mapping, LDAP libs, drop dead scraping mapping#34
Merged
Tighten _threats.toml: feature-flags mapping, LDAP libs, drop dead scraping mapping#34
Conversation
…d scraping mapping The function:scraping mapping fired on nothing since no tool def carries that tag. Removed rather than leaving dead code; re-add when scrapy/beautifulsoup/puppeteer defs land. Added function:feature-flags mapping to auth_bypass so Flipper/LaunchDarkly/Unleash contribute to threat-model. Feature gates protecting access checks are a real auth bypass surface. Added ldap3 (Python), ldapjs (Node), net-ldap (Ruby), PHP LDAP extension as detection-only defs with ldap_injection sinks so that threat is no longer Java-only. Each detected via dependencies. Closes #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three loose ends from the _threats.toml audit.
Removed the `function:scraping` → `[ssrf]` mapping since no tool def carries that tag. Re-add when scrapy/beautifulsoup/puppeteer defs land.
Added `function:feature-flags` → `[auth_bypass]` mapping so Flipper, LaunchDarkly, and Unleash contribute to threat-model. Feature gates protecting access checks are a real auth bypass surface.
Added four LDAP library defs (`ldap3` for Python, `ldapjs` for Node, `net-ldap` for Ruby, PHP LDAP extension) with `ldap_injection` sinks so the threat isn't Java-only. Each detected via the dependencies primitive.
Closes #31