15 March 2021

2000 year old Greek automaton showed movement of starts and planets

 The Antikera mechanism was discovered in a ship wreck in 1901. It was split into 82 fragments, only a third of the original survings, including 30 corroded bronze gearwheels. Scientists have reconstructed the mechanism and published an article in Nature.

It calculated the ecliptic longi-tudes of the Moon, Sun and planets; the phase of the Moon; the Age of the Moon; the synodic phases of the planets; the excluded days of the Metonic Calendar; eclipses—possibilities, times, characteristics, years and the heliacal risings and settings of prominent stars and constellations; and the Olympiad cycle. It has a a ring system with nine outputs—Moon, Nodes, Mercury, Venus, Sun, Mars, Jupiter, Saturn and Date—carried by nested tubes with arms supporting the rings.

The top picture shows the reconstruction, the bottom picture the original findings:


10 February 2021

Major tech firms compromised by dependency confusion using public package distributions

Security researcher Alex Birsan found out that public software packages by private companies often also included links to dependencies to private packages. For example in a package.json file, with npm node.js dependecies from paypal, there was a list of dependencies, that did not exist as public packages.

He concluded that those packages must be paypal internal packages. Then he started crafting public packages with the same name containing malware.

And lo! the package builds at paypal mistakingly pulled in the public malware package.

He continued using the same technique on other comanies and other package distribution systems (Python and Ruby), infecting companies like Apple, Uber, Netflix, Microsoft and Tesla. He received about $150.000 in bug bounties.

The SonaType malware scanner detected the malware on the public server and added them to their malware detectors to protect their customers, but let Birsan continue his research for a while.

The attack is very similar to malware public packages that have names that are very similar to popular public packages, hoping to be picked up by accident.

Microsoft issued a paper with recommendations to mitigate the risks of working with public packages.