Giter VIP home page Giter VIP logo

pymk-inspector's People

Contributors

kash-hill avatar samatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pymk-inspector's Issues

Only works if Facebook is set to english, but doesn't check first

It took me some time to realize why no all suggestions were without mutual friends. Thought the parser had problems, when it only assumed a setting that not all might share.

Would be good to add to the instructions, that a specific language is expected (I'm now on english (US), don't know if the others would work). Would be even better if a check is made (i.e. headline is "People You May Know") and inform the user that the set language is not supported.

Scraping referral code

The friend requests page appears to have a referral code, fcref=jwl. This is likely some form of tracking of FB's end. It could lead to correlation of users of the pymk tool though. Remove if unnecessary.

Sort search issue

If you're using the search function and it doesn't match anything, it shows you all the people rather than none.

Credential Security

Uses keytar which stores the password on the OS's keychain. (GOOD)

No action required, just some praise.

Browser Automation - Web Perefences

These are a set of options that can be passed to BrowserWindow through Automatonic's Browser. These have really good secure defaults. The only explicit change would be to set sandbox to true. Everything else should be set by default.

  • Automantonic sets nodeIntegration to false by deafault (GOOD). Consider setting explicitly.
  • Set sandbox to true to sandbox the renderer.
  • Set contextIsolation to true to prevent FB from potentially interfering with the preload script (however, there is no preload script).
  • webSecurity has a secure default. Consider setting to explicitly to true.
  • allowRunningInsecureContent has a secure default. Consider setting explicitly to false.

Test to ensure hardening options do not break functionality.

Data Security - Encryption at rest

Consider encrypting user data on disk. The key could be derived from the user's Facebook password using (in order of consideration) Argon2, PBKDF2, scrypt, or bcrypt. If you held the data in memory, then when it was serialized to disk you could encrypt it with AES in CBC mode. On load, you could read from disk, decrypt, and then load to memory.

This could be a considerable undertaking given a lack of support in level-js and linvodb3 but we thought it worth mentioning if time permits.

How to get the raw data?

Hello,

I am interested in doing my own visualization of the collected data, but can not find any database in the App folder.
Where is the data stored? How do I get access?

Thank you in advance,
_pitscher

Recruitment note for footer

It would be nice if we could get a few people to be guinea pigs in future experiments!

For that footer:

"Did you find someone noteworthy? Or do you want to be part of an experiment run by Gizmodo?Contact us at [email protected]"

Potential Bug in Background Scrape

utils.js in initBackgroundScrape sets config without a creds child object. config is then passed to runScrape which accesses config.creds.username.

IPC fg-scrape sets arg to creds. Perhaps the background scrape will have problems if the user is logged out? After logging the session out through facebook, the scraper failed to login on the cronjob.

General Usage Issues

  • Did not scrape on the first try, I had some pending friend requests perhaps these interfered.
  • Once it ran successfully I still saw an empty view (It looks like the scraper hasn't run yet. ...). Review view updates on action completions to ensure the UI is updated when data is updated.
  • Successful background runs don't appear in the run log.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.