Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
org.microg.nlp:geocode-v1
Advanced tools
The next generation Network Location Provider, based on plugins. Usually abbreviated as UnifiedNlp.
Release builds may be found on the release page.
Unified Network Location Provider is provided in 3 variants:
Keep in mind that:
Most modern ROMs come with support for non-Google geolocation providers. On these systems installation is easy:
NetworkLocation.apk
as a usual app (you may need to enable "Unknown sources" in Settings->Security)Some ROMs, especially those not based on AOSP might have problems using this method. However, if your system has root, you can try installing the hard way:
NetworkLocation.apk
/system
read-write (from your PC, call adb root && adb remount
)NetworkLocation.apk
to /system/priv-app
(from your PC, call adb push NetworkLocation.apk /system/priv-app/NetworkLocation.apk
)adb reboot
) and continue at UsageNote: On Android 7 (or later) an additional patch is needed to make it working, or alternatively, you can install it in /system/priv-app
as explained above.
Older Android versions are no longer officially supported. However I still provide a legacy build, that should be compatible with those systems. It is required to have a rooted system to install on Jelly Bean and older.
LegacyNetworkLocation.apk
/system
read-write (from your PC, call adb root && adb remount
)LegacyNetworkLocation.apk
to /system/app
(from your PC, call adb push LegacyNetworkLocation.apk /system/app/LegacyNetworkLocation.apk
)adb reboot
) and continue at UsageUnifiedNlp alone does not provide any features, but acts as a middleware for multiple backends. Most of them can be downloaded and updated using F-Droid. Here is a list of backends known to me.
List of backends for geolocation:
List of backends for (reverse) geocoding:
(...) Create issue or pull request to extend either list :)
After installing a backend, you can use UnifiedNlp by activating network-based geolocation in Settings->Location. Since KitKat, you need to select any mode but "device only", on older Android version this setting is called "Wi-Fi & mobile network location" (ignore any misleading texts saying this is for Google's location service, you don't have Google's service installed but UnifiedNlp :smile:)
The API is available here. Documentation may be found in the README provided with the API.
You might also take a look into existing backends, to see how they work out.
UnifiedNlp can be easily built using Gradle.
git clone https://github.com/microg/UnifiedNlp
cd UnifiedNlp
./gradlew build
Some components: Copyright (C) 2013 The Android Open Source Project
compat
-folder is extracted from different AOSP versions for cross-version compatibility
Copyright (C) 2013-2022 microG Project Team
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
UnifiedNlp service to implement Geocode API v1
We found that org.microg.nlp:geocode-v1 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.