'Jarvis' brings AI to the Linux command line, without Iron Man

Microsoft's also advancing code cleanup tool DevSkim

Repo Roundup Welcome again to Repo Roundup, in which The Reg trawls online code repositories to let you know about the fun, the useful or the inexplicable.

This week, let's start with DevSkim from Microsoft, which quietly landed in public preview in mid-December.

DevSkim's aim is to help developers spot code errors that could be a security problem. It flags “potentially dangerous calls”, and “gives in-context advice” about how to fix them.

For example, if a developer defined MD5 as a hash, DevSkim would show a pop-up telling the user they're making a critical error, and suggest they change SHA-256 or SHA-512.

Microsoft's also been crafting plug-ins to add DevSkim to various development environments. Since DevSkim first landed, it's dropped repos for Visual Studio 2015 (on Windows 7 or later), Sublime Text (Windows, Mac OS and Linux), and VS Code (Windows, Mac OS and Linux).

Microsoft's DevSkim

A penguin as your PA

Of course you want to run a nothing-like-Siri personal assistant from the Linux command line, right? Right. So if you want to type “restaurants near me” at the CLI rather than in Google – and have the CLI open a suitable Google Maps page for you – Jarvis is here.

The video below tells all you need to know, and in the interests of authenticity, developer Sukeesh even retains his typos.

Youtube Video

Protect your USB

In the best traditions of CIA-style up-close-and-personal human intelligence, some of the hacks pushed out in Wikileaks' latest press release depended on physical access: to make 'em work you needed to get at the USB port, for example.

Robert Fisk has a contribution to the problem. While his “firewall for USB” won't help if you're being hit with a spanner, it could save you from a device that's got malware on it while it's still bubble-wrapped.

The project's called "USG" and is simple enough: a USB device plugs into and gets scanned for stuff like BadUSB. If you don't want to buy Fisk's hardware (NZ$80, US$60 or AU$74), there are DIY instructions for working with Olimex development boards.

As he notes in the technical discussion here, some of his functionality is still under active development. ®

Similar topics

Other stories you might like

  • Amazon warehouse staff granted second chance to vote for unionization

    US labor watchdog tosses previous failed result in the trash

    America's labor watchdog has given workers at Amazon’s warehouse in Bessemer, Alabama, another crack at voting for unionization after their first attempt failed earlier this year.

    “It is ordered that the election that commenced on February 8 is set aside, and a new election shall be conducted,” Lisa Henderson, regional director at the National Labor Relations Board, ruled [PDF] on Tuesday.

    “The National Labor Relations Board will conduct a second secret ballot election among the unit employees. Employees will vote whether they wish to be represented for purposes of collective bargaining by the Retail, Wholesale and Department Store Union.”

    Continue reading
  • It's the flu season – FluBot, that is: Surge of info-stealing Android malware detected

    And a bunch of bank-account-raiding trojans also identified

    FluBot, a family of Android malware, is circulating again via SMS messaging, according to authorities in Finland.

    The Nordic country's National Cyber Security Center (NCSC-FI) lately warned that scam messages written in Finnish are being sent in the hope that recipients will click the included link to a website that requests permission to install an application that's malicious.

    "The messages are written in Finnish," the NCSC-FI explained. "They are written without Scandinavian letters (å, ä and ö) and include, for example, the characters +, /, &, % and @ in illogical places in the text to make it more difficult for telecommunications operators to filter the messages. The theme of the text may be that the recipient has received a voicemail message or a message from their mobile operator."

    Continue reading
  • AsmREPL: Wing your way through x86-64 assembly language

    Assemblers unite

    Ruby developer and internet japester Aaron Patterson has published a REPL for 64-bit x86 assembly language, enabling interactive coding in the lowest-level language of all.

    REPL stands for "read-evaluate-print loop", and REPLs were first seen in Lisp development environments such as Lisp Machines. They allow incremental development: programmers can write code on the fly, entering expressions or blocks of code, having them evaluated – executed – immediately, and the results printed out. This was viable because of the way Lisp blurred the lines between interpreted and compiled languages; these days, they're a standard feature of most scripting languages.

    Patterson has previously offered ground-breaking developer productivity enhancements such as an analogue terminal bell and performance-enhancing firmware for the Stack Overflow keyboard. This only has Ctrl, C, and V keys for extra-easy copy-pasting, but Patterson's firmware removes the tedious need to hold control.

    Continue reading

Biting the hand that feeds IT © 1998–2021