Repository navigation
feat(core): add TenderDataScanner for architectural bidding and geospatial coordinates - #27
jmcaamanog wants to merge 1 commit into
Conversation
…atial coordinates Signed-off-by: jmcaamanog <jose.caamano@live.com>
Contribution License Agreement - Valid 🟢All commits contain valid signoff. As a confirmation, remember that you are agreeing to our Contribution License Agreement. |
|
Thanks for all these contributions to Cerbia! I don’t think this scanner fits in Cerbia, since it is a generic library, and this scanner covers a very specific domain with its own rules about confidential data. I think the best home for this work is an independent extension package, outside this repository. Cerbia already supports custom scanners through fully qualified import paths, so users could install your package and configure it without any changes to Cerbia. Since I already reviewed the implementation, I’d also like to share the findings in
|
|
Hi @sergiobe-itx! Thank you very much for the thoughtful explanation and the detailed technical review! I completely agree with your architectural decision: CerbIA is designed to be a lightweight, general-purpose security and threat-detection perimeter, so domain-specific scanners (like construction / architectural bidding data and geospatial coordinates) fit much better as an independent extension package using CerbIA's fully qualified custom scanner import mechanism. Your technical findings on regex backtracking under long whitespace, coordinate range validation (lat/long/UTM limits and variable northing digits), token boundary matching, and clarifying precision/confidentiality claims are invaluable. I will take all these points into account when refining and publishing the standalone extension package. Thanks again for the guidance and for reviewing all the contributions! 🙌 |
Description
This pull request introduces
TenderDataScannerintocerbia-core, providing specialized threat detection and data leakage prevention for technical architectural tenders, construction bidding data, and high-precision geospatial coordinates.In commercial architecture, store rollout programs, and facilities engineering, AI models and autonomous agents frequently process project documentation that may contain unreleased tender prices, contractor margin structures, or coordinates of confidential land acquisitions.
Key Capabilities
~Vdatabase headers,~Kindirect cost coefficients,~Cconcept codes and unit prices,~Ddecomposition trees,~Mdetailed measurement units).EXP-...,LIC-..., and TED / DOUE notice numbers).Testing & Verification
packages/cerbia-core/tests/unit/cerbia/core/scanners/tender/test_scanner.pyverifying full pattern matching, span offsets, configurable detector toggles, and risk scoring.ScannerFactory(test_scanner.py).cerbia-corepass with 96% overall coverage.Quality & Contribution Standards
Signed-off-by: jmcaamanog <jose.caamano@live.com>.reuse lintpasses 387/387 files.ruff checkandruff format.cerbia-core.