ProteGO-Safe / specs

Opis, specyfikacja i zadania. Zacznij tutaj.
GNU General Public License v3.0
118 stars 29 forks source link

Likely privacy violation and GDPR violation in proposed online PWA approach #195

Closed potiuk closed 4 years ago

potiuk commented 4 years ago

Describe the bug There is a very likely possibility that the current PWA approach (discussed in #189 ) proposed by application creators and Ministry of Digital Affairs violates privacy and is not compliant with GDPR rules (polish RODO).

To Reproduce

As we extensively discussed in #116 when the server is managed by Minstry of Digital Affairs, the IP address of connecting person should be treated as Personal Data - because Ministry has possibility of connecting the IP address to the actual person. In the light of https://archiwum.giodo.gov.pl/pl/319/2258 and Ustawa z 15 stycznia 2016 r. o zmianie ustawy o Policji oraz niektórych innych ustaw (Dz. U. 2016, poz. 147) the Ministry has the possibility of retrieving personal identiy of people based on the IP address they connect from and the time of connection. Both o which are available on the server side of the server that provides online PWA Application. The application will be connecting periodically and downloading updated PWA application and this will give the Minstry the following information:

In my opinion, this violates:

Expected behavior

The PWA application should be embedded in the mobile application. Application should only contact Ministry servers in order to voluntarily upload the information when person is positively diagnosed with COVID-19. The application should not contact the server of Ministry for anything else. This should be audited and verified for every release of the application.

miklobit commented 4 years ago

Ja się dołącze do tego issue z pytaniem szczegółowym: Czy pobieranie danych/kodu przez aplikację PWA z serwerów będzie odbywać się poprzez usługi proxy takie jak np Cloudflare, których specyfika działania (man-in-the-middle) umożliwia zarówno nieuprawnioną ingerencję w przesyłany kod/dane jak i nieuprawnione (na gruncie RODO) gromadzenie informacji o użytkownikach aplikacji ?

potiuk commented 4 years ago

Ja też z góry przepraszam za angielski - ale to issue wydało mi się na tyle ważne żeby zobaczyło go Apple i Google (już dostali) w czasie review że stworzyłem je po angielsku żeby nie było problemów ze zrozumieniem przez nich o co chodzi.

SeraMoon commented 4 years ago

A ja się zapytam odnośnie "The PWA application should be embedded in the mobile application" Dlaczego? Nie zgadzam się z tym - czy tak trudno umieścić jest natywne zasoby i natywny kod w aplikacji Androida / iOS? @potiuk

tomekziel commented 4 years ago

Jak już Jarek ileś razy tłumaczył w #189, nie chodzi tu o różnicę między technologią webową a natywną, lecz różnicę między kompletną aplikacją o "zamrożonej" zawartości w kontrze do kadłubka pobierającego moduł wykonawczy z serwerów ministerstwa. Twoje komentarze nie zawsze wnoszą wartość, tu na przykład zaciemniają wątek. Tylko moja klawiatura wie, ile innych komentarzy napisałem w innych ticketach tylko po to, by je ostatecznie skasować przed wysłaniem. Da się.

SeraMoon commented 4 years ago

Additionally in the past

The CBA - Central anti-corruption office (government controlled) used a trojan (also for Android system and iOS system) named "Pegasus" (polish article: https://niebezpiecznik.pl/post/jak-wyglada-rzadowy-trojan-pegasus-od-srodka/).

The trojan has been used for surveilance of Polish citizens.

The trojan has been bought by CBA from HackingTeam (https://niebezpiecznik.pl/post/hacking-team-hacked/) for €200.000.

Due to above, there is needed, the application should not download PWA application from servers!

KoderFPV commented 4 years ago

@SeraMoon Your post as many of them on this GH is not related to the problem of embedded (or not) PWA.

Also is against our Code Of Conduct https://github.com/ProteGO-Safe/specs/wiki/Code-of-conduct

Supriaslly you said that you don't know English at all here https://github.com/ProteGO-Safe/specs/issues/145 And it was just 3 days ago...

KoderFPV commented 4 years ago

@potiuk I marked a few posts from @SeraMoon as off-topic for better visibility for Google and Apple. I think this topic is uber important.

@tomekziel Sorry for marking your attempt of explanation for @SeraMoon as well, however, it's also not related to the problem described by @potiuk. But thanks anyway.

Sorry for inconvenience

SeraMoon commented 4 years ago

Tarvald, please unhide my comment. There are dangers of abuse the PWA related to past government actions described in my post.

KoderFPV commented 4 years ago

@SeraMoon Sorry, but our country has over a thousand years of history, and connecting past government actions with the current PWA problem described by @potiuk is not related to the topic. It is a technical forum about software development, political topics are against our code of conduct here: https://github.com/ProteGO-Safe/specs/wiki/Code-of-conduct

SeraMoon commented 4 years ago

It is not political problem. It is officaial action of goverment in the past.

Signing a contract with a HackingTeam has nothing to do with politics but with the transparency of what programs the state bought with our money in the past.

In your meaning, the entire protego-safe application can also be considered a "policy".

KoderFPV commented 4 years ago

@SeraMoon Ok, you convinced me, I will unhide this particular comment unless somebody else from the team or community will have objections to it.

However, be more careful when you put a comment on our forum, we have many reports from the community about not related comments to the topic from your site.

SeraMoon commented 4 years ago

[EN VERSION] Because the application is already available in PLAY - I invite people familiar with quotations of the right to report it as not complying with the provisions of GDPR and EDPB through Google Removals.

An application that violates European law (POLAND still belong to the European Union) and deanonymizing the user by sending his IP to the server of the Ministry of Digitization without the required consent in the form of a dialog box should be removed from there.

{PL VERSION] Ponieważ aplikacja jest już dostępna w PLAY - zapraszam osoby obeznane z cytatami prawa do zgłoszenia jej jako niespełniającej zapisów GDPR oraz EDPB poprzez Google Removals. Formularz wymaga aby podać cytaty prawa, które są łamane i wskazanie z których ustaw wynika i cytatów wynika fakt, że Ministerstwo ma dostęp do IP użytkowników - pomoże mi ktoś?

Aplikacja łamiąca prawo europejskie (nadal należymy do Unii Europejskiej) oraz deanonimizująca użytkownika poprzez wysyłanie jego IP na serwer Ministerstwa Cyfryzacji bez wymaganej zgody w postaci okna dialogowego powinna zostać stamtąd usunięta.

Niestety mój angielski jest zbyt cienki, abym to opisała poprawnie i zrozumiale, a od jakości opisu zależy czy to zrozumieją i rozpatrzą.

miklobit commented 4 years ago

Wygląda na to, że aplikacja ( na razie mamy PWA które ładuje kod ekranów z serwera) , pokazuje ekran z polityką prywatnosci dopiero PO połaczeniu się z serwerem. Czyli nawet jeśli user nie udzieli aplikacji zgody na przetwarzanie danych to i tak rząd ma odnotowane dane (ip) użytkownika, który pobrał aplikację, NIE udzielł zgody na zbieranie jakichkolwiek danych i ją odinstalował.

SeraMoon commented 4 years ago

Wygląda na to, że aplikacja ( na razie mamy PWA które ładuje kod ekranów z serwera) , pokazuje ekran z polityką prywatnosci dopiero PO połaczeniu się z serwerem. Czyli nawet jeśli user nie udzieli aplikacji zgody na przetwarzanie danych to i tak rząd ma odnotowane dane (ip) użytkownika, który pobrał aplikację, NIE udzielł zgody na zbieranie jakichkolwiek danych i ją odinstalował.

Translated: It seems that the application shows the screen with the privacy policy only AFTER connecting to the server (for now we have PWA which loads the screen code from the server). If the user does not give consent to data processing, the government still receives the personal data (IP) of the user who downloaded the application. Although s/he did not give consent and uninstalled the application.

Comment: The above does not meet the minimization of the amount of personal data processing in accordance with GDPR. It also does not meet EDPB requirements.

KoderFPV commented 4 years ago

Problems mentioned in this topic should be resolved very soon with the next major update.

Thanks!

EDIT: I meant the next minor update.

SeraMoon commented 4 years ago

Problems mentioned in this topic should be resolved very soon with the next major update.

Thanks!

Not "should" but "will". When (I ask about a date) will be resolved?

next major update.

"Next minor update" or "next update".

When it will be done? @Tarvald

KoderFPV commented 4 years ago

@SeraMoon I meant the next minor update.

SeraMoon commented 4 years ago

next minor update.

When? (maximum date)

Please enter a specific date, otherwise I will hate programming in JS5.

KoderFPV commented 4 years ago

@SeraMoon

When? (maximum date)

https://github.com/ProteGO-Safe/specs/issues/189#issuecomment-640559209

In this comment, @MateuszRomanow estimated building offline PWA version of the app in the between 7 to 10 days.

Today is an official release of ProteGo 4.1.1 on Android. Next application updates coming soon.

Stay tuned.

SeraMoon commented 4 years ago

[PL Version] Upieczone dwie bułki z brzeszczotem w tym temacie: https://panoptykon.org/wiadomosc/protego-safe-ministerstwo-cyfryzacji-znowu-sie-spieszy https://panoptykon.org/wiadomosc/protego-safe-czy-panstwo-zasluzy-na-zaufanie-obywateli

[EN Version] Panoptykon Fundation has written two articles about ProteGO. Both do not predict a good future for the application. https://panoptykon.org/wiadomosc/protego-safe-ministerstwo-cyfryzacji-znowu-sie-spieszy https://panoptykon.org/wiadomosc/protego-safe-czy-panstwo-zasluzy-na-zaufanie-obywateli

SeraMoon commented 4 years ago

Next article about "privacy" in ProteGO-Safe and a thread about WebView and PWA. https://niebezpiecznik.pl/post/porazek-aplikacji-protego-safe-ciag-dalszy/

@Tarvald BTW. This time it is not me writing about lies. Satisfied?

KoderFPV commented 4 years ago

We have confirmed information that 4.2 update with offline PWA approach, will be in approx 10 days starting from now :) More detailed schedule very soon.

kwiszowaty commented 4 years ago

@Tarvald Just to be more precise: confirmation was made by minister Zagórski and @MateuszRomanow on our meeting at 08.06.2020. It was sait it will be 7-10 days (meaning 10 as maximum) and you even had a working PoC. Also during the official conference on the next day it was said that team is working days, nights and weekends to deliver the best solution.

Based on above my expectation is to get new release, without online PWA, not later than 22.06.2020 (in normal circumstances I wouldn't count Saturdays - but these are not normal and as you wrote in other post "every hour matters").

I'm not the only one waiting for this offline release (I believe you noted we are not pushing hard, just waiting to see it happen). Just a reminder: it is in your best interest to release it ASAP to gain credibility. It is in our best interest to get app that fulfills all statements you declared on conferences.

KoderFPV commented 4 years ago

@kwiszowaty Sure, fully understood. I think we can consider 10 days as a worst-case scenario. But we have to wait for a more detailed schedule from @MateuszRomanow

MateuszRomanow commented 4 years ago

@kwiszowaty I confirm our goal to release 4.2 update (with PWA offline) not later than 22.06.2020.

KoderFPV commented 4 years ago

@potiuk 4.2.0 wylądowało w sklepie play z offline PWA.

SeraMoon commented 4 years ago

@potiuk 4.2.0 wylądowało w sklepie play z offline PWA.

... bez audytu prywatności i bezpieczeństwa przeprowadzonych przed publicznym wydaniem aplikacji.