The Morning Poll: Will you look for alternative transport due to concerns about petrol prices?
Apple pushes Maps ads in free training-wheels business bundle
Apple has simplified its business services by combining and rebranding them, and is giving away the reformulated enterprise offering for free.…
CodeSOD: Development Tools
A few holiday seasons ago, Paul S was doing the requisite holiday shopping online, looking for those perfectly impersonal but mildly thoughtful gifts that many companies specialize in. This was one of the larger such vendors, well known for its fruit-filled gift baskets. As is not uncommon for our readers, when the site started misbehaving, he pulled up the dev tools. He didn't solve the problem, but he did learn a lot about how they were managing their API keys, as this was exposed to the client:
env: { APP_AUTH0_GUID: 'ctZZL1BqgKm9kBmDEKAjt0yBeQ47Cpwl XS0xxpLFS5g8o-EUpSu4fi9ecOqN19WnXn-EqI9yaupwme22bKuBd2jH3Kf3QngZ', APP_LOGGING_ENABLED: 'true', APP_LOGGING_SERVICE_PATH: 'r/api/logging/mbp-ui', REACT_APP_MBP_LOGGER_CONSOLE: 'ERROR', APP_TIQ_ACCOUNT: '1800flowers', APP_TIQ_PROFILE: 'full', APP_TIQ_ENV: 'prod', APP_PAYPAL_SDK_URL: 'https://www.paypal.com/sdk/js', APP_PAYPAL_CLIENT_ID: 'AcYrxrOkFwUnMKRoJmkOR0N6caopqRNqwNRxy6H-EvZ-IKUz22i-E0uT0uMT7JQZEC33Oy1HCNsgm_le', APP_PAYPAL_ENV: 'production', APP_PAYPAL_SOURCE: 'PWA', APP_VENMO_ENV: 'production', APP_VENMO_PROFILE_ID: '2705494007504552889', APP_AUTH_LOGIN_SOURCE: 'undefined', APP_SG_BASKET_SCRIPT: 'https://cdn2.smartgiftit.com/scripts/widgets/gift-basket.js', APP_AUTH_DOMAIN: 'login.celebrations.com', APP_AUTH_AUDIENCE: 'celebrations-prod.1800-flowers.auth0.com', APP_STATUS_BAR_ENABLED: 'true', APP_WALLET_ENABLED: 'true', APP_VERIFY_ADDRESS_HOST: 'api.edq.com', APP_VERIFY_ADDRESS_AUTH_TOKEN: '47d991c9-043e-4073-bee3-a5c8922baa3a', APP_FULLSTORY_ORG_ID: 'MXD30', APP_GRAPHQL_ENV: 'production', APP_VISA_CHECKOUT_API_KEY: 'B0LQRDVCE0LWKBHR880J14gCRlEjr_UqLhh6V-yYRAmcvD0W8' }I've gone ahead and mangled the keys, and given that this was a few holidays ago, I'd hope the retailer in question has fixed their website. But as you can see, it was pushing API keys for payment processors, along with potential authentication tokens and internal IDs. Now, I would hope most of these required additional authentication to be useful, and that a malicious actor couldn't do anything nasty with this information- but that's a dim hope. Even with the data exposed here, I wonder if someone could flip APP_PAYPAL_ENV to "development" or "test" and run some transactions through. Or do the same with Venmo.
This is a React app, based on some of the keys, using Graphql for communicating with the back end, and that hits at the fact that it's a single-page application. Probably, the developers were trying to build once for the web and for a "website bundled in an app" deployment for smart phones. And the result is that they weren't thinking about the distinction between "public" and "private" information- they had state to manage,so they managed it. By sending it to the client. Where anyone could see it. But it looked good, they shipped it, and they made sales, so everyone was happy.
For a time.
[Advertisement] Picking up NuGet is easy. Getting good at it takes time. Download our guide to learn the best practice of NuGet for the Enterprise.I'm A Celebrity bosses 'blame Janice Dickinson for horror fall' as ongoing row with ITV continues amid lawsuit
Fears months of roadworks in Benfleet will 'kill' local businesses
Kelly Osbourne reveals son Sidney, three, has conjunctivitis amid her shock split from fiancé Sid Wilson
World gripped by seven stolen dogs who escaped Chinese meat factory and moved in military-style formation to help each other walk ten miles home
Trump claims Iran agreed to give up nukes as his war chief Pete Hegseth fumes: 'He didn't want it to be settled'
How your valuables aren't even safe inside PIN-code lockers at your £300-a-month gym: Warning as brazen thieves target luxury fitness clubs for expensive watches
Top London chef who studied at Prue Leith school found murdered in derelict building after becoming homeless alcoholic, court hears
Jay-Z defends nepo baby daughter Blue Ivy's, 14, role on Beyonce's tour insisting 'not everything is just given to her'
Saudi Arabia presses Trump to continue Iran war amid 'historic opportunity' to reshape Middle East as UAE considers putting boots on the ground in Tehran
Revealed: Why many of the riders who deliver your gourmet takeaway are homeless and forced to eat THEIR dinner in a soup kitchen
Trump seeking one-month CEASEFIRE in Iran as 15-point peace plan is revealed
Primark's 'stunning' new summer wear collection fans 'love' all of
Just 1 in 4 are satisfied with the NHS - survey
Shop owner receives anonymous apology and £100 in cash 15 years after 'former foolish student' stole sign
Boy, 12, in court charged with sexual assault after woman in her 60s is found with serious injuries
Alibaba delivers RISC-V server chip optimized to run China’s top AI models
Alibaba has revealed a new server chip that it says is the most powerful processor ever to use the RISC-V instruction set.…